option
Rust like Option and Result types in Python (by MaT1g3R)
phantom-types
Phantom types for Python. (by antonagestam)
option | phantom-types | |
---|---|---|
1 | 2 | |
78 | 183 | |
- | - | |
0.0 | 6.5 | |
4 months ago | 3 months ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
option
Posts with mentions or reviews of option.
We have used some of these posts to build our list of alternatives
and similar projects.
-
Personally I have to go with nil
Should be pretty straightforward to implement. https://github.com/MaT1g3R/option
phantom-types
Posts with mentions or reviews of phantom-types.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-09.
-
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
What are some alternatives?
When comparing option and phantom-types you can also consider the following projects:
Deal - 🤝 Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.
typeforce - Make mypy more effective