phantom-types
option
phantom-types | option | |
---|---|---|
2 | 1 | |
183 | 78 | |
- | - | |
6.5 | 0.0 | |
3 months ago | 4 months ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
phantom-types
-
Sunday Daily Thread: What's everyone working on this week?
I've written and published about a static type checking technique and a library of mine that implements it: phantom-types.
- Phantom Types in Python
option
-
Personally I have to go with nil
Should be pretty straightforward to implement. https://github.com/MaT1g3R/option
What are some alternatives?
typeforce - Make mypy more effective
Deal - 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.
django-stubs - PEP-484 stubs for Django
flake8-typing-imports - flake8 plugin which checks that typing imports are properly guarded
classes - Smart, pythonic, ad-hoc, typed polymorphism for Python
returns - Make your functions return something meaningful, typed, and safe!
sqlalchemy-stubs - Mypy plugin and stubs for SQLAlchemy
mmpm - MagicMirror Package Manager
infer-types - A CLI tool to automatically add type annotations into Python code. Must have tool for annotating existing code.
typedload - Python library to load dynamically typed data into statically typed data structures