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.
Fully Managed MySQL, PostgreSQL, and SQL Server
Automatic backups, patching, replication, and failover. Focus on your app, not your database.
Cloud SQL handles your database ops end to end, so you can focus on your app.
Start Free
$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.
Hacker Scripts is a cheeky collection of small automation scripts and language ports collected under the tagline “Based on a true story.” The repository gathers playful utilities (originally shell and Ruby scripts) that automate short, real-world tasks — for example, sending a quick “late at work” text when SSH sessions are active, firing off an automated “I’m sick / working from home” email on certain mornings, or even talking to a networked coffee machine to start brewing at precisely the right moment. The README explains the origin story and highlights several canonical scripts and provides usage notes such as required environment variables and cron examples for scheduling. Contributors have provided implementations and ports in many languages and folders (shell, Ruby, Python, Node, Perl, PowerShell, Go, Java, etc.), and the project explicitly welcomes pull requests that add additional language implementations.
*NOTE* Migrated to http://github.com/cracklib/cracklib
Next generation version of libCrack password checking library. As of Oct 2008 (reflected in 2.8.15 code release), licensed under LGPL.
Small python-gtk application, to merge or split PDFs
PDF Arranger is a small python-gtk application, which helps the user to merge or split PDF documents and rotate, crop and rearrange their pages using an interactive and intuitive graphical interface. It is a front end for pikepdf. PDF Arranger is a fork of Konstantinos Poulios’s PDF Shuffler (see Savannah or Sourceforge). It’s a humble attempt to make the project a bit more active.
If you've ever wondered or worried about the future of Python's Imaging Library, it's time to stop. Pillow is here to answer your concerns, and offer you more. Pillow is the friendly fork of the Python Imaging Library or PIL, a library that adds image processing capabilities to your Python interpreter.
Why turn to Pillow? Aside from offering extensive file format support, an efficient internal representation, and fairly powerful image processing capabilities, Pillow is setuptools compatible. While PIL is not officially over yet, with Pillow you can be assured of continuous integration testing, publicized development activity, and regular releases to the Python Package Index.
One Monitoring Tool for IT, OT and Cloud | Free Trial
Vendor-agnostic monitoring across on-prem servers, cloud platforms and OT devices, all in one dashboard. No more tool sprawl.
Modern infrastructure spans data centers, cloud platforms and factory floors, and every blind spot between them is a risk. PRTG supports SNMP, WMI, SSH and other standard protocols to monitor IT, OT and hybrid environments through one customizable dashboard. Build the views your team needs, from network health to application performance, without switching tools. Try PRTG free for 30 days now.
Skill that conforms to the academic expression and scientific research
nature-skills is an open-source collection of AI agent skills and structured workflows designed to enhance autonomous reasoning and tool usage in AI assistants. The project organizes reusable “skills” that agents can invoke for different operational contexts, helping AI systems perform specialized tasks more consistently and effectively. It appears to focus on modularity and interoperability, allowing skills to be combined, extended, or integrated into broader agent ecosystems. The repository is designed to support experimentation with multi-step reasoning, task automation, and contextual tool orchestration for agentic AI systems. By standardizing reusable capabilities, the project helps developers build more maintainable and extensible AI workflows. Overall, nature-skills contributes to the growing ecosystem of modular AI agent tooling and structured automation frameworks.
Technical Analysis Indicators - Pandas TA is an easy-to-use Python 3 Pandas Extension with 130+ Indicators. Pandas Technical Analysis (Pandas TA) is an easy-to-use library that leverages the Pandas package with more than 130 Indicators and Utility functions and more than 60 TA Lib Candlestick Patterns. Many commonly used indicators are included, such as: Candle Pattern(cdl_pattern), Simple Moving Average (sma) Moving Average Convergence Divergence (macd), Hull Exponential Moving Average (hma), Bollinger Bands (bbands), On-Balance Volume (obv), Aroon & Aroon Oscillator (aroon), Squeeze (squeeze) and many more.
Kivy is an open source, cross-platform UI framework that lets you develop applications that make use of innovative, multi-touch user interfaces. Written in Python with a graphics engine built over OpenGL ES 2, Kivy supports various input devices and protocols, and gives you access to over 20 widgets that are all highly extensible and have built-in multi-touch support. You can run the same codebase on Mac, Windows, Linux, Android and iOS.
Kivy is 100% free and open source with a professionally developed and used toolkit, as well as a stable framework and well-documented API, so you can be confident in using it in a commercial product.
Buildozer is a tool that aim to package mobiles application easily. It automates the entire build process, download the prerequisites like python-for-android, Android SDK, NDK, etc. Buildozer manages a file named buildozer.spec in your application directory, describing your application requirements and settings such as title, icon, included modules, etc. It will use the specification file to create a package for Android, iOS, and more. The goal is to have one "buildozer.spec" file in your app directory, describing your application requirements and settings such as title, icon, included modules etc. Buildozer will use that spec to create a package for Android, iOS, Windows, OSX and/or Linux.
Plaso (Plaso Langar Að Safna Öllu), or "super timeline all the things," is a Python-based engine designed for automatic creation of timelines in digital forensic investigations. It processes various log files and artifacts to generate a chronological sequence of events, aiding analysts in understanding system activities.
WeasyPrint is a smart solution helping people to create PDF documents. You can generate gorgeous statistical reports, invoices, tickets, and anything you want as long as you have some webdesign skills! Design your documents just as you design your websites! WeasyPrint follows the widely used HTML and CSS specifications from the W3C. You can use your usual web tools, languages and frameworks, but for print. Creating high-quality digital documents requires features that you love to use as readers, tables of contents, links, annotations, optimized images, attachments, WeasyPrint provides many features out of the box, and even gives you the possibility to add your own ways to customize your PDF files. Digital fonts are finely tuned pieces of artwork. To give to your documents the subtle touch they deserve, carefully choose the options you want, kerning, ligatures, old-style numbers, tabular figures, ordinals, etc.
A pure-python PDF library capable of splitting, merging, cropping
pypdf is a pure Python library for working with PDF files, allowing developers to split, merge, rotate, encrypt, and extract content from PDFs. It’s an actively maintained fork of PyPDF2, improving performance, compatibility, and support for modern PDF standards. Suitable for both automation scripts and full-featured applications, pypdf handles PDFs without requiring external dependencies.
Deezer source separation library including pretrained models
Spleeter is the Deezer source separation library with pretrained models written in Python and using Tensorflow. It makes it easy to train music source separation models (assuming you have a dataset of isolated sources), and provides already trained state of the art models for performing various flavours of separation. 2 stems and 4 stems models have state of the art performances on the musdb dataset. Spleeter is also very fast as it can perform separation of audio files to 4 stems 100x faster than real-time when run on a GPU. We designed Spleeter so you can use it straight from command line as well as directly in your own development pipeline as a Python library. It can be installed with Conda, with pip or be used with Docker.
FaceXlib aims at providing ready-to-use face-related functions
facexlib is a PyTorch-based library providing ready-to-use face-related functions, including detection, alignment, recognition, and more. It integrates state-of-the-art open-source methods for various face processing tasks.
Live recording software that can be looped and recorded
DouyinLiveRecorder is a Python and FFmpeg-based tool for continuously monitoring and recording live streams from many online platforms. Despite its name, it supports more than 40 services, including Douyin, TikTok, YouTube, Twitch, Bilibili, Huya, Douyu, Xiaohongshu, and several regional platforms. Users can place multiple room URLs in configuration files and let the program watch them repeatedly for live activity. Recording quality, output behavior, proxies, formats, and individual rooms can be configured separately. The project can send live-status notifications and supports custom scripts around recording events. It runs from source, packaged Windows builds, or Docker, with FFmpeg handling the actual media capture. Its design is aimed at unattended, multi-room recording rather than manual one-stream-at-a-time capture.
IPTV API is an automated platform for collecting, validating, testing, filtering, and publishing IPTV stream sources. It aggregates local files and subscriptions, then generates playable results as M3U, TXT, or API output. Users can customize channel templates, aliases, logos, EPG data, protocol preferences, geographic filters, providers, resolution, and speed requirements. The system measures latency, throughput, resolution, and frame rate while removing invalid, unavailable, or repetitive placeholder streams. Results can be categorized, cached, logged, analyzed, frozen, and restored as source quality changes. Deployment options include GitHub Actions workflows, a command-line interface, a graphical interface, and Docker images for several processor architectures.
SymPy is an open source Python library for symbolic mathematics. Its goal is to become a full-featured computer algebra system (CAS) while maintaining the simplicity of its code. Written entirely in Python, SymPy is easy to use, comprehensible and easily extensible. It’s also very lightweight as it solely depends on mpmath, a pure Python library for arbitrary floating point arithmetic.
SymPy has participated in every Google Summer of Code since 2007 and because of this has continuously improved. A lot more people have also contributed to it, and used it in their projects. Beyond being an interactive tool, it can be embedded in other apps and extended with custom functions.
Audiocraft is a library for audio processing and generation
AudioCraft is a PyTorch library for text-to-audio and text-to-music generation, packaging research models and tooling for training and inference. It includes MusicGen for music generation conditioned on text (and optionally melody) and AudioGen for text-conditioned sound effects and environmental audio. Both models operate over discrete audio tokens produced by a neural codec (EnCodec), which acts like a tokenizer for waveforms and enables efficient sequence modeling. The repo provides inference scripts, checkpoints, and simple Python APIs so you can generate clips from prompts or incorporate the models into applications. It also contains training code and recipes, so researchers can fine-tune on custom data or explore new objectives without building infrastructure from scratch. Example notebooks, CLI tools, and audio utilities help with prompt design, conditioning on reference audio, and post-processing to produce ready-to-share outputs.
This is the main repository for the SciPy library, one of the core packages that make up the SciPy stack. SciPy is an open source software used in the fields of mathematics, science, and engineering, with modules for statistics, optimization, integration, linear algebra, signal and image processing, and many more. The SciPy library contains many of the user-friendly and efficient numerical routines, including those for numerical integration, interpolation, and optimization.
SciPy is built to work with NumPy, a software that provides convenient and fast N-dimensional array manipulation. Both SciPy and NumPy run on all popular operating systems, are fast and easy to install, and are powerful yet easy to use. They’re currently depended upon by numerous leading scientists and engineers all over the world. Try them for yourself!
PerfKit Benchmarker (PKB) contains a set of benchmarks
PerfKitBenchmarker is an open-source benchmarking framework designed to measure and compare the performance of cloud infrastructure across multiple providers in a consistent and reproducible way. It allows users to evaluate metrics such as latency, throughput, provisioning time, and system performance using a standardized set of benchmarks. The tool supports a wide range of environments, including major cloud platforms, Kubernetes clusters, and even local hardware, making it highly versatile for performance analysis. It simplifies the process of running complex benchmarks by providing unified command-line workflows that handle resource provisioning, execution, and result collection. The framework includes a comprehensive set of predefined benchmarks covering areas such as compute, storage, networking, and distributed systems workloads. It is widely used by researchers, engineers, and organizations to evaluate cloud architectures and make informed infrastructure decisions.
A Python library for efficient XML and HTML processing, known for speed and compatibility. The lxml XML toolkit is a Pythonic binding for the C libraries libxml2 and libxslt. It is unique in that it combines the speed and XML feature completeness of these libraries with the simplicity of a native Python API, mostly compatible but superior to the well-known ElementTree API. The latest release works with all CPython versions from 3.6 to 3.12. See the introduction for more information about the background and goals of the lxml project.
Importer library to import assets from different common 3D file formats such as Collada, Blend, Obj, X, 3DS, LWO, MD5, MD2, MD3, MDL, MS3D and a lot of other formats. The data is stored in an own in-memory data-format, which can be easily processed.
www.open3mod.com/ is a 3D model viewer and exporter based on Assimp that is also Open Source.
Jianying Headless is a local automation toolkit for creating and editing Jianying Pro video projects on macOS. Structured editing plans can generate editable drafts with multiple video, audio, text, and overlay tracks. Existing projects can be modified inside isolated copies so the original draft is not overwritten. The system supports local media, fonts, keyframes, selected masks, transitions, and native MP4 export through an installed Jianying engine. A Python command-line interface and Agent Skill make it suitable for batch processing and AI-assisted editing. Environment checks verify compatible application versions, tools, media, and project state before running. It is an independent integration rather than an official Jianying SDK.
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.
Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python. Matplotlib makes easy things easy and hard things possible. Matplotlib ships with several add-on toolkits, including 3D plotting with mplot3d, axes helpers in axes_grid1 and axis helpers in axisartist. A large number of third party packages extend and build on Matplotlib functionality, including several higher-level plotting interfaces (seaborn, HoloViews, ggplot, ...), and a projection and mapping toolkit (Cartopy). Matplotlib is the brainchild of John Hunter (1968-2012), who, along with its many contributors, have put an immeasurable amount of time and effort into producing a piece of software utilized by thousands of scientists worldwide. Matplotlib is a Sponsored Project of NumFOCUS, a 501(c)(3) nonprofit charity in the United States. Matplotlib has support for visualizing information with a wide array of colors and colormaps.
Generate a bunch of malicious pdf files with phone-home functionality
Generate ten different malicious PDF files with phone-home functionality. Can be used with Burp Collaborator or Interact.sh. Used for penetration testing and/or red-teaming etc. I created this tool because I needed a third-party tool to generate a bunch of PDF files with various links.
You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.