Skip to main content

enum

Python enum implementation

Usage

>>> from enum import EnumBase
>>>
>>> class Color(EnumBase):
>>>     red = 1
>>>     green = 2
>>>     ...
>>> Color.red
1
>>> Color.get_value('red')
1
>>> Color.get_name(1)
'red'

TODO

  • Added setup.py
  • Unittest
  • CI

Metadata

Release files for jx-enum 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jx-enum 1.0.0
File Size Uploaded
jx-enum-1.0.0.tar.gz 1.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jx-enum 1.0.0
File Interpreter ABI Platform
jx_enum-1.0.0-py2-none-any.whl Python 2 none any Details

Total release size: 5.3 kB

Release files / jx-enum-1.0.0.tar.gz

Download URL jx-enum-1.0.0.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
efdf56ea569b74adde5b8c11c359b7a55454ff39f2a60aec7906ee4617b46629
BLAKE2b-256 checksum
How to use checksums
eee14127b35d08c2e9442ccb537be212741fb4dd2f95870778310048f182bf7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16

Release files / jx_enum-1.0.0-py2-none-any.whl

Download URL jx_enum-1.0.0-py2-none-any.whl
Size 3.4 kB
Tags Python 2
SHA-256 checksum
How to use checksums
52e240677ecc6f4aeca127bf4fd6c277d0a1d5ac27c29f7d0b394224ef7ee2cc
BLAKE2b-256 checksum
How to use checksums
94099be11d3f543c4d7147670d10cdf1a8ba1b17a6f6cf77501fb565788d4b00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page