Make your functions return something meaningful, typed, and safe!
☆4,229Updated this week
Alternatives and similar repositories for returns
Users that are interested in returns are comparing it to the libraries listed below
Sorting:
- Smart, pythonic, ad-hoc, typed polymorphism for Python☆724Dec 17, 2024Updated last year
- Write short and fully-typed lambdas where you need them.☆285Dec 11, 2023Updated 2 years ago
- NOT MAINTAINED - A simple Rust like Result type for Python 3. Fully type annotated.☆1,687Aug 19, 2024Updated last year
- A functional standard library for Python.☆5,118Jan 1, 2026Updated last month
- More routines for operating on iterables, beyond itertools☆4,040Feb 10, 2026Updated 2 weeks ago
- Unbearably fast near-real-time pure-Python runtime-static type-checker.☆3,344Feb 20, 2026Updated last week
- The strictest and most opinionated python linter ever!☆2,824Updated this week
- Python Classes Without Boilerplate☆5,736Feb 21, 2026Updated last week
- Data validation using Python type hints☆26,977Updated this week
- Collection of awesome Python types, stubs, plugins, and tools to work with them.☆1,947Feb 2, 2026Updated 3 weeks ago
- Service objects designed with OOP in mind.☆302Dec 5, 2024Updated last year
- A fancy and practical functional tools☆3,500Feb 14, 2026Updated 2 weeks ago
- The property-based testing library for Python☆8,463Updated this week
- 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.☆866Nov 30, 2025Updated 3 months ago
- Simple, powerful, and fast logging for Python.☆4,592Updated this week
- Collection of library stubs for Python, with static types☆5,009Updated this week
- Simple, elegant, Pythonic functional programming.☆4,305Feb 16, 2026Updated last week
- Typer, build great CLIs. Easy to code. Based on Python type hints.☆18,901Updated this week
- Fast, correct Python JSON library supporting dataclasses, datetimes, and numpy☆7,923Feb 2, 2026Updated 3 weeks ago
- Functional programming for Python☆734Mar 11, 2025Updated 11 months ago
- A next generation HTTP client for Python. 🦋☆15,099Updated this week
- Persistent/Immutable/Functional data structures for Python☆2,172Jan 31, 2026Updated last month
- An extremely fast Python linter and code formatter, written in Rust.☆45,984Updated this week
- Trio – a friendly Python library for async concurrency and I/O☆7,176Updated this week
- A Python library that generates static type annotations by collecting runtime types☆4,994Feb 11, 2026Updated 2 weeks ago
- High level asynchronous concurrency and networking framework that works on top of either Trio or asyncio☆2,395Feb 21, 2026Updated last week
- Static Type Checker for Python☆15,245Feb 20, 2026Updated last week
- Optional static typing for Python☆20,243Updated this week
- A high-performance immutable mapping type for Python.☆1,195May 20, 2025Updated 9 months ago
- Run-time type checker for Python☆1,746Feb 19, 2026Updated last week
- Python packaging and dependency management made easy☆34,279Updated this week
- A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML☆3,599Nov 27, 2025Updated 3 months ago
- Retrying library for Python☆8,393Updated this week
- A curated list of awesome things related to functional programming in Python.☆2,514Feb 12, 2026Updated 2 weeks ago
- A static type analyzer for Python code☆5,031Jan 26, 2026Updated last month
- Dependency injection framework for Python☆4,815Jan 31, 2026Updated last month
- The little ASGI framework that shines. 🌟☆11,982Updated this week
- Phantom types for Python.☆233Jan 1, 2026Updated last month
- Async database support for Python. 🗄☆4,021May 21, 2024Updated last year