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'>
Metadata
Release files for insensitive-strenum 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| insensitive_strenum-1.0.2.tar.gz | 13.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| insensitive_strenum-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.0 kB
Release files / insensitive_strenum-1.0.2.tar.gz
| Download URL | insensitive_strenum-1.0.2.tar.gz |
|---|---|
| Size | 13.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1036c3028a800678dd613e2c089901c99fac2343c93c1192fa13428a2b6ca7b
|
|
BLAKE2b-256 checksum How to use checksums |
2434b09a0f7a9f172f8f6a3ea710a939f09b4db16611053682ae04e6a61233cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.13 Linux/6.11.0-1015-azure
|
Release files / insensitive_strenum-1.0.2-py3-none-any.whl
| Download URL | insensitive_strenum-1.0.2-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5972bcf603a138e66dfad8f80493899e7f8bfb2bc68908b1caa0370c33c10261
|
|
BLAKE2b-256 checksum How to use checksums |
4cd918c11ca3213371cf5fe66a493cebcf06da7d243a689c082324e76746b74c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.3 CPython/3.11.13 Linux/6.11.0-1015-azure
|