Open Source Libraries
Discover 309 open source Library repositories from GitHub, each with an analysis of what it does, key features, use cases and alternatives. Library projects here are most often combined with Python, Developer Tools and TypeScript. Last updated October 4, 2026.
309 repositories · updated October 4, 2026

pyautogui: Automate Mouse and Keyboard Actions
PyAutoGUI is a Python library for controlling the mouse and keyboard across Windows, macOS, and Linux. It suits scripts that automate desktop interactions, capture screenshots, or locate visual elements on the primary monitor.

freezegun: Control Time in Python Tests
Freezegun lets Python tests set and manipulate the system date and time, making time-dependent behavior predictable. Use it to test dates, timers, and time-based logic without waiting for real time to pass.

httmock: Mock HTTP Requests for Python Tests
httmock lets Python tests replace HTTP calls made with requests, so you can exercise API clients without contacting real services. It supports conditional URL matching and configurable mocked responses.

HTTPretty: Mock HTTP Requests in Python Tests
HTTPretty intercepts Python HTTP traffic at the socket level and returns registered fake responses. It helps developers test API integrations without relying on live services, and can capture requests for assertions or playback.

python-mocket: Mock Socket Traffic for Python Tests
Mocket lets Python developers intercept socket and SSL traffic so tests can mock HTTP and other protocol clients without making real network requests. It supports synchronous and asynchronous clients, strict network blocking, and custom socket-level mocks.

vcrpy: Replay HTTP Interactions in Tests
VCR.py records HTTP interactions to cassette files and replays matching responses in later test runs. It helps Python developers make network-dependent tests faster, deterministic, and usable offline after recording.

mixer: Generate Test Data for Python Models
Mixer creates test instances with generated values for Django, SQLAlchemy, and other Python object models. It suits developers replacing hand-written fixtures with configurable test data that can be saved to a database or kept in memory.

model_mommy: Create Test Fixtures for Python Projects
Model Mommy is a Python library for creating fixtures for tests. It is no longer maintained; Model Bakery is its replacement, and existing users are encouraged to migrate.

faker: Generate Realistic Fake Data in Python
Faker is a Python library for generating synthetic names, addresses, text, and other data. Use it to populate test databases, create sample documents, or anonymize production data, with support for localized output and custom providers.

mimesis: Generate Realistic Fake Data in Python
Mimesis generates realistic synthetic data across languages and locales for Python development and testing. Use it to create test records, API fixtures, sample datasets, or structured and relational data.

chardet: Detect Text Encodings in Python
chardet identifies character encodings in byte data, including through incremental processing of large files and streams. Its Python API and CLI suit applications that need to interpret text of unknown origin, with language and MIME-type information also available.

fuzzywuzzy: Match Similar Strings in Python
FuzzyWuzzy is a Python library for matching strings that are similar rather than identical. This repository is archived; development moved to TheFuzz, so new users should start there.