# Character range
![Tests][1]
This package does exactly what it says on the tin:
Create a string or bytes range.
```python
from character_range import ByteMap, character_range, CharacterMap
for element in character_range('aaa', 'aba', CharacterMap.ASCII_LOWERCASE):
print(element) # 'aaa', 'aab', ..., 'aay', 'aaz', 'aba'
for element in character_range(b'0', b'10', ByteMap.ASCII_LOWERCASE):
print(element) # b'0', b'1', ..., b'9', b'00', b'01', ..., b'09', b'10'
```
## Installation
```shell
$ pip install character-range
```
[1]: https://github.com/InSyncWithFoo/character-range/actions/workflows/tests.yaml/badge.svg
Raw data
{
"_id": null,
"home_page": "",
"name": "character-range",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": "",
"keywords": "char,character,range,byte,byte range",
"author": "",
"author_email": "InSyncWithFoo <insyncwithfoo@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/f0/f8/bd029ed06c04c5494ecc901623cb8e8b7482fedb79f364096316c487f4bf/character-range-0.1.0.tar.gz",
"platform": null,
"description": "# Character range\n\n![Tests][1]\n\n\nThis package does exactly what it says on the tin:\nCreate a string or bytes range.\n\n```python\nfrom character_range import ByteMap, character_range, CharacterMap\n\n\nfor element in character_range('aaa', 'aba', CharacterMap.ASCII_LOWERCASE):\n print(element) # 'aaa', 'aab', ..., 'aay', 'aaz', 'aba'\n\nfor element in character_range(b'0', b'10', ByteMap.ASCII_LOWERCASE):\n print(element) # b'0', b'1', ..., b'9', b'00', b'01', ..., b'09', b'10'\n```\n\n## Installation\n\n```shell\n$ pip install character-range\n```\n\n\n [1]: https://github.com/InSyncWithFoo/character-range/actions/workflows/tests.yaml/badge.svg\n",
"bugtrack_url": null,
"license": "Unlicense",
"summary": "Generate character and byte ranges",
"version": "0.1.0",
"project_urls": {
"Homepage": "https://github.com/InSyncWithFoo/character-range"
},
"split_keywords": [
"char",
"character",
"range",
"byte",
"byte range"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "12f445925ac3a93487d2cab7a179cedb2d82979efc780def4eed749b1ef834fc",
"md5": "b6bd9c091d485ed1308194ddab238203",
"sha256": "07cdbefd9ca4bbe98a7a2dfad3ba1d7620fb4c1f20b937012b7be72293194af4"
},
"downloads": -1,
"filename": "character_range-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "b6bd9c091d485ed1308194ddab238203",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 14041,
"upload_time": "2023-12-28T08:26:37",
"upload_time_iso_8601": "2023-12-28T08:26:37.089212Z",
"url": "https://files.pythonhosted.org/packages/12/f4/45925ac3a93487d2cab7a179cedb2d82979efc780def4eed749b1ef834fc/character_range-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f0f8bd029ed06c04c5494ecc901623cb8e8b7482fedb79f364096316c487f4bf",
"md5": "0cd9e616d136e3dac58933ebf209f47b",
"sha256": "1bd822ce5782e0f926e56d662771fa67a642676b045f8618f1d4408df0f3adc7"
},
"downloads": -1,
"filename": "character-range-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "0cd9e616d136e3dac58933ebf209f47b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 19196,
"upload_time": "2023-12-28T08:26:38",
"upload_time_iso_8601": "2023-12-28T08:26:38.933018Z",
"url": "https://files.pythonhosted.org/packages/f0/f8/bd029ed06c04c5494ecc901623cb8e8b7482fedb79f364096316c487f4bf/character-range-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-28 08:26:38",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "InSyncWithFoo",
"github_project": "character-range",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "character-range"
}