insensitive-strenum


Nameinsensitive-strenum JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/abrahammurciano/python-insensitive-strenum
SummaryA case insensitive StrEnum
upload_time2024-05-22 08:19:11
maintainerNone
docs_urlNone
authorAbraham Murciano
requires_python>=3.11
licenseGPLv3
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # insensitive-strenum
A case insensitive StrEnum

## Installation

You can install this package with pip.
```sh
$ pip install insensitive-strenum
```

## Links

[![Documentation](https://img.shields.io/badge/Documentation-C61C3E?style=for-the-badge&logo=Read+the+Docs&logoColor=%23FFFFFF)](https://abrahammurciano.github.io/python-insensitive-strenum)

[![Source Code - GitHub](https://img.shields.io/badge/Source_Code-GitHub-181717?style=for-the-badge&logo=GitHub&logoColor=%23FFFFFF)](https://github.com/abrahammurciano/python-insensitive-strenum.git)

[![PyPI - insensitive-strenum](https://img.shields.io/badge/PyPI-insensitive_strenum-006DAD?style=for-the-badge&logo=PyPI&logoColor=%23FFD242)](https://pypi.org/project/insensitive-strenum/)

## Usage

```python
from insensitive_strenum import InsensitiveStrEnum

class Color(InsensitiveStrEnum):
	RED = 'red'
	GREEN = 'green'
	BLUE = 'blue'
```

```python
>>> Color('RED')
<Color.RED: 'red'>
>>> Color('red')
<Color.RED: 'red'>
>>> Color('Red')
<Color.RED: 'red'>
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/abrahammurciano/python-insensitive-strenum",
    "name": "insensitive-strenum",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": null,
    "author": "Abraham Murciano",
    "author_email": "abrahammurciano@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/0c/9a/729fed3aceb526fe44b128355e246dede23cb7885b420c3435e280e9dde0/insensitive_strenum-1.0.1.tar.gz",
    "platform": null,
    "description": "# insensitive-strenum\nA case insensitive StrEnum\n\n## Installation\n\nYou can install this package with pip.\n```sh\n$ pip install insensitive-strenum\n```\n\n## Links\n\n[![Documentation](https://img.shields.io/badge/Documentation-C61C3E?style=for-the-badge&logo=Read+the+Docs&logoColor=%23FFFFFF)](https://abrahammurciano.github.io/python-insensitive-strenum)\n\n[![Source Code - GitHub](https://img.shields.io/badge/Source_Code-GitHub-181717?style=for-the-badge&logo=GitHub&logoColor=%23FFFFFF)](https://github.com/abrahammurciano/python-insensitive-strenum.git)\n\n[![PyPI - insensitive-strenum](https://img.shields.io/badge/PyPI-insensitive_strenum-006DAD?style=for-the-badge&logo=PyPI&logoColor=%23FFD242)](https://pypi.org/project/insensitive-strenum/)\n\n## Usage\n\n```python\nfrom insensitive_strenum import InsensitiveStrEnum\n\nclass Color(InsensitiveStrEnum):\n\tRED = 'red'\n\tGREEN = 'green'\n\tBLUE = 'blue'\n```\n\n```python\n>>> Color('RED')\n<Color.RED: 'red'>\n>>> Color('red')\n<Color.RED: 'red'>\n>>> Color('Red')\n<Color.RED: 'red'>\n```\n",
    "bugtrack_url": null,
    "license": "GPLv3",
    "summary": "A case insensitive StrEnum",
    "version": "1.0.1",
    "project_urls": {
        "Documentation": "https://abrahammurciano.github.io/python-insensitive-strenum/insensitive-strenum",
        "Homepage": "https://github.com/abrahammurciano/python-insensitive-strenum",
        "Repository": "https://github.com/abrahammurciano/python-insensitive-strenum"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "94112765d7114355c3a1fdf41adcb2670a5381d8fad70975cc2e5024484cf1ab",
                "md5": "22bcb108d0fdc2b771322e9a77e980df",
                "sha256": "9b7275337dc5b5308d352af8d8f23c30194e9999c39a337150f1a73c4e0b5f64"
            },
            "downloads": -1,
            "filename": "insensitive_strenum-1.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "22bcb108d0fdc2b771322e9a77e980df",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 14398,
            "upload_time": "2024-05-22T08:19:10",
            "upload_time_iso_8601": "2024-05-22T08:19:10.195078Z",
            "url": "https://files.pythonhosted.org/packages/94/11/2765d7114355c3a1fdf41adcb2670a5381d8fad70975cc2e5024484cf1ab/insensitive_strenum-1.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0c9a729fed3aceb526fe44b128355e246dede23cb7885b420c3435e280e9dde0",
                "md5": "ab86939cc47dd22a204b352bf9224bad",
                "sha256": "6056c88b087e771a7902d214fb34775ca51decfa900fbfacc3bc4fa9fc7bddf7"
            },
            "downloads": -1,
            "filename": "insensitive_strenum-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "ab86939cc47dd22a204b352bf9224bad",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 13825,
            "upload_time": "2024-05-22T08:19:11",
            "upload_time_iso_8601": "2024-05-22T08:19:11.654218Z",
            "url": "https://files.pythonhosted.org/packages/0c/9a/729fed3aceb526fe44b128355e246dede23cb7885b420c3435e280e9dde0/insensitive_strenum-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-22 08:19:11",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "abrahammurciano",
    "github_project": "python-insensitive-strenum",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "insensitive-strenum"
}
        
Elapsed time: 0.24028s