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.

  • Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
    Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

    General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

    Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
    Start Free
  • 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
  • 1
    Homemade Machine Learning

    Homemade Machine Learning

    Python examples of popular machine learning algorithms

    homemade-machine-learning is a repository by Oleksii Trekhleb containing Python implementations of classic machine-learning algorithms done “from scratch”, meaning you don’t rely heavily on high-level libraries but instead write the logic yourself to deepen understanding. Each algorithm is accompanied by mathematical explanations, visualizations (often via Jupyter notebooks), and interactive demos so you can tweak parameters, data, and observe outcomes in real time. The purpose is pedagogical: you’ll see linear regression, logistic regression, k-means clustering, neural nets, decision trees, etc., built in Python using fundamentals like NumPy and Matplotlib, not hidden behind API calls. It is well suited for learners who want to move beyond library usage to understand how algorithms operate internally—how cost functions, gradients, updates and predictions work.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 2
    A python package to find repetitive format pattern in HTML pages and extract information from them using this pattern. The idea is that in pages that have some kind of a list, there will be a repetitive pattern for the human eye (the page format).
    Downloads: 0 This Week
    Last Update:
    See Project
  • 3
    Icon Font to PNG

    Icon Font to PNG

    Python script (and library) for exporting icons from icon fonts

    Python script (and library) for easy and simple export of icons from web icon fonts (e.g. Font Awesome, Octicons) as PNG images. The best part is the provided shell script, but you can also use it’s functionality directly in your (probably awesome) Python project. There’s also font-awesome-to-png script for backward compatibility with the first iteration of the concept. You can use IconFont (and IconFontDownloader for that matter) directly inside your Python project. There's no proper documentation as of now, but the code is commented and should be pretty straightforward to use.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 4
    Instigate GUI Toolkit
    Instigate GUI Toolkit is an Abstraction for multiple GUI Toolkits allowing to write single GUI code which can run on multiple platforms and with multiple GUI back-ends. Now it supports QT and gtkmm back-ends on Linux. Work on GTK+ and EWL is ongoing.
    Downloads: 0 This Week
    Last Update:
    See Project
  • $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
  • 5
    Interpret-Text

    Interpret-Text

    State-of-the-art explainers for text-based machine learning models

    A library that incorporates state-of-the-art explainers for text-based machine learning models and visualizes the result with a built-in dashboard. Interpret-Text builds on Interpret, an open source python package for training interpretable models and helping to explain blackbox machine learning systems. We have added extensions to support text models. Interpret-Text incorporates community-developed interpretability techniques for NLP models and a visualization dashboard to view the results. Users can run their experiments across multiple state-of-the-art explainers and easily perform comparative analysis on them. Using these tools, users will be able to explain their machine-learning models globally on each label or locally for each document.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 6
    Introduction-NLP

    Introduction-NLP

    Detailed notes on HanLP's new book, "Introduction to Natural Language"

    Introduction NLP is a Chinese-language study-notes repository based on the book Introduction to Natural Language Processing by the author of HanLP. It explains NLP concepts in accessible language while pairing theory with practical implementation notes. The material begins with basic concepts and Chinese word segmentation before progressing into statistical sequence models. Later chapters cover part-of-speech tagging, named entity recognition, information extraction, text clustering, text classification, dependency parsing, and deep learning. Algorithms discussed include hidden Markov models, perceptrons, conditional random fields, Naive Bayes, and support vector machines. Many chapters link to executable code examples and datasets for hands-on study. The repository is designed to help learners organize the book’s key ideas into a practical reference for Chinese NLP work.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 7

    Ionflux Computer Graphics Toolkit

    Toolkit for 2D and 3D computer graphics

    NOTICE: This repository of IFCG will no longer be maintained. You can find the current version at https://github.com/TehFlux/ifcg The Ionflux Computer Graphics Toolkit is a collection of libraries for 2D and 3D graphics processing. The toolkit is written primarily in C++ and has full Python bindings for all components.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 8

    Ionflux Tools

    Metaprogramming framework for C++ development with Python bindings

    NOTICE: This repository of IFTools will no longer be maintained. You can find the current version at https://github.com/TehFlux/iftools iftools is an umbrella project for various libraries and utilities that facilitate application development in C++ with full Python bindings. It provides a rich set of features while still maintaining compatibility with other frameworks through a very low overhead and a lack of "tricks". iftools uses its own, easily extensible template system to provide a rich set of metaprogramming techniques for implementing features above the class level.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 9
    JackPy
    Pure Python bindings for JACK Audio
    Downloads: 0 This Week
    Last Update:
    See Project
  • PRTG Catches Network Issues Before They Cause Downtime Icon
    PRTG Catches Network Issues Before They Cause Downtime

    Threshold-based alerts flag problems early, so your team can act before users notice, not after.

    Reactive troubleshooting usually means hearing about a problem from frustrated users, not your monitoring tool. PRTG sets threshold-based alerts across devices, servers and applications, notifying your team by email, SMS or push the moment a metric crosses a set limit. That means catching a failing disk or overloaded server before it becomes an outage and getting time back from firefighting. Start a free trial and set your first alerts today.
    Download 30-Day Trial
  • 10
    Jraph

    Jraph

    A Graph Neural Network Library in Jax

    Jraph (pronounced “giraffe”) is a lightweight JAX library developed by Google DeepMind for building and experimenting with graph neural networks (GNNs). It provides an efficient and flexible framework for representing, manipulating, and training models on graph-structured data. The core of Jraph is the GraphsTuple data structure, which enables users to define graphs with arbitrary node, edge, and global attributes, and to batch variable-sized graphs efficiently for JAX’s just-in-time compilation. The library includes a comprehensive set of utilities for batching, padding, masking, and partitioning graph data, making it ideal for distributed and large-scale GNN experiments. Jraph also comes with a model zoo—a collection of forkable reference implementations of common message-passing GNN architectures, such as Graph Networks, Graph Convolutional Networks, and Graph Attention Networks.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 11
    Jupynium

    Jupynium

    Selenium-automated Jupyter Notebook that is synchronised with NeoVim

    It's just like a markdown live preview, but it's Jupyter Notebook live preview. Jupynium uses Selenium to automate Jupyter Notebook, synchronizing everything you type on Neovim. Never leave Neovim. Switch tabs on the browser as you switch files on Neovim. Note that it doesn't sync from Notebook to Neovim so only modify from Neovim.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 12
    Jupyter Notebook Tools for Sphinx

    Jupyter Notebook Tools for Sphinx

    Sphinx source parser for Jupyter notebooks

    nbsphinx is a Sphinx extension that provides a source parser for *.ipynb files. Custom Sphinx directives are used to show Jupyter Notebook code cells (and of course their results) in both HTML and LaTeX output. Un-evaluated notebooks – i.e. notebooks without stored output cells – will be automatically executed during the Sphinx build process.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 13
    Downloads: 0 This Week
    Last Update:
    See Project
  • 14

    Jython Simple Dialogs

    Simple UI Dialog boxes much like 'zenity' project for jython

    I have wanted very simple dialog box implementation for asking user questions, such as what is intended by the 'zenity' (or previous XDialog) type of interfaces. After looking at options I settled on using swing based UI components and it is based on the information available from: https://wiki.python.org/jython/SwingExamples The specific use of this code is targeted to user inputs for simple activities and it appears as if there isn't any single 'aggregator' and I tried to provide this functionality. Hope you enjoy!
    Downloads: 0 This Week
    Last Update:
    See Project
  • 15
    Kami

    Kami

    Good content deserves good paper

    Kami is a minimalistic productivity tool designed to help users organize tasks, notes, and daily workflows in a clean and distraction-free interface. It focuses on simplicity, enabling users to capture ideas quickly and manage them efficiently without unnecessary complexity. The application is built with a modern design philosophy that emphasizes clarity and usability. It supports lightweight task management and note-taking features for personal productivity. Kami is suitable for users who prefer streamlined tools over feature-heavy productivity suites. Its design encourages focus and reduces cognitive overload. The project reflects a trend toward minimalist digital tools for everyday organization.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 16
    Knowledge Work Plugins

    Knowledge Work Plugins

    Open source repository of plugins intended for knowledge workers

    Knowledge Work Plugins is Anthropic’s open-source repository of plugin-style Markdown packs for knowledge-work use cases in Claude Cowork and related Claude Code workflows. It is designed to give AI assistants structured domain instructions rather than relying on generic chat behavior. The repository includes plugins for practical office, research, legal, and business workflows, with each plugin stored as editable Markdown. This makes the system easy to inspect, fork, customize, and adapt to an organization’s own process. Its goal is to help agents perform repeatable knowledge work with clearer expectations, domain constraints, and workflow patterns. The project is best suited for teams that want reusable AI work instructions without building a full application around them.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 17
    Kornia

    Kornia

    Open Source Differentiable Computer Vision Library

    Kornia is a differentiable computer vision library for PyTorch. It consists of a set of routines and differentiable modules to solve generic computer vision problems. At its core, the package uses PyTorch as its main backend both for efficiency and to take advantage of the reverse-mode auto-differentiation to define and compute the gradient of complex functions. Inspired by existing packages, this library is composed by a subset of packages containing operators that can be inserted within neural networks to train models to perform image transformations, epipolar geometry, depth estimation, and low-level image processing such as filtering and edge detection that operate directly on tensors. With Kornia we fill the gap between classical and deep computer vision that implements standard and advanced vision algorithms for AI. Our libraries and initiatives are always according to the community needs.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 18
    Kubernetes Python Client

    Kubernetes Python Client

    Official Python client library for kubernetes

    Official Python client library for Kubernetes. Kubernetes supports three minor releases at a time. "Support" means we expect users to be running that version in production, though we may not port fixes back before the latest minor version. For example, when v1.3 comes out, v1.0 will no longer be supported. In consistent with the Kubernetes support policy, we expect to support three GA major releases (corresponding to three Kubernetes minor releases) at a time.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 19
    LLM CLI

    LLM CLI

    Access large language models from the command-line

    A CLI utility and Python library for interacting with Large Language Models, both via remote APIs and models that can be installed and run on your own machine.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 20
    Lambda Builders

    Lambda Builders

    Python library to compile, build & package AWS Lambda functions

    Python library to compile, build & package AWS Lambda functions for several runtimes & frameworks. AWS Lambda Builders also supports Custom workflow through a Makefile. Lambda Builders is the brains behind the sam build command from AWS SAM CLI. Lambda Builders is a Python library. It additionally exposes a JSON-RPC 2.0 interface to use in other languages. Build Actions could be implemented in any programming language. Preferably in the language that they are building. Some build actions simply execute a binary (like Golang) without writing a Go script. We provide a generic Python runner to implement such build actions. A build action is a module that knows how to build for a particular programming language & framework (ex: Python+PIP). Build actions can be implemented in Python or in the native programming language. Each build action has its own design document.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 21

    LibPFP

    The LibPFP is an implementation of the Php functions in Python.

    Python library for PHP Programmers. The LibPFP is an implementation of the Php functions in Python. Is an library of general purpose and free.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 22
    Lightweight' GAN

    Lightweight' GAN

    Implementation of 'lightweight' GAN, proposed in ICLR 2021

    Implementation of 'lightweight' GAN proposed in ICLR 2021, in Pytorch. The main contribution of the paper is a skip-layer excitation in the generator, paired with autoencoding self-supervised learning in the discriminator. Quoting the one-line summary "converge on single gpu with few hours' training, on 1024 resolution sub-hundred images". Augmentation is essential for Lightweight GAN to work effectively in a low data setting. You can test and see how your images will be augmented before they pass into a neural network (if you use augmentation). The general recommendation is to use suitable augs for your data and as many as possible, then after some time of training disable the most destructive (for image) augs. You can turn on automatic mixed precision with one flag --amp. You should expect it to be 33% faster and save up to 40% memory. Aim is an open-source experiment tracker that logs your training runs, and enables a beautiful UI to compare them.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 23
    LocalGPT

    LocalGPT

    Chat with your documents on your local device using GPT models

    LocalGPT is a private, on-premises document intelligence platform for questioning, summarizing, and analyzing files with locally hosted language models. Its data remains on the user’s machine, making it suitable for confidential or offline workflows. The retrieval system combines semantic similarity, keyword matching, late chunking, contextual enrichment, and sentence-level pruning. A smart router chooses between retrieval-augmented generation and direct model responses for each query. An independent verification pass is intended to improve answer reliability before results are returned. The platform works with Ollama models, offers a browser interface and API, and can run through local or Docker-based setups. It supports CPU and several hardware acceleration environments while retaining conversation history within a session.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 24
    MLBox

    MLBox

    MLBox is a powerful Automated Machine Learning python library

    MLBox is a powerful Automated Machine Learning python library. Fast reading and distributed data preprocessing/cleaning/formatting. Highly robust feature selection and leak detection. Accurate hyper-parameter optimization in high-dimensional space. State-of-the-art predictive models for classification and regression (Deep Learning, Stacking, LightGBM,...) Prediction with model interpretation. MLBox has been developed and used by many active community members. Your help is very valuable to make it better for everyone.
    Downloads: 0 This Week
    Last Update:
    See Project
  • 25
    MMdnn

    MMdnn

    Tools to help users inter-operate among deep learning frameworks

    MMdnn is a set of tools to help users inter-operate among different deep learning frameworks. E.g. model conversion and visualization. Convert models between Caffe, Keras, MXNet, Tensorflow, CNTK, PyTorch Onnx and CoreML. MMdnn is a comprehensive and cross-framework tool to convert, visualize and diagnose deep learning (DL) models. The "MM" stands for model management, and "dnn" is the acronym of deep neural network. We implement a universal converter to convert DL models between frameworks, which means you can train a model with one framework and deploy it with another. During the model conversion, we generate some code snippets to simplify later retraining or inference. We provide a model collection to help you find some popular models. We provide a model visualizer to display the network architecture more intuitively. We provide some guidelines to help you deploy DL models to another hardware platform.
    Downloads: 0 This Week
    Last Update:
    See Project