高质量Python包存档

zxl19 2023-03-28

一些高质量Python包存档。

包管理

基于pip

不要给我讲什么docker容器、miniconda,老夫写python就是一把梭!
pip install,pip uninstall,拿起pip就是干!
赢了安装新库,输了系统重装!
  1. pypa/pip
  2. tox-dev/pipdeptree
  3. damnever/pigar

依赖项管理

  1. python-poetry/poetry
  2. pypa/pipenv
  3. mitsuhiko/rye
  4. astral-sh/uv
  5. pdm-project/pdm
  6. pypa/hatch

虚拟环境管理

  1. venv
  2. conda/conda
  3. conda-forge/miniforge
  4. pyenv/pyenv
  5. pypa/pipx
  6. pyenv/pyenv-virtualenv
  7. pypa/virtualenv

项目模板

  1. cookiecutter/cookiecutter
  2. pyscaffold/pyscaffold
  3. copier-org/copier

项目管理

  1. python-attrs/attrs
  2. python-attrs/cattrs
  3. python-rope/rope
  4. mitmproxy/pdoc
  5. pybuilder/pybuilder

打包

  1. pyinstaller/pyinstaller
  2. Nuitka/Nuitka
  3. brentvollebregt/auto-py-to-exe
  4. marcelotduarte/cx_Freeze
  5. takluyver/pynsist
  6. py2exe/py2exe
  7. ronaldoussoren/py2app

交互式解释器

  1. ipython/ipython
  2. prompt-toolkit/ptpython
  3. bpython/bpython

函数装饰器

  1. litl/backoff
  2. tkem/cachetools
  3. madisonmay/Tomorrow
  4. snoack/python-goto
  5. invl/retry
  6. life4/deal
  7. pnpnpn/timeout-decorator
  8. python-cachier/cachier
  9. mgedmin/profilehooks
  10. kata198/func_timeout
  11. tantale/deprecated

标准库扩展

  1. mahmoud/boltons
  2. pytoolz/toolz
  3. grantjenks/python-sortedcontainers
  4. ilanschnell/bitarray
  5. WoLpH/numpy-stl
  6. gvinciguerra/PyGM

文件和系统

  1. os
  2. pathlib
  3. shutil
  4. giampaolo/psutil
  5. gorakhargosh/watchdog
  6. tox-dev/filelock
  7. mikeorr/unipath

文件压缩

  1. Data Compression and Archiving
  2. sandes/zipfly
  3. indygreg/python-zstandard
  4. miurahr/py7zr
  5. Blosc/python-blosc
  6. python-lz4/python-lz4
  7. sergey-dryabzhinsky/python-zstd

日期时间

  1. time
  2. datetime
  3. arrow-py/arrow
  4. sdispater/pendulum
  5. python-babel/babel
  6. LKI/chinese-calendar

参数读取

命令行参数

  1. argparse
  2. google/python-fire
  3. pallets/click
  4. abseil/abseil-py
  5. kislyuk/argcomplete
  6. google/python-gflags

配置文件参数

.ini文件

  1. configparser
  2. pyscaffold/configupdater

.yaml文件

  1. yaml/pyyaml

.toml文件

  1. uiri/toml
  2. sdispater/tomlkit
  3. hukkin/tomli
  4. bobfang1992/pytomlpp

其他类型

  1. facebookresearch/hydra
  2. google/fiddle

数值运算

  1. numpy/numpy
  2. scipy/scipy
  3. sympy/sympy
  4. cupy/cupy
  5. cvxpy/cvxpy
  6. pydata/numexpr
  7. cvxopt/cvxopt

数据分析

表格数据分析

  1. csv
  2. pandas-dev/pandas
  3. h2oai/datatable
  4. petl-developers/petl
  5. tkrabel/bamboolib

数据清洗

  1. pydantic/pydantic
  2. ResidentMario/missingno
  3. akanz1/klib

数据集分析

  1. apache/superset
  2. holoviz/panel
  3. mito-ds/mito
  4. AutoViML/AutoViz

探索性数据分析

  1. great-expectations/great_expectations
  2. fbdesignpro/sweetviz
  3. sfu-db/dataprep

地理信息分析

  1. gboeing/osmnx
  2. geopandas/geopandas
  3. geopy/geopy
  4. jazzband/geojson

可视化

数据可视化

  1. matplotlib/matplotlib
  2. mwaskom/seaborn
  3. altair-viz/altair
  4. has2k1/plotnine
  5. bqplot/bqplot
  6. proplot-dev/proplot
  7. cutecharts/cutecharts.py
  8. moshi4/pyCirclize
  9. ponnhide/patchworklib
  10. astrofrog/fast-histogram
  11. amueller/word_cloud

交互式可视化

  1. plotly/dash
  2. bokeh/bokeh
  3. plotly/plotly.py
  4. pyecharts/pyecharts
  5. vispy/vispy
  6. mckinsey/vizro
  7. d3blocks/d3blocks

深度学习可视化

  1. fossasia/visdom
  2. lanpa/tensorboardX
  3. tensorflow/tensorboard
  4. DistrictDataLabs/yellowbrick
  5. facebookresearch/hiplot
  6. lucasjinreal/alfred

地理信息可视化

  1. visgl/deck.gl
  2. python-visualization/folium
  3. SciTools/cartopy
  4. matplotlib/basemap
  5. holoviz/geoviews

图论

图分析

  1. graphlib
  2. networkx/networkx
  3. igraph/python-igraph

图可视化

  1. xflr6/graphviz
  2. WestHealth/pyvis
  3. pydot/pydot
  4. pygraphviz/pygraphviz

命令行输出

输出样式

  1. Textualize/rich
  2. dylanaraps/pywal
  3. tartley/colorama
  4. sepandhaghighi/art
  5. r1chardj0n3s/parse
  6. chubin/pyphoon

进度条

  1. tqdm/tqdm
  2. rsalmei/alive-progress
  3. noamraph/tqdm
  4. verigak/progress
  5. wolph/python-progressbar
  6. NiltonVolpato/python-progressbar

表格

  1. astanin/python-tabulate
  2. jazzband/prettytable
  3. posit-dev/great-tables

可视化界面

  1. curses
  2. Textualize/textual
  3. chriskiehl/Gooey
  4. PySimpleGUI/PySimpleGUI
  5. hoffstadt/DearPyGui
  6. zauberzeug/nicegui
  7. PyQt5/PyQt
  8. beeware/toga
  9. urwid/urwid
  10. nucleic/enaml
  11. UmSenhorQualquer/pyforms
  12. fcollonval/matplotlib_qtquick_playground

调试工具

日志输出

  1. Delgan/loguru
  2. cool-RR/pysnooper
  3. gruns/icecream
  4. hynek/structlog
  5. onelivesleft/PrettyErrors
  6. laike9m/Cyberbrain

性能分析

  1. timeit
  2. gaogaotiantian/viztracer
  3. sumerc/yappi
  4. cpcloud/ipython-autotime

图像处理

  1. python-pillow/Pillow
  2. scikit-image/scikit-image
  3. opencv/opencv-python
  4. colour-science/colour

机器学习&深度学习

框架

  1. pytorch/pytorch
  2. tensorflow/tensorflow
  3. keras-team/keras
  4. scikit-learn/scikit-learn

基础任务

聚类

  1. EpistasisLab/tpot
  2. EpistasisLab/tpot2

回归

  1. ourownstory/neural_prophet
  2. shankarpandala/lazypredict

梯度下降

  1. dmlc/xgboost
  2. geohot/tinygrad
  3. pycaret/pycaret
  4. catboost/catboost
  5. karpathy/micrograd

自然语言处理

  1. explosion/spaCy
  2. sloria/TextBlob
  3. stanfordnlp/stanza
  4. life4/textdistance

大语言模型

  1. nebuly-ai/nebuly

数据增强

多模态数据

  1. facebookresearch/AugLy
  2. google-research/uda

图像数据

  1. aleju/imgaug
  2. albumentations-team/albumentations
  3. mdbloice/Augmentor

数据生成

  1. joke2k/faker
  2. lk-geimfari/mimesis

代码生成

  1. microsoft/lida
  2. visualpython/visualpython
  3. chapyter/chapyter

代码加速

即时编译

  1. google/jax
  2. numba/numba
  3. microsoft/Pyjion
  4. tonybaloney/Pyjion
  5. pytorch/torchdynamo

并行

  1. taichi-dev/taichi
  2. dask/dask
  3. modin-project/modin
  4. rapidsai/cudf
  5. joblib/joblib
  6. mars-project/mars
  7. fugue-project/fugue
  8. inducer/pycuda
  9. xorbitsai/xorbits

异步

  1. asyncio
  2. python-trio/trio
  3. omnilib/aiomultiprocess

语言性能

  1. cython/cython
  2. facebookincubator/cinder
  3. mozillazg/pypy

加密

  1. pyca/cryptography
  2. dashingsoft/pyarmor
  3. Legrandin/pycryptodome
  4. pycrypto/pycrypto

序列化

  1. pickle
  2. protocolbuffers/protobuf
  3. google/flatbuffers
  4. marshmallow-code/marshmallow
  5. ijl/orjson
  6. uqfoundation/dill

有限状态机

  1. pytransitions/transitions
  2. fgmacedo/python-statemachine
  3. glyph/automat
  4. jtushman/state_machine

通信

  1. zeromq/pyzmq
  2. codypiersall/pynng

分布式任务

  1. celery/celery

中文文本处理

  1. fxsjy/jieba
  2. isnowfy/snownlp
  3. mozillazg/python-pinyin
  4. lxneng/xpinyin
  5. vinta/pangu.py

文档处理

PDF

  1. py-pdf/pypdf
  2. pdfminer/pdfminer.six
  3. euske/pdfminer
  4. pymupdf/PyMuPDF
  5. jorisschellekens/borb
  6. pdfarranger/pdfarranger
  7. ArtifexSoftware/pdf2docx

Office文档

  1. python-openxml/python-docx
  2. unoconv/unoconv
  3. scanny/python-pptx
  4. dimastbk/python-calamine
  5. openpyxl/openpyxl

音视频编辑

音频编辑

  1. jiaaro/pydub
  2. librosa/librosa
  3. spatialaudio/python-sounddevice

视频编辑

  1. Zulko/moviepy
  2. kkroening/ffmpeg-python
  3. abhiTronix/vidgear

游戏开发

  1. pygame/pygame
  2. pythonarcade/arcade

二维码

  1. x-hw/amazing-qr
  2. lincolnloop/python-qrcode
  3. heuer/segno

盲水印

  1. guofei9987/blind_watermark
  2. guofei9987/text_blind_watermark

函数式编程

  1. evhub/coconut
  2. kachayev/fn.py
  3. EntilZha/PyFunctional

CAX

CAD

  1. evereux/pycatia

CAE

有限元

  1. firedrakeproject/firedrake
  2. kinnala/scikit-fem
  3. JWock82/PyNite
  4. robbievanleeuwen/section-properties
  5. weihuayi/fealpy
  6. AppliedMechanics-EAFIT/SolidsPy
  7. YaoyaoBae/Feon
  8. tjfulle/fem-with-python
  9. deepmodeling/jax-fem

动力学仿真

  1. viblo/pymunk
  2. pydy/pydy
  3. cdsousa/sympybotics

Git(包括Github)

  1. PyGithub/PyGithub
  2. gitpython-developers/GitPython
  3. libgit2/pygit2

参考

  1. 为什么有些人宁愿花费很多时间去自己手工配置Python环境, 也不用Anaconda?-知乎
  2. 一文解释conda,pip,anaconda,miniconda,miniforge-撒旦-cc的文章-知乎
  3. Anaconda商用要收费了怎么办?没关系,我们有miniforge-风影忍着的文章-知乎
  4. 哪些Python库让你相见恨晚?-Python小二的回答-知乎
  5. 哪些Python库让你相见恨晚?-Lingfeng Ai的回答-知乎
  6. 哪些Python库让你相见恨晚?-易执的回答-知乎
  7. 六种酷炫Python运行进度条-腾讯云
  8. 哪些命令行工具让你相见恨晚?-Python与数据挖掘的回答-知乎
  9. 哪些Python库让你相见恨晚?-高天的回答-知乎