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.1.tar.gz
(13.8 kB
view details)
Built Distribution
File details
Details for the file insensitive_strenum-1.0.1.tar.gz
.
File metadata
- Download URL: insensitive_strenum-1.0.1.tar.gz
- Upload date:
- Size: 13.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6056c88b087e771a7902d214fb34775ca51decfa900fbfacc3bc4fa9fc7bddf7 |
|
MD5 | ab86939cc47dd22a204b352bf9224bad |
|
BLAKE2b-256 | 0c9a729fed3aceb526fe44b128355e246dede23cb7885b420c3435e280e9dde0 |
File details
Details for the file insensitive_strenum-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: insensitive_strenum-1.0.1-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Linux/6.5.0-1021-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b7275337dc5b5308d352af8d8f23c30194e9999c39a337150f1a73c4e0b5f64 |
|
MD5 | 22bcb108d0fdc2b771322e9a77e980df |
|
BLAKE2b-256 | 94112765d7114355c3a1fdf41adcb2670a5381d8fad70975cc2e5024484cf1ab |