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.2.0.tar.gz
(10.6 kB
view details)
Built Distribution
patina-0.2.0-py3-none-any.whl
(12.0 kB
view details)
File details
Details for the file patina-0.2.0.tar.gz
.
File metadata
- Download URL: patina-0.2.0.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Linux/5.10.19_1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a58180f07acf9140e9743b82bf51b178ae8723e84214134231d0c83e2b239a11 |
|
MD5 | 07adc03278a82bb8b1ff72b1d7ae6a6c |
|
BLAKE2b-256 | d3a4e71d14404e150086d0239a8e51ef1325371bf3a1cb0bfd49cfb059045776 |
File details
Details for the file patina-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: patina-0.2.0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.9.0 Linux/5.10.19_1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8893ba317286f5cc912dcbf5e1d57557f6f3bd82fcdd0afa7e532e6eeb169b82 |
|
MD5 | 7d957a6b2d1426496b6a5dbda6d37d7c |
|
BLAKE2b-256 | d198afe5a882b5f8405f9a0ffdca7d3b7d85353d999efb744d86d7312e9ba629 |