A case insensitive StrEnum
Project description
insensitive-strenum
A case insensitive StrEnum
Installation
You can install this package with pip.
$ pip install insensitive-strenum
Links
Usage
from insensitive_strenum import InsensitiveStrEnum
class Color(InsensitiveStrEnum):
RED = 'red'
GREEN = 'green'
BLUE = 'blue'
>>> Color('RED')
<Color.RED: 'red'>
>>> Color('red')
<Color.RED: 'red'>
>>> Color('Red')
<Color.RED: 'red'>
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
insensitive_strenum-1.0.2.tar.gz
(13.6 kB
view details)
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 insensitive_strenum-1.0.2.tar.gz.
File metadata
- Download URL: insensitive_strenum-1.0.2.tar.gz
- Upload date:
- Size: 13.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b1036c3028a800678dd613e2c089901c99fac2343c93c1192fa13428a2b6ca7b
|
|
| MD5 |
bde2dd8dab4d543a57ff9a2fa8db5fd9
|
|
| BLAKE2b-256 |
2434b09a0f7a9f172f8f6a3ea710a939f09b4db16611053682ae04e6a61233cd
|
File details
Details for the file insensitive_strenum-1.0.2-py3-none-any.whl.
File metadata
- Download URL: insensitive_strenum-1.0.2-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.3 CPython/3.11.13 Linux/6.11.0-1015-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5972bcf603a138e66dfad8f80493899e7f8bfb2bc68908b1caa0370c33c10261
|
|
| MD5 |
6c3003d11b5d28e4f9031e5e7222f36b
|
|
| BLAKE2b-256 |
4cd918c11ca3213371cf5fe66a493cebcf06da7d243a689c082324e76746b74c
|