classes

Type system extension

Enables typed polymorphism and type-safe business logic in Python without inheritance or interfaces.

Smart, pythonic, ad-hoc, typed polymorphism for Python

GitHub

678 stars
15 watching
25 forks
Language: Python
last commit: almost 2 years ago
fpmypymypy-pluginsmypy-stubspep561pythonpython3typeclassestypesafety

Related projects:

RepositoryDescriptionStars
ambv/retypeRe-applies type annotations from .pyi stubs to codebases141
rustedpy/maybeProvides an Option type inspired by Rust for Python 371
typeddjango/pytest-mypy-pluginsA plugin for testing type checking and stubs using mypy and pytest107
kotlinisland/basedmypyA Python static type checker with additional features to improve typing and error reporting.148
mplanchard/safetywrapTypesafe wrappers for handling errors and absent data in Python44
rustedpy/resultA library providing a simple, type-safe way to handle values with potential errors in Python 3.1,625
jorenham/scipy-stubsProvides type hints and auto-completion support for SciPy libraries without requiring additional configuration or static type-checker plugins.23
typeddjango/django-stubsProvides precise static types and type inference for Django framework1,630
kotlinisland/basedtypingA collection of helpers and utilities to aid in dealing with types at static analysis and runtime.9
pvs-hd-tea/pytypesInfer static type information from Python code by tracing execution paths11
dropbox/sqlalchemy-stubsProvides type stubs and plugins to improve static typing for SQLAlchemy-based applications571
jellezijlstra/autotypingAutomatically adds type annotations to code241
antonagestam/phantom-typesPhantom types enable safe parsing and validation of data by making certain states unrepresentable at compile time205
orsinium-labs/typeforceA tool to simplify Python package maintenance by automating type checking and stub installation.19
shoobx/mypy-zopeA plugin to enable type checking of Zope interface implementations in mypy.39