Browse free open source Python Libraries and projects below. Use the toggles on the left to filter open source Python Libraries by OS, license, language, programming language, and project status.

  • $300 Free Credits to Build on Google Cloud Icon
    $300 Free Credits to Build on Google Cloud

    New customers can spin up VMs, build with AI, and query data at no cost.

    Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
    Start Free
  • 99.99% Uptime for MySQL and PostgreSQL Databases Icon
    99.99% Uptime for MySQL and PostgreSQL Databases

    Sub-second maintenance. 2x read/write performance. Built-in vector search for AI apps.

    Cloud SQL Enterprise Plus delivers near-zero downtime with 35 days of point-in-time recovery. Supports MySQL, PostgreSQL, and SQL Server.
    Start Free
  • 1
    Playground Cheatsheet for Python

    Playground Cheatsheet for Python

    Playground and cheatsheet for learning Python

    learn-python is another repository by Oleksii Trekhleb that serves as both a playground and an interactive cheatsheet for learning Python. It contains numerous Python scripts organized by topic (lists, dictionaries, loops, functions, classes, modules, etc.), each with code examples, explanations, test assertions, and links to further readings. The design supports “learn by doing”: you can modify the code, run the tests, see how behavior changes, and thus internalize Python language features, idioms, and good style practices (including linting and PEP8). Because it is organized in bite-sized chunks, it’s ideal for beginners or people refreshing their Python skills who want to revisit syntax and common patterns before moving into larger frameworks or applications. It also supports usage as a reference: if you forgot how a list comprehension works or how decorators behave, you can quickly open the relevant script.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 2
    Public APIs

    Public APIs

    A collective list of free APIs

    public-apis is a collaboratively maintained repository that provides an extensive, categorized list of publicly available APIs for developers. Curated by community contributors and the team at APILayer, it serves as a centralized resource for discovering APIs across a wide range of domains, including data, machine learning, weather, entertainment, and finance. The project aims to make API exploration and integration more accessible by offering a single, organized index of open and free-to-use APIs. Developers can leverage this list to enhance their products, prototypes, or research projects without the need to build data sources from scratch. The repository’s open nature encourages contributions, allowing anyone to submit new APIs or updates through pull requests. Over time, public-apis has evolved into a trusted and frequently updated reference point within the developer community. It also provides an active community space, including a Discord server.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 3
    PyPattyrn

    PyPattyrn

    A simple library for implementing common design patterns

    PyPattyrn is a Python package aiming to make it easier and faster to implement design patterns into your own projects. Design patterns by nature cannot be directly translated into code as they are just a description of how to solve a particular problem. However, many of the common design patterns have boilerplate code that is common throughout all implementations of the pattern. This package captures that common code and makes it easy to use so that you don't have to write it yourself in all your projects.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 4
    PyTorch Transfer-Learning-Library

    PyTorch Transfer-Learning-Library

    Transfer Learning Library for Domain Adaptation, Task Adaptation, etc.

    TLlib is an open-source and well-documented library for Transfer Learning. It is based on pure PyTorch with high performance and friendly API. Our code is pythonic, and the design is consistent with torchvision. You can easily develop new algorithms or readily apply existing algorithms. We appreciate all contributions. If you are planning to contribute back bug-fixes, please do so without any further discussion. If you plan to contribute new features, utility functions or extensions, please first open an issue and discuss the feature with us.
    Downloads: 1 This Week
    Last Update:
    See Project
  • Veeam Data Platform v13.1 - Get Your Free Trial Icon
    Veeam Data Platform v13.1 - Get Your Free Trial

    Secure by design, portable by default. Recover clean, fast, anywhere. Start a free trial.

    Try Veeam Data Platform today. Experience the unified platform that's secure by design, portable by default, and proven to recover clean, fast, and anywhere.
    Try it Free
  • 5
    Pyparsing

    Pyparsing

    Python library for creating PEG parsers

    pyparsing is a Python library that facilitates the creation of parsers using a parsing expression grammar (PEG) approach. It allows developers to construct grammars directly in Python code, offering an alternative to traditional parsing methods.​
    Downloads: 1 This Week
    Last Update:
    See Project
  • 6
    Pyrlang

    Pyrlang

    Erlang node implemented in Python 3.5+ (Asyncio-based)

    This is a drop-in Erlang node implementation in Python 3, implementing a network Erlang node protocol. It was designed to allow interoperation between existing Python projects and BEAM languages: Erlang, Elixir, Gleam, Luaerl, LFE, Clojerl, and such. With just a few lines of startup code your Python program becomes an Erlang network node, participating in the Erlang cluster.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 7

    Python Fire

    Automatically generate CLIs from absolutely any Python object

    Python Fire is a library that automatically generates command line interfaces (CLIs) from absolutely any Python object. It’s a really simple and easy way to create CLI in Python, and can also enable you to explore existing code or turn other people’s code into a CLI. Python Fire lets you call Fire on any Python object: be it functions, classes, objects, modules, lists-- you name it! It will help you develop as well as debug Python code, and make transitioning between Bash and Python a whole lot easier.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 8
    RecNN

    RecNN

    Reinforced Recommendation toolkit built around pytorch 1.7

    This is my school project. It focuses on Reinforcement Learning for personalized news recommendation. The main distinction is that it tries to solve online off-policy learning with dynamically generated item embeddings. I want to create a library with SOTA algorithms for reinforcement learning recommendation, providing the level of abstraction you like.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 9
    Solid Python

    Solid Python

    A comprehensive gradient-free optimization framework written in Python

    Solid is a Python framework for gradient-free optimization. It contains basic versions of many of the most common optimization algorithms that do not require the calculation of gradients, and allows for very rapid development using them.
    Downloads: 1 This Week
    Last Update:
    See Project
  • Ship Agents Faster Icon
    Ship Agents Faster

    Transform your applications and workflows into powerful agentic systems at global scale.

    Gemini Enterprise Agent Platform lets you rapidly build, scale, govern and optimize production-ready agents grounded in your organization's data. The platform enables developers to build custom or pre-built agents for virtually any use case. New customers get $300 in free credits.
    Start Free
  • 10
    Top Deep Learning Projects

    Top Deep Learning Projects

    A list of popular github projects related to deep learning

    TopDeepLearning is a curated index of the most popular GitHub projects related to deep learning, ranked by their star count. Rather than being a library itself, it serves as a curated roadmap and reference guide for anyone exploring the deep learning ecosystem — from beginners to experienced practitioners. By aggregating high-star projects across frameworks (TensorFlow, PyTorch), tools (computer vision, NLP, reinforcement learning), tutorials, and research code, it helps users quickly discover reputable and well-maintained repositories. This way one can survey state-of-the-art projects, find learning resources, or pick stable libraries for production — without manually sifting through hundreds of repos. The repository is openly licensed under MIT, making it easy to fork, extend, or contribute updates (e.g. adding newer projects or reordering by recent popularity).
    Downloads: 1 This Week
    Last Update:
    See Project
  • 11
    claude-code-best-practice

    claude-code-best-practice

    Practice made claude perfect

    claude-code-best-practice is a structured knowledge repository that documents advanced workflows, architectural patterns, and optimization strategies for developers using Claude Code in agentic development environments. Rather than being a traditional software library, the project functions as a living playbook that demonstrates how to compose skills, agents, memory files, and rules into maintainable AI-assisted coding systems. The repository emphasizes modularity and progressive disclosure, encouraging developers to build reusable components that can be invoked on demand. It also explores operational concerns such as permissions management, sandboxing, debugging workflows, and context optimization. By combining conceptual guidance with concrete examples and configuration patterns, the project helps teams move from experimental AI usage toward more production-ready agent orchestration.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 12
    Downloads: 1 This Week
    Last Update:
    See Project
  • 13
    gevent

    gevent

    Coroutine-based concurrency library for Python

    gevent is a coroutine -based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev or libuv event loop. gevent is inspired by eventlet but features a more consistent API, simpler implementation and better performance. Read why others use gevent and check out the list of the open source projects based on gevent. Since version 1.1, gevent is maintained by Jason Madden for NextThought with help from the contributors and is licensed under the MIT license. API that re-uses concepts from the Python standard library (for examples there are events and queues). Cooperative DNS queries performed through a threadpool, dnspython, or c-ares. Monkey patching utility to get 3rd party modules to become cooperative. When monkey patching, it is recommended to do so as early as possible in the lifetime of the process. If possible, monkey patching should be the first lines executed.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 14
    javalang

    javalang

    Pure Python Java parser and tools

    javalang is a pure Python library for working with Java source code. javalang provides a lexer and parser targeting Java 8. The implementation is based on the Java language spec.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 15
    kagglehub

    kagglehub

    Python library to access Kaggle resources

    kagglehub is a Python library for accessing Kaggle resources directly from Python code. It provides a simple API for downloading datasets, models, competition files, and notebook outputs without requiring users to manually manage every URL or file path. The library is designed to work both inside and outside Kaggle Notebooks, with native behavior that can adapt when it runs in Kaggle’s hosted notebook environment. It is useful for machine learning workflows where data, models, and notebook artifacts need to be pulled into scripts, experiments, or pipelines. kagglehub also supports authentication so users can access private or restricted resources when their account has permission. Its main value is making Kaggle assets easier to consume programmatically in Python-first data science and AI development workflows.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 16
    mosdepth

    mosdepth

    fast BAM/CRAM depth calculation for WGS, exome, or targeted sequencing

    mosdepth is a fast BAM/CRAM depth calculation tool for genomic data, allowing efficient computation of sequencing coverage.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 17
    n8n Workflows

    n8n Workflows

    All of the workflows of n8n i could find (also from the site itself)

    This repository aggregates a well-organized collection of community-submitted automation workflows built for n8n, a fair-code, self-hostable automation tool. It serves as an index for discovering ready-made flows to automate tasks across multiple services and platforms. 2,057 workflows with meaningful, searchable names. 365 unique integrations across popular platforms. 29,445 total nodes with professional categorization. Quality assurance - All workflows analyzed and categorized.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 18
    neovim-remote

    neovim-remote

    This package provides an executable called nvr

    neovim-remote is a command-line tool that lets users control existing Neovim processes from the shell. It provides an executable called nvr, which supports remote file opening, command execution, key sending, and expression evaluation. The tool solves a common terminal workflow problem by opening files inside an already running Neovim session instead of starting nested editor instances. It can be used from shell commands, terminal buffers, scripts, and Git editor workflows. If no target Neovim server is available, it can start a new process depending on configuration. The project is especially useful for Neovim users who want editor reuse, remote control, and smoother command-line integration.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 19
    segyio

    segyio

    Fast Python library for SEGY files

    Segyio is a small LGPL-licensed C library for easy interaction with SEG-Y and Seismic Unix formatted seismic data, with language bindings for Python and Matlab. Segyio is an attempt to create an easy-to-use, embeddable, community-oriented library for seismic applications. Features are added as they are needed; suggestions and contributions of all kinds are very welcome.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 20
    zpdf

    zpdf

    Zero-copy PDF text extraction library written in Zig

    zpdf is a high-performance PDF text extraction library written in Zig that focuses on speed, low overhead, and modern parsing techniques. It leans heavily on memory-mapped file reading and zero-copy patterns where possible, so it can scan large PDFs without repeatedly copying data around in memory. The library supports streaming extraction using efficient arena allocation, making it well suited for workloads that need to process big documents quickly or in batches. It implements multiple PDF decompression filters and handles common font encoding pathways, which are essential for turning raw PDF content streams into readable text. It also understands both classic cross-reference tables and newer cross-reference streams, including PDF 1.5+ features, and it offers configurable strict vs permissive error handling depending on whether you prioritize correctness or robustness.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 21
    ebfformat

    ebfformat

    An Efficient Binary data Format

    EBF, which stands for Efficient Binary Format, is a binary file format for reading and writing binary data easily. Reading writing routines are currently available in C,C++,Fortran,Java, Python, IDL, MATLAB. A program called ebftkpy which has a set of utility functions to work with the .ebf files , e.g., viewing the contents and getting a summary, is also provided. The EBF specification is designed to be concise and easy to understand to make it easier for others to write their own code if needed. It is also designed to simplify the programming of input output routines in different programming languages. In a nutshell an EBF file is a collection of data objects. Each data object is specified by a unique name and a single file can have multiple data objects. Each data object is preceded by a meta-data or header which describes the binary data associated with it. Among other things, this header allows the files to be portable across systems with different endianess.
    Downloads: 25 This Week
    Last Update:
    See Project
  • 22
    gditools

    gditools

    A Python program/library aimed at GD-ROM image files.

    This Python program/library is designed to handle GD-ROM image (GDI) files. It can be used to list files, extract data, generate sorttxt file, extract bootstrap (IP.BIN) file and more. This project can be used in standalone mode, in interactive mode or as a library in another Python program (check the 'addons' folder to learn how). For your convenience, you can use the gditools.py GUI program supplied in the Files section (optional). To use this project you must install the Python 2.7.x branch release binaries. See the README.TXT file for more informations.
    Leader badge
    Downloads: 17 This Week
    Last Update:
    See Project
  • 23

    Aglyph

    Aglyph is a Dependency Injection framework for Python.

    Aglyph is a Dependency Injection framework for Python, supporting type 2 (setter) and type 3 (constructor) injection. Aglyph runs on CPython (http://www.python.org/) 2.7 and 3.4+, and on recent versions of the PyPy (http://pypy.org/>),Jython (http://www.jython.org/), IronPython (http://ironpython.net/), and Stackless Python (http://www.stackless.com/) variants. Aglyph can assemble "prototype" components (a new instance is created every time), "singleton" components (the same instance is returned every time), "borg" components (a new instance is created every time, but all instances of the same class share the same internal state), and "weakref" components (the same instance is returned as long as there is at least one "live" reference to the instance in the running application). Aglyph can be configured using a declarative XML syntax, or programmatically in pure Python using a fluent API.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 24
    GluCat: Clifford algebra templates

    GluCat: Clifford algebra templates

    Calculation with Clifford algebras: C++ library and Python module

    GluCat is a generic library of C++ templates that implement universal Clifford algebras over the field of real numbers. The PyClical extension module for Python gives users an easy Python scripting interface for calculations in Clifford algebras. The name PyClical is an homage to Pertti Lounesto's CLICAL.
    Downloads: 5 This Week
    Last Update:
    See Project
  • 25

    pypubsub

    Publish - subscribe API for message/event-based python applications

    PyPubSub provides a publish - subscribe API that facilitates the development of event-based (also known as message-based) applications. PyPubSub supports sending and receiving messages between objects of an application, as well as a variety of advanced features that facilitate debugging and maintaining topics and messages in larger applications. I have moved the project to github at https://github.com/schollii/pypubsub.
    Downloads: 3 This Week
    Last Update:
    See Project