Contains a Result and Option enum similar to other languages like Rust, Haskell or Elm.
Project description
Smart Enums
Smart Enums is a small package to provide comfort enums from other languages like Rust, Haskell or Elm.
There are currently two enums included. The Result
and Some
enum.
Additional enums and functionality will be added in the future. This package is currently mostly for personal use but maybe someone else has use cases for it too. :blush: :relaxed:
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
smart-enums-0.1.0.tar.gz
(2.1 kB
view details)
Built Distribution
File details
Details for the file smart-enums-0.1.0.tar.gz
.
File metadata
- Download URL: smart-enums-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7015347353c53bb39a4260f0bc1d860e745568eff11b5c254f3fdf7f22011050 |
|
MD5 | 6a213f1db845771f56231b32e56d4785 |
|
BLAKE2b-256 | b3e74f3ba8cc3932c5fd467d1968935ceed823dcf1760af48762746cded1c883 |
File details
Details for the file smart_enums-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: smart_enums-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8f8948311155e2b84c2120279794b6b008b1df283cb6186feab94183fbb699b |
|
MD5 | 43293b79d924342f3813073e3c655a0f |
|
BLAKE2b-256 | af2c320555ef40d55c958263bdd72802f33cdc9bc9586da6f1f67a2247187575 |