smarie / python-autoclass
A python 3 library providing functions and decorators to automatically generate class code, such as constructor body or properties getters/setters along with optional support of validation contracts on the generated setters. Its objective is to reduce the amount of copy/paste code in your classes - and hence to help reducing human mistakes :).
☆37Updated 3 years ago
Related projects: ⓘ
- Operator overloading for fast anonymous functions.☆49Updated this week
- Set of tools to play with Python AST.☆81Updated last year
- Annotate Python AST trees with source text and token information☆172Updated 2 months ago
- A list of Python type checkers (PEP 484 compliant and not, static and runtime/dynamic)☆61Updated 2 years ago
- Typing-toolbox for Python 3 _and_ 2.7 w.r.t. PEP 484.☆200Updated last year
- Expand functools features(lru_cache) to class - methods, classmethods, staticmethods and even for (unofficial) hybrid methods.☆75Updated 3 weeks ago
- ☆55Updated last week
- Hypothesis strategies for generating Python programs, something like CSmith☆94Updated 7 months ago
- Define fields in python classes. Easily.☆45Updated 10 months ago
- Make implemented in pure Python☆71Updated 7 months ago
- Re-apply type annotations from .pyi stubs to your codebase.☆141Updated 2 years ago
- An AST unparser for Python☆222Updated last year
- Safely evaluate AST nodes without side effects☆42Updated 2 months ago
- Python AST that abstracts the underlying Python version☆137Updated 2 months ago
- CPU parallelism for Trio☆51Updated 2 weeks ago
- Backport for type hinting generics in standard collections and union types as X | Y☆19Updated 3 years ago
- Discover and load entry points from installed packages☆74Updated last year
- Generic programming library for Python☆58Updated this week
- A fast and flexible reimplementation of data classes☆81Updated last year
- Utility library for the Python Trio async/await framework☆65Updated 3 weeks ago
- ☆42Updated 2 weeks ago
- Write compiled bytecode inline with pure Python. 🤖☆76Updated 2 weeks ago
- Utilities for run-time type validation and multiple dispatch☆161Updated last week
- A simple program and library to auto generate API documentation for Python modules.☆74Updated 10 months ago
- An unofficial, importable pip API☆110Updated last month
- Undermining Python's "turtles-all-the-way-up" asynchronous idiom.☆18Updated 5 years ago
- Python 3 AST unparser with type comments support.☆29Updated 4 years ago
- Over 600 fast Python bindings to the CPython C API. 🤯☆59Updated 2 weeks ago
- Python async data processing microframework☆32Updated 5 months ago
- Fast fractions reimplementation in Cython☆36Updated 2 months ago