Skip to main content

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

Documentation

Source Code - GitHub

PyPI - insensitive-strenum

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


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)

Uploaded Source

Built Distribution

insensitive_strenum-1.0.1-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

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

Hashes for insensitive_strenum-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6056c88b087e771a7902d214fb34775ca51decfa900fbfacc3bc4fa9fc7bddf7
MD5 ab86939cc47dd22a204b352bf9224bad
BLAKE2b-256 0c9a729fed3aceb526fe44b128355e246dede23cb7885b420c3435e280e9dde0

See more details on using hashes here.

File details

Details for the file insensitive_strenum-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for insensitive_strenum-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9b7275337dc5b5308d352af8d8f23c30194e9999c39a337150f1a73c4e0b5f64
MD5 22bcb108d0fdc2b771322e9a77e980df
BLAKE2b-256 94112765d7114355c3a1fdf41adcb2670a5381d8fad70975cc2e5024484cf1ab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page