Result and Option types for Python
Project description
patina
This is an implementation of Rust's Result and Option types in Python. Most methods have been implemented, and the (very good) original documentation has been adapted into docstrings.
The documentation for this package can be read here. All doctests are run and type-checked as part of the CI pipeline as unit tests. The tests are direct ports of those in the Rust documentation.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
patina-0.1.1.tar.gz
(9.9 kB
view details)
Built Distribution
patina-0.1.1-py3-none-any.whl
(11.1 kB
view details)
File details
Details for the file patina-0.1.1.tar.gz
.
File metadata
- Download URL: patina-0.1.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.9 CPython/3.8.3 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f503fa21e5f6b03a51d29b31dc563e450e79078bd55fb7b097ba42077ce55b1d |
|
MD5 | ca7d9b0965259f75e7d5879d1f8fef9a |
|
BLAKE2b-256 | cb8a73de99c263c0fe5e7216bf1454535c825e4ad173b5cf628652a9ef36ab8e |
File details
Details for the file patina-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: patina-0.1.1-py3-none-any.whl
- Upload date:
- Size: 11.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.9 CPython/3.8.3 Darwin/19.6.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa6f9773eb3d9e9aaaa73ffa1b996dd5e9f908a62db946a27210cace26d2de04 |
|
MD5 | b09efd55e15a735442e5ab21bdfd03d9 |
|
BLAKE2b-256 | eb545cc52b8462fdde262602e0a7f59daa39f066ef9a491845ab8edacdafc8fd |