description: Reasoning the logic flow with Magic
Mithrandir
Installation
As much simple as it could be, use pip , pipenv or poetry :
$ pip install mithrandir
{% hint style="info" %} Remember to check out the latest version available {% endhint %}
Once you have Mithrandir in your presence, let him be your guide...
{% code title="$ python" %}
>> from mithrandir import Monad, Op, MonadSignature as Sig
>> magic = Monad(1) | Op.MAP(lambda x: x + 1)
>> print("magic = ", magic)
... "magic = Monad<async_mode=False>[2]"
>> # Give me your blessing...
>> print("blessed-value = ", magic.unwrap())
... "blessed-value = 2"
{% endcode %}
For more advanced tutorials and examples, check out the next parts of the document
Release files for mithrandir 1.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mithrandir-1.4.1.tar.gz | 4.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mithrandir-1.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / mithrandir-1.4.1.tar.gz
| Download URL | mithrandir-1.4.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5d6c3a42636ce5a96f723afe2e5ce7b549b6dfef76ab2b222a2250d3fa062dc
|
|
BLAKE2b-256 checksum How to use checksums |
3e0bf055348a12fe10c7a7e532792af576b4d91a10109348856182e06584df6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.7.5 Darwin/20.1.0
|
Release files / mithrandir-1.4.1-py3-none-any.whl
| Download URL | mithrandir-1.4.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7144232891fb2cdcbf897835d3fd36d27b9081cc82a4ff24902515af63e08df
|
|
BLAKE2b-256 checksum How to use checksums |
ad510d53c5206332b9a235e9b7187ded93278af807b63fb81f969b400ca88ba4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.10 CPython/3.7.5 Darwin/20.1.0
|