useful_types

Type definitions

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

Useful types for Python

GitHub

115 stars
8 watching
5 forks
Language: Python
last commit: 3 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 85
sbrunner/jsonschema-gentypes Tool to automatically generate Python types from JSON schema 41
mplanchard/safetywrap Typesafe wrappers for handling errors and absent data in Python 44
wishtack/pysynthetic A set of tools that simplify Python class creation by reducing boilerplate code and enforcing type checking. 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 A library that provides runtime-checkable type protocols for operator overloading in Python 24
python/typing_extensions A module that provides experimental type hints and enables use of new type system features on older Python versions. 450
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 71
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,039
ilevkivskyi/typing_inspect Provides utilities for inspecting and analyzing Python types at runtime 352