No project description provided
Project description
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
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
mithrandir-1.4.1.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file mithrandir-1.4.1.tar.gz
.
File metadata
- Download URL: mithrandir-1.4.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.7.5 Darwin/20.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5d6c3a42636ce5a96f723afe2e5ce7b549b6dfef76ab2b222a2250d3fa062dc |
|
MD5 | 3c5fd84343e66fda3d610d0b11fb59ff |
|
BLAKE2b-256 | 3e0bf055348a12fe10c7a7e532792af576b4d91a10109348856182e06584df6c |
File details
Details for the file mithrandir-1.4.1-py3-none-any.whl
.
File metadata
- Download URL: mithrandir-1.4.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.10 CPython/3.7.5 Darwin/20.1.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7144232891fb2cdcbf897835d3fd36d27b9081cc82a4ff24902515af63e08df |
|
MD5 | a38ef6ba51381c11f2c1ccce30975e81 |
|
BLAKE2b-256 | ad510d53c5206332b9a235e9b7187ded93278af807b63fb81f969b400ca88ba4 |