best-of-ml-python

lukasmasuch / best-of-ml-python

每周更新的机器学习 Python 库精选排名清单,帮助开发者快速发现优质库。

数据科学 开发工具 机器学习 Python库 精选列表 每周更新 资源推荐

为什么值得看

编辑点评

类似 awesome 列表但带排名,节省筛选时间,适合需要选型参考的 ML 开发者。覆盖范围广,但排名偏主观,建议结合项目实际需求验证。

Star 趋势

近 7 日
  • Star 总数23,807
  • 今日新增+0
  • 7 日增速-100%
  • Fork3,155

同类项目

同场景 · 数据科学 / 开发工具

项目文档

来自 GitHub README · main 分支

Best-of Machine Learning with Python

🏆  A ranked list of awesome machine learning Python libraries. Updated weekly.

This curated list contains 920 awesome open-source projects with a total of 5.1M stars grouped into 34 categories. All projects are ranked by a project-quality score, which is calculated based on various metrics automatically collected from GitHub and different package managers. If you like to add or update projects, feel free to open an issue, submit a pull request, or directly edit the projects.yaml. Contributions are very welcome!


🧙‍♂️  Discover other best-of lists or create your own.
📫  Subscribe to our newsletter for updates and trending projects.


Contents

Explanation

  • 🥇🥈🥉  Combined project-quality score
  • ⭐️  Star count from GitHub
  • 🐣  New project (less than 6 months old)
  • 💤  Inactive project (6 months no activity)
  • 💀  Dead project (12 months no activity)
  • 📈📉  Project is trending up or down
  • ➕  Project was recently added
  • ❗️  Warning (e.g. missing/risky license)
  • 👨‍💻  Contributors count from GitHub
  • 🔀  Fork count from GitHub
  • 📋  Issue count from GitHub
  • ⏱️  Last update timestamp on package manager
  • 📥  Download count from package manager
  • 📦  Number of dependent projects
  •   Tensorflow related project
  •   Sklearn related project
  •   PyTorch related project
  •   MxNet related project
  •   Apache Spark related project
  •   Jupyter related project
  •   PaddlePaddle related project
  •   Pandas related project
  •   Jax related project

Machine Learning Frameworks

General-purpose machine learning and deep learning frameworks.

Tensorflow (🥇56 · ⭐ 200K) - An Open Source Machine Learning Framework for Everyone. Apache-2
  • GitHub (👨‍💻 5K · 🔀 75K · 📦 540K · 📋 42K - 4% open · ⏱️ 30.10.2025):

    git clone https://github.com/tensorflow/tensorflow - PyPi (📥 26M / month · 📦 9.6K · ⏱️ 13.08.2025): pip install tensorflow - Conda (📥 6M · ⏱️ 27.10.2025): conda install -c conda-forge tensorflow - Docker Hub (📥 81M · ⭐ 2.8K · ⏱️ 30.10.2025): docker pull tensorflow/tensorflow

PyTorch (🥇56 · ⭐ 94K) - Tensors and Dynamic neural networks in Python with strong GPU.. BSD-3
  • GitHub (👨‍💻 6K · 🔀 26K · 📥 110K · 📦 830K · 📋 56K - 30% open · ⏱️ 30.10.2025):

    git clone https://github.com/pytorch/pytorch - PyPi (📥 70M / month · 📦 30K · ⏱️ 15.10.2025): pip install torch - Conda (📥 29M · ⏱️ 25.03.2025): conda install -c pytorch pytorch

scikit-learn (🥇53 · ⭐ 64K) - scikit-learn: machine learning in Python. BSD-3
  • GitHub (👨‍💻 3.4K · 🔀 26K · 📥 1.1K · 📦 1.3M · 📋 12K - 17% open · ⏱️ 30.10.2025):

    git clone https://github.com/scikit-learn/scikit-learn - PyPi (📥 140M / month · 📦 35K · ⏱️ 09.09.2025): pip install scikit-learn - Conda (📥 40M · ⏱️ 09.09.2025): conda install -c conda-forge scikit-learn

Keras (🥇50 · ⭐ 64K) - Deep Learning for humans. Apache-2
  • GitHub (👨‍💻 1.4K · 🔀 20K · 📦 300K · 📋 13K - 2% open · ⏱️ 30.10.2025):

    git clone https://github.com/keras-team/keras - PyPi (📥 19M / month · 📦 2K · ⏱️ 27.10.2025): pip install keras - Conda (📥 4.5M · ⏱️ 28.10.2025): conda install -c conda-forge keras

XGBoost (🥇46 · ⭐ 28K) - Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or.. Apache-2
  • GitHub (👨‍💻 670 · 🔀 8.8K · 📥 20K · 📦 170K · 📋 5.6K - 8% open · ⏱️ 30.10.2025):

    git clone https://github.com/dmlc/xgboost - PyPi (📥 31M / month · 📦 2.9K · ⏱️ 21.10.2025): pip install xgboost - Conda (📥 6.6M · ⏱️ 16.09.2025): conda install -c conda-forge xgboost

PaddlePaddle (🥇46 · ⭐ 23K) - PArallel Distributed Deep LEarning: Machine Learning.. Apache-2
  • GitHub (👨‍💻 1.5K · 🔀 5.9K · 📥 15K · 📦 8.8K · 📋 20K - 8% open · ⏱️ 30.10.2025):

    git clone https://github.com/PaddlePaddle/Paddle - PyPi (📥 1.6M / month · 📦 280 · ⏱️ 30.10.2025): pip install paddlepaddle

jax (🥇45 · ⭐ 34K) - Composable transformations of Python+NumPy programs: differentiate,.. Apache-2
  • GitHub (👨‍💻 980 · 🔀 3.2K · 📦 47K · 📋 6.6K - 24% open · ⏱️ 30.10.2025):

    git clone https://github.com/google/jax - PyPi (📥 12M / month · 📦 3.1K · ⏱️ 15.10.2025): pip install jax - Conda (📥 3.2M · ⏱️ 06.10.2025): conda install -c conda-forge jaxlib

pytorch-lightning (🥇45 · ⭐ 30K) - Pretrain, finetune ANY AI model of ANY size on 1 or.. Apache-2
  • GitHub (👨‍💻 1K · 🔀 3.6K · 📥 15K · 📦 48K · 📋 7.4K - 11% open · ⏱️ 29.10.2025):

    git clone https://github.com/Lightning-AI/lightning - PyPi (📥 9.8M / month · 📦 1.8K · ⏱️ 05.09.2025): pip install pytorch-lightning - Conda (📥 1.7M · ⏱️ 05.09.2025): conda install -c conda-forge pytorch-lightning

StatsModels (🥇45 · ⭐ 11K) - Statsmodels: statistical modeling and econometrics in Python. BSD-3
  • GitHub (👨‍💻 470 · 🔀 3.3K · 📥 36 · 📦 180K · 📋 5.8K - 50% open · ⏱️ 22.10.2025):

    git clone https://github.com/statsmodels/statsmodels - PyPi (📥 24M / month · 📦 5.6K · ⏱️ 07.07.2025): pip install statsmodels - Conda (📥 22M · ⏱️ 01.10.2025): conda install -c conda-forge statsmodels

PySpark (🥈44 · ⭐ 42K) - Apache Spark Python API. Apache-2
  • GitHub (👨‍💻 3.3K · 🔀 29K · ⏱️ 30.10.2025):

    git clone https://github.com/apache/spark - PyPi (📥 47M / month · 📦 2.1K · ⏱️ 30.10.2025): pip install pyspark - Conda (📥 4.2M · ⏱️ 08.09.2025): conda install -c conda-forge pyspark

LightGBM (🥈42 · ⭐ 18K) - A fast, distributed, high performance gradient boosting (GBT, GBDT, GBRT,.. MIT
  • GitHub (👨‍💻 330 · 🔀 3.9K · 📥 310K · 📦 56K · 📋 3.6K - 12% open · ⏱️ 28.10.2025):

    git clone https://github.com/microsoft/LightGBM - PyPi (📥 11M / month · 📦 1.6K · ⏱️ 15.02.2025): pip install lightgbm - Conda (📥 4.1M · ⏱️ 20.10.2025): conda install -c conda-forge lightgbm

Catboost (🥈42 · ⭐ 8.6K) - A fast, scalable, high performance Gradient Boosting on Decision.. Apache-2
  • GitHub (👨‍💻 1.4K · 🔀 1.2K · 📥 460K · 📦 19 · 📋 2.5K - 25% open · ⏱️ 30.10.2025):

    git clone https://github.com/catboost/catboost - PyPi (📥 5.1M / month · 📦 650 · ⏱️ 13.04.2025): pip install catboost - Conda (📥 2.2M · ⏱️ 09.08.2025): conda install -c conda-forge catboost

Fastai (🥈41 · ⭐ 28K) - The fastai deep learning library. Apache-2
  • GitHub (👨‍💻 680 · 🔀 7.6K · 📦 23K · 📋 1.9K - 14% open · ⏱️ 26.10.2025):

    git clone https://github.com/fastai/fastai - PyPi (📥 640K / month · 📦 340 · ⏱️ 26.10.2025): pip install fastai

PyFlink (🥈39 · ⭐ 25K) - Apache Flink Python API. Apache-2
  • GitHub (👨‍💻 2.1K · 🔀 14K · 📦 21 · ⏱️ 30.10.2025):

    git clone https://github.com/apache/flink - PyPi (📥 450K / month · 📦 38 · ⏱️ 28.10.2025): pip install apache-flink

Flax (🥈38 · ⭐ 6.9K) - Flax is a neural network library for JAX that is designed for.. Apache-2
  • GitHub (👨‍💻 280 · 🔀 740 · 📥 61 · 📦 15K · 📋 1.3K - 33% open · ⏱️ 27.10.2025):

    git clone https://github.com/google/flax - PyPi (📥 2M / month · 📦 740 · ⏱️ 25.09.2025): pip install flax - Conda (📥 130K · ⏱️ 27.10.2025): conda install -c conda-forge flax

Ignite (🥈36 · ⭐ 4.7K) - High-level library to help with training and evaluating neural.. BSD-3
  • GitHub (👨‍💻 1K · 🔀 660 · 📦 3.9K · 📋 1.4K - 10% open · ⏱️ 16.10.2025):

    git clone https://github.com/pytorch/ignite - PyPi (📥 170K / month · 📦 120 · ⏱️ 30.10.2025): pip install pytorch-ignite - Conda (📥 250K · ⏱️ 16.10.2025): conda install -c pytorch ignite

einops (🥈35 · ⭐ 9.2K) - Flexible and powerful tensor operations for readable and reliable code.. MIT
  • GitHub (👨‍💻 34 · 🔀 380 · 📦 82K · 📋 200 - 17% open · ⏱️ 12.08.2025):

    git clone https://github.com/arogozhnikov/einops - PyPi (📥 15M / month · 📦 2.6K · ⏱️ 09.02.2025): pip install einops - Conda (📥 470K · ⏱️ 22.04.2025): conda install -c conda-forge einops

ivy (🥈34 · ⭐ 14K) - Convert Machine Learning Code Between Frameworks. Apache-2
  • GitHub (👨‍💻 1.5K · 🔀 5.6K · 📋 17K - 5% open · ⏱️ 10.10.2025):

    git clone https://github.com/unifyai/ivy - PyPi (📥 33K / month · 📦 16 · ⏱️ 16.06.2025): pip install ivy

Jina (🥈33 · ⭐ 22K · 💤) - Build multimodal AI applications with cloud-native stack. Apache-2
  • GitHub (👨‍💻 180 · 🔀 2.2K · ⏱️ 24.03.2025):

    git clone https://github.com/jina-ai/jina - PyPi (📥 120K / month · 📦 29 · ⏱️ 24.03.2025): pip install jina - Conda (📥 110K · ⏱️ 22.04.2025): conda install -c conda-forge jina-core - Docker Hub (📥 1.8M · ⭐ 9 · ⏱️ 24.03.2025): docker pull jinaai/jina

mlpack (🥈33 · ⭐ 5.5K) - mlpack: a fast, header-only C++ machine learning library. BSD-3
  • GitHub (👨‍💻 340 · 🔀 1.7K · 📋 1.7K - 1% open · ⏱️ 27.10.2025):

    git clone https://github.com/mlpack/mlpack - PyPi (📥 4.7K / month · 📦 6 · ⏱️ 22.05.2025): pip install mlpack - Conda (📥 410K · ⏱️ 22.04.2025): conda install -c conda-forge mlpack

Thinc (🥈33 · ⭐ 2.9K · 💤) - A refreshing functional take on deep learning, compatible with your.. MIT
  • GitHub (👨‍💻 67 · 🔀 280 · 📥 2K · 📦 70K · 📋 160 - 14% open · ⏱️ 07.03.2025):

    git clone https://github.com/explosion/thinc - PyPi (📥 17M / month · 📦 160 · ⏱️ 04.04.2025): pip install thinc - Conda (📥 3.9M · ⏱️ 06.07.2025): conda install -c conda-forge thinc

Ludwig (🥉32 · ⭐ 12K · 💤) - Low-code framework for building custom LLMs, neural networks,.. Apache-2
  • GitHub (👨‍💻 160 · 🔀 1.2K · 📦 340 · 📋 1.1K - 4% open · ⏱️ 17.10.2024):

    git clone https://github.com/ludwig-ai/ludwig - PyPi (📥 3.8K / month · 📦 6 · ⏱️ 30.07.2024): pip install ludwig

skorch (🥉32 · ⭐ 6.1K) - A scikit-learn compatible neural network library that wraps.. BSD-3
  • GitHub (👨‍💻 68 · 🔀 400 · 📦 1.7K · 📋 540 - 12% open · ⏱️ 23.10.2025):

    git clone https://github.com/skorch-dev/skorch - PyPi (📥 150K / month · 📦 110 · ⏱️ 08.08.2025): pip install skorch - Conda (📥 810K · ⏱️ 08.08.2025): conda install -c conda-forge skorch

Sonnet (🥉31 · ⭐ 9.9K) - TensorFlow-based neural network library. Apache-2
  • GitHub (👨‍💻 61 · 🔀 1.3K · 📦 1.5K · 📋 190 - 16% open · ⏱️ 04.08.2025):

    git clone https://github.com/deepmind/sonnet - PyPi (📥 35K / month · 📦 19 · ⏱️ 02.01.2024): pip install dm-sonnet - Conda (📥 47K · ⏱️ 22.04.2025): conda install -c conda-forge sonnet

Haiku (🥉31 · ⭐ 3.1K · 📉) - JAX-based neural network library. Apache-2
  • GitHub (👨‍💻 90 · 🔀 260 · 📦 2.6K · 📋 250 - 29% open · ⏱️ 29.09.2025):

    git clone https://github.com/deepmind/dm-haiku - PyPi (📥 260K / month · 📦 200 · ⏱️ 18.09.2025): pip install dm-haiku - Conda (📥 44K · ⏱️ 19.09.2025): conda install -c conda-forge dm-haiku

tensorflow-upstream (🥉31 · ⭐ 700) - TensorFlow ROCm port. Apache-2
  • GitHub (👨‍💻 5K · 🔀 100 · 📥 31 · 📋 400 - 3% open · ⏱️ 29.10.2025):

    git clone https://github.com/ROCmSoftwarePlatform/tensorflow-upstream - PyPi (📥 1.7K / month · 📦 9 · ⏱️ 10.01.2024): pip install tensorflow-rocm

Geomstats (🥉30 · ⭐ 1.4K) - Computations and statistics on manifolds with geometric structures. MIT
  • GitHub (👨‍💻 97 · 🔀 260 · 📦 150 · 📋 570 - 36% open · ⏱️ 06.10.2025):

    git clone https://github.com/geomstats/geomstats - PyPi (📥 15K / month · 📦 12 · ⏱️ 09.09.2024): pip install geomstats - Conda (📥 8.2K · ⏱️ 22.04.2025): conda install -c conda-forge geomstats

pyRiemann (🥉28 · ⭐ 700) - Machine learning for multivariate data through the Riemannian.. BSD-3
  • GitHub (👨‍💻 38 · 🔀 170 · 📦 480 · 📋 110 - 2% open · ⏱️ 29.10.2025):

    git clone https://github.com/pyRiemann/pyRiemann - PyPi (📥 75K / month · 📦 31 · ⏱️ 23.07.2025): pip install pyriemann - Conda (📥 16K · ⏱️ 23.07.2025): conda install -c conda-forge pyriemann

NuPIC (🥉27 · ⭐ 6.4K · 💤) - Numenta Platform for Intelligent Computing is an implementation of.. MIT
  • GitHub (👨‍💻 120 · 🔀 1.5K · 📥 26 · 📦 21 · 📋 1.8K - 25% open · ⏱️ 03.12.2024):

    git clone https://github.com/numenta/nupic - PyPi (📥 510 / month · ⏱️ 01.09.2016): pip install nupic

Determined (🥉26 · ⭐ 3.2K · 💤) - Determined is an open-source machine learning.. Apache-2
  • GitHub (👨‍💻 120 · 🔀 360 · 📥 7.8K · 📋 450 - 22% open · ⏱️ 20.03.2025):

    git clone https://github.com/determined-ai/determined - PyPi (📥 33K / month · 📦 4 · ⏱️ 19.03.2025): pip install determined

Neural Network Libraries (🥉26 · ⭐ 2.8K) - Neural Network Libraries. Apache-2
  • GitHub (👨‍💻 76 · 🔀 340 · 📥 1K · 📋 95 - 36% open · ⏱️ 29.08.2025):

    git clone https://github.com/sony/nnabla - PyPi (📥 1.6K / month · 📦 44 · ⏱️ 29.05.2024): pip install nnabla

deepinv (🥉26 · ⭐ 540) - DeepInverse: a PyTorch library for solving imaging inverse problems.. BSD-3
  • GitHub (👨‍💻 53 · 🔀 120 · 📥 24 · 📦 23 · 📋 350 - 33% open · ⏱️ 29.10.2025):

    git clone https://github.com/deepinv/deepinv - PyPi (📥 2.4K / month · ⏱️ 08.10.2025): pip install deepinv

Towhee (🥉23 · ⭐ 3.4K · 💤) - Towhee is a framework that is dedicated to making neural data.. Apache-2
  • GitHub (👨‍💻 38 · 🔀 260 · 📥 2.7K · 📋 670 - 0% open · ⏱️ 18.10.2024):

    git clone https://github.com/towhee-io/towhee - PyPi (📥 1.3K / month · ⏱️ 04.12.2023): pip install towhee

fklearn (🥉22 · ⭐ 1.5K) - fklearn: Functional Machine Learning. Apache-2
  • GitHub (👨‍💻 56 · 🔀 170 · 📦 16 · 📋 64 - 60% open · ⏱️ 23.04.2025):

    git clone https://github.com/nubank/fklearn - PyPi (📥 750 / month · ⏱️ 26.02.2025): pip install fklearn

Runhouse (🥉21 · ⭐ 1.1K) - Distribute and run AI workloads magically in Python, like PyTorch.. Apache-2
  • GitHub (👨‍💻 16 · 🔀 41 · 📥 79 · ⏱️ 29.10.2025):

    git clone https://github.com/run-house/runhouse - PyPi (📥 4.5K / month · 📦 1 · ⏱️ 10.03.2025): pip install runhouse

NeoML (🥉19 · ⭐ 790) - Machine learning framework for both deep learning and traditional.. Apache-2
  • GitHub (👨‍💻 41 · 🔀 130 · 📦 2 · 📋 91 - 40% open · ⏱️ 28.10.2025):

    git clone https://github.com/neoml-lib/neoml - PyPi (📥 190 / month · ⏱️ 26.12.2023): pip install neoml

chefboost (🥉19 · ⭐ 480) - A Lightweight Decision Tree Framework supporting regular algorithms:.. MIT
  • GitHub (👨‍💻 7 · 🔀 100 · 📦 72 · ⏱️ 09.07.2025):

    git clone https://github.com/serengil/chefboost - PyPi (📥 770 / month · ⏱️ 30.10.2024): pip install chefboost

ThunderGBM (🥉18 · ⭐ 710 · 💤) - ThunderGBM: Fast GBDTs and Random Forests on GPUs. Apache-2
  • GitHub (👨‍💻 12 · 🔀 88 · 📦 4 · 📋 81 - 48% open · ⏱️ 19.03.2025):

    git clone https://github.com/Xtra-Computing/thundergbm - PyPi (📥 220 / month · ⏱️ 19.09.2022): pip install thundergbm

Show 26 hidden projects...
  • dlib (🥈40 · ⭐ 14K) - A toolkit for making real world machine learning and data analysis.. ❗️BSL-1.0
  • MXNet (🥈38 · ⭐ 21K · 💀) - Lightweight, Portable, Flexible Distributed/Mobile Deep.. Apache-2
  • Theano (🥈37 · ⭐ 10K · 💀) - Theano was a Python library that allows you to define, optimize, and.. BSD-3
  • MindsDB (🥈33 · ⭐ 37K) - Federated query engine for AI - The only MCP Server youll ever need. ❗️ICU
  • Vowpal Wabbit (🥈33 · ⭐ 8.6K · 💀) - Vowpal Wabbit is a machine learning system which pushes the.. BSD-3
  • Chainer (🥈33 · ⭐ 5.9K · 💀) - A flexible framework of neural networks for deep learning. MIT
  • Turi Create (🥉32 · ⭐ 11K · 💀) - Turi Create simplifies the development of custom machine.. BSD-3
  • tensorpack (🥉32 · ⭐ 6.3K · 💀) - A Neural Net Training Interface on TensorFlow, with.. Apache-2
  • TFlearn (🥉31 · ⭐ 9.6K · 💀) - Deep learning library featuring a higher-level API for TensorFlow. MIT
  • dyNET (🥉31 · ⭐ 3.4K · 💀) - DyNet: The Dynamic Neural Network Toolkit. Apache-2
  • CNTK (🥉29 · ⭐ 18K · 💀) - Microsoft Cognitive Toolkit (CNTK), an open source deep-learning toolkit. MIT
  • Lasagne (🥉28 · ⭐ 3.9K · 💀) - Lightweight library to build and train neural networks in Theano. MIT
  • SHOGUN (🥉26 · ⭐ 3.1K · 💀) - Unified and efficient Machine Learning. BSD-3
  • ktrain (🥉26 · ⭐ 1.3K · 💀) - ktrain is a Python library that makes deep learning and AI.. Apache-2
  • NeuPy (🥉25 · ⭐ 740 · 💀) - NeuPy is a Tensorflow based python library for prototyping and building.. MIT
  • xLearn (🥉24 · ⭐ 3.1K · 💀) - High performance, easy-to-use, and scalable machine learning (ML).. Apache-2
  • EvaDB (🥉24 · ⭐ 2.7K · 💀) - Database system for AI-powered apps. Apache-2
  • neon (🥉22 · ⭐ 3.9K · 💀) - Intel Nervana reference deep learning framework committed to best.. Apache-2
  • ThunderSVM (🥉22 · ⭐ 1.6K · 💀) - ThunderSVM: A Fast SVM Library on GPUs and CPUs. Apache-2
  • Torchbearer (🥉22 · ⭐ 640 · 💀) - torchbearer: A model fitting library for PyTorch. MIT
  • mace (🥉21 · ⭐ 5K · 💀) - MACE is a deep learning inference framework optimized for mobile.. Apache-2
  • Neural Tangents (🥉21 · ⭐ 2.4K · 💀) - Fast and Easy Infinite Neural Networks in Python. Apache-2
  • Objax (🥉20 · ⭐ 770 · 💀) - Objax is a machine learning framework that provides an Object.. Apache-2
  • elegy (🥉19 · ⭐ 480 · 💀) - A High Level API for Deep Learning in JAX. MIT
  • StarSpace (🥉16 · ⭐ 4K · 💀) - Learning embeddings for classification, retrieval and ranking. MIT
  • nanodl (🥉14 · ⭐ 300 · 💀) - A Jax-based library for building transformers, includes.. MIT

README 内容较长,此处已截断,完整内容请查看 GitHub 仓库。

文档抓取自 GitHub 仓库 README,版权归原作者所有;已过滤徽章等噪音并经安全消毒后展示。