Monad STD
monad_std is a library that provides some useful Rust-styled utilities for using monads in Python.
Quick Start
To install this library, simply use your favorite package manager, here we use pure pip.
pip install monad-std
Then, import the library:
>>> from monad_std import *
>>> Ok(2)
Result::Ok(2)
Now you could use the utilities this library provides. For more information and examples, see the documentation above.
For a better guide, see the documentation's quick start guide.
Contribution
Any issue and pull request is welcomed, and you can directly make a pr for new features or open an issue for bug reports.
Future Plan
Until now, this library provides the following features:
monad_std.Option: An optional value.monad_std.Result: A structure containing a success value or an error.monad_std.Ok: A successful value.monad_std.Err: An error value.
monad_std.std_types: Wrapped api around std types.monad_std.iter: Iterator interface with functors and monads support.monad_std.Either: A structure containing two type of values, but not that specific likemonad_std.Result. (Currently under development.)
Metadata
Release files for monad-std 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| monad_std-0.10.0.tar.gz | 44.1 kB | Without provenance | Details for monad_std-0.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| monad_std-0.10.0-py3-none-any.whl | Python 3 | none | any | Details for monad_std-0.10.0-py3-none-any.whl |
Total release size: 103.9 kB
Release files / monad_std-0.10.0.tar.gz
| Download URL | monad_std-0.10.0.tar.gz |
|---|---|
| Size | 44.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a98934c4204e10677a013c9f902e27c51e565ab5b40530cc48a14ac91b4395d
|
|
BLAKE2b-256 checksum How to use checksums |
e3ef6273c154eb76889c4812060459f2108aa7c7bce695fbf483956e8b5f9904
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.4 Windows/11
|
Release files / monad_std-0.10.0-py3-none-any.whl
| Download URL | monad_std-0.10.0-py3-none-any.whl |
|---|---|
| Size | 59.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c17299c17d54e61fb6c8c32c89b436e3312aee1a76efd2858f736de0d9c426c
|
|
BLAKE2b-256 checksum How to use checksums |
08ca491235bf8c52687457686248fb3b14b5757294ef9b433d1db11924e0c3e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.12.4 Windows/11
|
Security for monad-std 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.