Clojure-style multimethods with arbitrary dispatch keys.
Project description
LOCUTIUS
Adapted from Adam Bard's work at https://unpythonic.com/02_02_multimethods/, with clarifications, corrections, and unit tests.
Clojure-style multimethods with arbitrary dispatch keys. See 'test_locutius.py' for usage examples.
INSTALLATION
pip install locutius
Requires Python 3, preferably 3.6 or later.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file locutius-1.0.1.tar.gz.
File metadata
- Download URL: locutius-1.0.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd42e226fa30c565d917381d87146c669122b6375a77cea6354370f234cea98a
|
|
| MD5 |
8a2e41578c5d982d94181c98ecf7b5bc
|
|
| BLAKE2b-256 |
0219fdb54110c254238db61b1f25991591adaa8b3bcbad31cf364094c1c1cf3a
|
File details
Details for the file locutius-1.0.1-py3-none-any.whl.
File metadata
- Download URL: locutius-1.0.1-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17b1dddcb895b85deed2495afbba00accb327f2c8060fe4dffe26737e574013b
|
|
| MD5 |
450b823b6bbfdc26f3602ca7aff291c9
|
|
| BLAKE2b-256 |
4c8a58a4f9978d426d8d340eefdf16d069c7f46db21b50eb8803fdfe2f38b9d7
|