sumtypes

Data types

Provides Algebraic Data Types in Python

Sum Types, aka Tagged Unions, for Python

GitHub

42 stars
3 watching
1 forks
Language: Python
last commit: almost 3 years ago

Related projects:

Repository Description Stars
paldepind/union-type A JavaScript library for defining and using types that can represent multiple values with associated data. 478
ambv/retype Re-applies type annotations from .pyi stubs to codebases 142
dry-python/classes Typed polymorphism primitives for Python business logic 670
unional/type-plus A collection of utility types and adjusted utilities for enhancing TypeScript development 379
mplanchard/safetywrap Typesafe wrappers for handling errors and absent data in Python 44
stephenmcd/hot-redis A Python library providing rich data types backed by Redis, enabling atomic network operations. 290
suzannesoy/phc-adt A library providing support for algebraic data types in Racket, useful for compiler implementation and custom data structures. 2
rustedpy/maybe Provides an Option type inspired by Rust for Python 3 67
whynot63/abinator A Python wrapper for Solidity ABI specifications in a dataclass-like format 0
kotlinisland/basedtypeshed Provides static type annotations for the Python standard library and third-party packages 3
arteymix/numeric-glib A collection of extended numeric data types for the GLib library 9
dedbox/racket-algebraic Provides a Racket extension for untyped algebraic data structures with first-class support for sums and products. 75
cyrus-/typy A Python library implementing a fragmentary bidirectional type system with support for pattern matching and algebraic data types. 52
njanakiev/folderstats Analyzes a folder's structure and returns detailed statistics in the form of a Pandas dataframe 70
hirrolot/datatype99 Algebraic data types for C99 with exhaustive pattern matching and compile-time introspection facilities. 1,375