What Does Simple Enum Do?
Simple Enum provides a simpler way to define Enums in Python 3:
class Colour(Enum):
red
green
blue
You can see the full documentation (and implementation) on github.
Why Should I Use Simple Enum?
It makes the common case as simple as possible.
It detects accidental duplicate values.
It allows you to easily select alternative values (numbers from one, bit fields, etc).
What Else Should I Know?
(c) 2013 Andrew Cooke, andrew@acooke.org; released into the public domain for any use, but with absolutely no warranty.
Metadata
Release files for simple-enum 0.0.6
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 | |
|---|---|---|---|---|
| simple-enum-0.0.6.tar.gz | 8.3 kB | Without provenance | Details |
Release files / simple-enum-0.0.6.tar.gz
| Download URL | simple-enum-0.0.6.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e088c788185d0d4a90892fe4b2ee7f973e4f0ae2f43e171ba128345b7c202f72
|
|
BLAKE2b-256 checksum How to use checksums |
c4c5081bc34fab9229610f72edd7f7421b266dabd253393ac240ae334474a6f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for simple-enum 0.0.6
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.