↓ Перейти к основному содержимому
  1. Подборки/

awesome-python

·1331 слово·7 минут· loading · loading · · ·
Автор
Dominicus In

Источник: awesome-python — синхронизируется из внешнего репозитория как sparse-субмодуль (только список).

An opinionated guide to the best Python frameworks, libraries, and tools.

Visit the website to search and filter projects more easily.

Sponsors
#

  • iPulse AI - Open Agentic Investment Research Platform. Inspect deep multi-agent market forecasts and stock picks.

Sponsor slots open, from $99/month. The #10 most-starred repo on GitHub. Put your product in front of Python developers. Become a sponsor.

Categories
#

AI & ML

Web Development

HTTP & Scraping

Database & Storage

Data & Science

Developer Tools

DevOps

CLI & GUI

Text & Documents

Media

Python Language

Python Toolchain

Security

Other

Projects
#

AI & ML

AI and Agents
#

Libraries for building AI applications, LLM integrations, and autonomous agents.

  • Agent Skills
    • django-ai-plugins - Django backend agent skills for Django, DRF, Celery, and Django-specific code review.
    • scientific-agent-skills - Agent skills for scientific research and analysis with Python libraries like scikit-learn, polars, and biopython.
    • sentry-skills - Agent skills the Sentry team uses for code review, pull requests, and Django reviews.
    • trailofbits-skills - Security skills for vulnerability detection, auditing, and testing.
    • wshobson-agents - Plugins, agents, and skills for AI coding tools, including Python skills for testing, async, packaging, and uv.
  • Orchestration
    • langchain - A framework for building agents and LLM-powered applications.
    • langgraph - Low-level orchestration framework for building stateful, long-running LLM agents.
    • pydantic-ai - A Python agent framework for building generative AI applications with structured schemas.
    • crewai - A framework for orchestrating role-playing autonomous AI agents for collaborative task solving.
  • Vendor Agent SDKs
    • claude-agent-sdk - Anthropic’s Python SDK for building AI agents on Claude Code’s harness — custom tools, in-process MCP servers, hooks.
    • openai-agents - OpenAI’s framework for building and managing AI agents.
    • google-adk - Google’s code-first toolkit for building, evaluating, and deploying AI agents.
  • Model Context Protocol
    • mcp - The official Python SDK for building Model Context Protocol servers and clients.
    • fastmcp - A high-level, Pythonic framework for building MCP servers and clients.
  • Personal Assistants
    • hermes-agent - An adaptive personal AI assistant that grows with you.
    • AstrBot - A multi-platform AI assistant that connects LLMs to chat apps like Telegram, Slack, and QQ, extensible with Python plugins.
  • Prompt Optimization
    • dspy - A framework for programming, not prompting, language models.
  • Data Layer
    • instructor - A library for extracting structured data from LLMs, powered by Pydantic.
    • llama-index - A toolkit for building RAG pipelines and agents over your data.
    • mem0 - An intelligent memory layer for AI agents enabling personalized interactions.
    • openviking - A context database for AI agents that unifies memory, resources, and skills.
    • semantica - A graph-native context and knowledge layer for AI agents with reasoning, provenance, and governance.
  • Pre-trained Models
    • transformers - The model-definition framework for pretrained models in text, computer vision, audio, video, and multimodal tasks, for inference and training.
    • sentence-transformers - Compute embeddings, run retrieval, and rerank results with pretrained and fine-tuned models.
  • Local LLM Inference
    • ollama - Python client for Ollama, which downloads and runs open-weight LLMs locally.
    • llama-cpp-python - Python bindings for llama.cpp, for running GGUF models locally.
    • mlx-lm - Run and fine-tune large language models on Apple Silicon with MLX.
  • LLM Serving
    • vllm - A high-throughput and memory-efficient inference and serving engine for LLMs.
    • sglang - A high-performance serving framework for large language models and multimodal models.
    • deepinfer - DeepSeek’s production inference engine for DeepSeek models, with MoE expert parallelism.
  • LLM Gateways
    • litellm - Call 100+ LLMs using OpenAI format.
  • Image and Video Generation
    • diffusers - Pre-trained diffusion models for generating and editing images, audio, and video.
  • Fine-tuning
    • peft - A library for parameter-efficient fine-tuning of large pretrained models.
    • trl - A library for post-training transformer language models with SFT, DPO, GRPO, and other trainers.
    • unsloth - Faster, lower-memory LLM fine-tuning, as a Python library or a desktop app.
    • axolotl - A framework for fine-tuning and post-training large language models.
  • Speech
    • faster-whisper - A Whisper reimplementation on CTranslate2, up to 4 times faster than openai-whisper with less memory.
    • openai-whisper - A general-purpose automatic speech recognition model trained on 680k hours of multilingual and multitask supervised data.
    • gTTS - Python library and CLI tool for converting text to speech using Google Translate TTS.
    • funasr - Industrial-grade speech recognition toolkit with speaker diarization and emotion detection.

Deep Learning
#

Frameworks for Neural Networks and Deep Learning. Also see awesome-deep-learning.

  • Frameworks
    • pytorch - Tensors and Dynamic neural networks in Python with strong GPU acceleration.
    • pytorch-lightning - Deep learning framework to train, deploy, and ship AI products Lightning fast.
    • jax - A library for high-performance numerical computing with autodiff and JIT compilation.
    • keras - A high-level deep learning library with support for JAX, TensorFlow, and PyTorch backends.
    • tensorflow - An end-to-end machine learning platform from Google.
  • Reinforcement Learning
    • gymnasium - A standard API for reinforcement learning environments with popular reference environments (gym successor).
    • stable-baselines3 - PyTorch implementations of Stable Baselines (deep) reinforcement learning algorithms.

Machine Learning
#

Libraries for Machine Learning. Also see awesome-machine-learning.

  • General
    • scikit-learn - The most popular Python library for Machine Learning with extensive documentation and community support.
    • imbalanced-learn - Resampling techniques for imbalanced datasets, compatible with scikit-learn.
    • pgmpy - A Python library for causal and probabilistic reasoning with graphical models.
    • feature-engine - sklearn compatible API with the widest toolset for feature engineering and selection.
  • Gradient Boosting
    • xgboost - A scalable, portable, and distributed gradient boosting library.
    • lightgbm - A fast, distributed, high performance gradient boosting framework.
    • catboost - A fast, scalable, high performance gradient boosting on decision trees library.
  • Time Series Forecasting
    • prophet - A tool for producing forecasts for time series with multiple seasonality and trend changes.
    • statsforecast - Fast statistical forecasting models such as ARIMA, ETS, and Theta, compiled with numba.
    • sktime - A unified scikit-learn-style framework for forecasting and other time-series learning tasks.
    • timesfm - A pretrained foundation model from Google Research for time-series forecasting, with non-commercial default weights.
  • Hyperparameter Optimization
    • optuna - A hyperparameter optimization framework with define-by-run search spaces and pruning of unpromising trials.
    • hyperopt - Distributed asynchronous hyperparameter optimization with Tree-structured Parzen Estimators.

Natural Language Processing
#

Libraries for working with human languages.

  • General
    • nltk - A leading platform for building Python programs to work with human language data.
    • spacy - A library for industrial-strength natural language processing in Python and Cython.
    • gensim - Topic Modeling for Humans.
    • stanza - The Stanford NLP Group’s official Python library, supporting 60+ languages.
  • Chinese
    • jieba - The most popular Chinese text segmentation library.
    • pypinyin - Convert Chinese hanzi (漢字) to pinyin (拼音).
    • OpenCC - Traditional/Simplified Chinese conversion with regional variants and phrase-level rules.
    • pangu.py - Paranoid text spacing.

Computer Vision
#

Libraries for image and video analysis, object detection, and OCR.

  • General
    • opencv-python - Open Source Computer Vision Library.
    • ultralytics - Ultralytics YOLO for object detection, segmentation, pose estimation, classification, and tracking.
    • kornia - Open Source Differentiable Computer Vision Library for PyTorch.
    • fiftyone - The open-source tool for building high-quality datasets and computer vision models.
  • OCR

Recommender Systems
#

Libraries for building recommender systems.

…превью ограничено; полный список — в репозитории.