useful_types

Type definitions

Provides commonly used data structures and protocols in Python to improve code clarity and maintainability

Useful types for Python

GitHub

99 stars
8 watching
5 forks
Language: Python
last commit: about 2 months ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
hauntsaninja/no_implicit_optional An automated tool to fix Python code to comply with PEP 484's explicit use of Optional type hints 82
sbrunner/jsonschema-gentypes Tool to generate Python types from JSON Schema 40
mplanchard/safetywrap Typesafe wrappers for handling errors and absent data in Python 44
wishtack/pysynthetic Tools to simplify Python class creation with type checking and strict contract enforcement 15
pvs-hd-tea/pytypes Infer static type information from Python code by tracing execution paths 11
kracekumar/python-typing-koans A learning tool to help developers understand type hints in Python by fixing errors and annotating code 119
jorenham/optype An opinionated typing package that simplifies type hints in Python by providing protocols for special methods like multiplication and addition 15
python/typing_extensions A module that provides experimental type hints and enables use of new type system features on older Python versions. 444
kotlinisland/basedtypeshed Provides static type annotations for the Python standard library and third-party packages 3
dropbox/pyannotate A tool to automatically add type annotations to Python code based on runtime call arguments and return types. 1,428
kotlinisland/basedtyping A collection of helpers and utilities to aid in dealing with types at static analysis and runtime. 9
rustedpy/maybe Provides an Option type inspired by Rust for Python 3 67
mariusvniekerk/pytest-monkeytype A pytest plugin that generates annotations and stubs for Python modules based on their type definitions 43
tobgu/pyrsistent Persistent data structures for Python that provide immutable and functional design 2,031
ilevkivskyi/typing_inspect Provides utilities for inspecting and analyzing Python types at runtime 350