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.

  • MongoDB Atlas runs apps anywhere Icon
    MongoDB Atlas runs apps anywhere

    Deploy in 115+ regions with the modern database for every enterprise.

    MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
    Start Free
  • Earn up to 16% annual interest with Nexo. Icon
    Earn up to 16% annual interest with Nexo.

    More flexibility. More control.

    Generate interest, access liquidity without selling, and execute trades seamlessly. All in one platform. Geographic restrictions, eligibility, and terms apply.
    Get started with Nexo.
  • 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: 0 This Week
    Last Update:
    See Project
  • 2
    Poor Http

    Poor Http

    WSGI Server, WSGI Connector, Python doc generator

    Poor Http Server is standalone wsgi server, which is designed for using python web applications. Unlike other projects, this is not framework, but single server, light wsgi connector, and python doc generator.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3
    Portfolio-Generator

    Portfolio-Generator

    Portfolios Made Easy, Generate portfolios in 3 easy steps

    A webapp made in Django to generate a portfolio.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 4

    Prefix Tree

    A lighting-fast prefix tree and DAWG implementation in C and python

    A lighting-fast prefix tree (trie) and compressed prefix tree (DAWG) implementation. This library can be usefull for longest-prefix matching, code completion, dictionary compression, spell checking.
    Downloads: 0 This Week
    Last Update:
    See Project
  • Gemini 3 and 200+ AI Models on One Platform Icon
    Gemini 3 and 200+ AI Models on One Platform

    Access Google's best plus Claude, Llama, and Gemma. Fine-tune and deploy from one console.

    Build generative AI apps with Vertex AI. Switch between models without switching platforms.
    Start Free
  • 5
    Pretty Jupyter

    Pretty Jupyter

    Creates dynamic html report from jupyter notebook.

    Pretty Jupyter is an easy-to-use package that allows to create beautiful & dynamic HTML reports. Most of the features require little to no work to get working and greatly improve the quality of the output report, or even the developer’s comfort when creating the report. For example, tabs make some visualizations much more comfortable. The features are integrated directly into the output page, therefore there is no need to have an interpreter running in the backend. This makes the HTML easily sendable or uploadable to a static website.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    PrettyTensor

    PrettyTensor

    Pretty Tensor: Fluent Networks in TensorFlow

    Pretty Tensor is a high-level API built on top of TensorFlow that simplifies the process of creating and managing deep learning models. It wraps TensorFlow tensors in a chainable object syntax, allowing developers to build multi-layer neural networks with concise and readable code. Pretty Tensor preserves full compatibility with TensorFlow’s core functionality while providing syntactic sugar for defining complex architectures such as convolutional and recurrent networks. The library’s design emphasizes flexibility and modularity, supporting advanced features like default scopes, parameter templates, and variable reuse. It also allows easy integration with custom operations and third-party libraries, making it ideal for both research experimentation and production-grade modeling. By combining TensorFlow’s power with an intuitive builder-style API, Pretty Tensor accelerates model development without sacrificing transparency or control.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7
    Prompt Engineering Interactive Tutorial

    Prompt Engineering Interactive Tutorial

    Anthropic's Interactive Prompt Engineering Tutorial

    Prompt-eng-interactive-tutorial is a comprehensive, hands-on tutorial that teaches the craft of prompt engineering with Claude through guided, executable lessons. It starts with the anatomy of a good prompt and moves into techniques that deliver the “80/20” gains—separating instructions from data, specifying schemas, and setting evaluation criteria. The course leans heavily on realistic failure modes (ambiguity, hallucination, brittle instructions) and shows how to iteratively debug prompts the way you would debug code. Lessons include building prompts from scratch for common tasks like extraction, classification, transformation, and step-by-step reasoning, with checkpoints that let you compare your outputs against solid baselines. You’ll also practice advanced patterns such as tool use, constrained generation, and response validation so outputs are trustworthy and machine-consumable.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 8

    ProximityForest

    Efficient Approximate Nearest Neighbors for General Metric Spaces

    A proximity forest is a data structure that allows for efficient computation of approximate nearest neighbors of arbitrary data elements in a metric space. See: O'Hara and Draper, "Are You Using the Right Approximate Nearest Neighbor Algorithm?", WACV 2013 (best student paper award). One application of a ProximityForest is given in the following CVPR publication: Stephen O'Hara and Bruce A. Draper, "Scalable Action Recognition with a Subspace Forest," IEEE Conference on Computer Vision and Pattern Recognition, 2012. This source code is provided without warranty and is available under the GPL license. More commercially-friendly licenses may be available. Please contact Stephen O'Hara for license options. Please view the wiki on this site for installation instructions and examples on reproducing the results of the papers.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    Prudence is an open source container and framework for scalable web frontends and network services, based on proven REST principles. It comes in several flavors: Python, Ruby, Clojure, JavaScript, PHP and Groovy.
    Downloads: 0 This Week
    Last Update:
    See Project
  • $300 in Free Credit Towards Top Cloud Services Icon
    $300 in Free Credit Towards Top Cloud Services

    Build VMs, containers, AI, databases, storage—all in one place.

    Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
    Get Started
  • 10
    Psifas
    A python library for parsing and building of data structures (binary or textual). It is based on the concept of defining data structures in a declarative manner, where complex structures are composed of a hierarchy of simpler ones.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    PureEnergy is an organized file manager for SuperWikia Super Controller reactors which provide fluent access of each reactor's Sadeic files and other components of the native Super Controller Codec partitions. PureEnergy features IDE & SDK utilities.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12
    PyAnnotation is a Python Library to access and manipulate linguistically annotated corpus files. Supported file formats are Kura XML, Elan XML and Toolbox files. A Corpus Reader API is provided to support statistical analysis within the NLTK.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    PyCNN

    PyCNN

    Image Processing with Cellular Neural Networks in Python

    Image Processing with Cellular Neural Networks in Python. Cellular Neural Networks (CNN) are a parallel computing paradigm that was first proposed in 1988. Cellular neural networks are similar to neural networks, with the difference that communication is allowed only between neighboring units. Image Processing is one of its applications. CNN processors were designed to perform image processing; specifically, the original application of CNN processors was to perform real-time ultra-high frame-rate (>10,000 frame/s) processing unachievable by digital processors.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 14
    PyComputerAlgebra is a pure Python implementation of a computer algebra library.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    Fully OO python PDF generation library.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 16

    PyDoodles

    Assorted Mini-Modules for Python

    PyDoodles is a set of assorted "mini-modules" for the Python programming language. It's a collection of small ideas combined to create reusable code that is bound to come in handy for someone somewhere.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 17
    PyExcelerate

    PyExcelerate

    Accelerated Excel XLSX Writing Library for Python 2/3

    Accelerated Excel XLSX writing library for Python. PyExcelerate is a Python for writing Excel-compatible XLSX spreadsheet files, with an emphasis on speed.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 18
    PyG

    PyG

    Graph Neural Network Library for PyTorch

    PyG (PyTorch Geometric) is a library built upon PyTorch to easily write and train Graph Neural Networks (GNNs) for a wide range of applications related to structured data. It consists of various methods for deep learning on graphs and other irregular structures, also known as geometric deep learning, from a variety of published papers. In addition, it consists of easy-to-use mini-batch loaders for operating on many small and single giant graphs, multi GPU-support, DataPipe support, distributed graph learning via Quiver, a large number of common benchmark datasets (based on simple interfaces to create your own), the GraphGym experiment manager, and helpful transforms, both for learning on arbitrary graphs as well as on 3D meshes or point clouds. All it takes is 10-20 lines of code to get started with training a GNN model (see the next section for a quick tour).
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19

    PyGCF

    Process GURPS Character Assistant GCF files to Python structures

    The GURPS Character Assistant program stores its core data as GCF files. These files contain a descriptions of entities and relationships, commands for manipulating them and rules on how to satisfy constraints. Unfortunately, said program is only available for Windows, doesn't support any kind of automation for generation of NPCs, doesn't function under WINE, and is very, very slow. This module is intended to provide a basis for rectifying those problems.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    PyLibrary

    PyLibrary

    Libraries for Python developers.

    Development in Python (be it website or an App development or implementation of an automation framework) always involves certain operations like handling db queries, operations on web, development of data structures, windows operations (handing services, registries), logging and many more... What, if you have these libraries handy with you all the time? Just import and start using them.. In comes PyLibrary.. PyLibrary is a collection of infrastructure libraries that aid faster development in Python. These libraries are well documented, provide robust error handling and are frequently updated/tested for improvements. Chetan Giridhar
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21
    PyMW is a Python module for parallel master-worker computing in a variety of environments. With the PyMW module, users can write a single program that scales from multicore machines to global computing platforms.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    PyOpenCL

    PyOpenCL

    OpenCL integration for Python, plus shiny features

    PyOpenCL is a Python wrapper for the OpenCL framework, providing seamless access to parallel computing on CPUs, GPUs, and other accelerators. It enables developers to harness the full power of heterogeneous computing directly from Python, combining Python’s ease of use with the performance benefits of OpenCL. PyOpenCL also includes convenient features for managing memory, compiling kernels, and interfacing with NumPy, making it a preferred choice in scientific computing, data analysis, and machine learning workflows that demand acceleration.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    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: 0 This Week
    Last Update:
    See Project
  • 24

    PyProperties

    Provides support for properties files in Python 3.x

    pyproperties provides support for properties files in Python. Being written entirely from scratch it is not in any way derived from java.util.Properties. There are projects which try to mimic j.u.P. This is not one of them. It can read, parse and store properties files but also provides some more advanced functionality like manipulating comments and type-guessing.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25

    PyQDbf

    PySide QDbf

    PyQDbf PySide - QDbf Binding LGPL3 QDbf is Qt - DBF files https://github.com/IvanPinezhaninov/qdbf QDbf: Read or Write Dbf files, but not create new table PySide is Python Binding for Qt Libraries
    Downloads: 0 This Week
    Last Update:
    See Project
MongoDB Logo MongoDB