Character range
This package does exactly what it says on the tin: Create a string or bytes range.
from character_range import (
ByteMap, character_range, CharacterMap,
string_range, bytes_range
)
print(list(character_range('a', 'z')))
# 'a', 'b', ..., 'y', 'z'
for element in string_range('aaa', 'aba', CharacterMap.ASCII_LOWERCASE):
print(element) # 'aaa', 'aab', ..., 'aay', 'aaz', 'aba'
for element in bytes_range(b'0', b'10', ByteMap.ASCII_LOWERCASE):
print(element) # b'0', b'1', ..., b'9', b'00', b'01', ..., b'09', b'10'
For more information, see the documentation.
Installation
This package is available on PyPI:
$ pip install character-range
Contributing
Please see Contributing for more information.
Metadata
Release files for character-range 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| character-range-0.2.0.tar.gz | 20.9 kB | Without provenance | Details for character-range-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| character_range-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for character_range-0.2.0-py3-none-any.whl |
Total release size: 36.0 kB
Release files / character-range-0.2.0.tar.gz
| Download URL | character-range-0.2.0.tar.gz |
|---|---|
| Size | 20.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88ca6d44c5c6156c328b87bcf97b72e2c317228f9066e7d1327c305306e90824
|
|
BLAKE2b-256 checksum How to use checksums |
5294778f3f5f19b2d807dc7f7fcb3e70befd6df635706e7643451e1c3ea9319c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Release files / character_range-0.2.0-py3-none-any.whl
| Download URL | character_range-0.2.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e508b7d125fd044c81fa8efd64213c7de9216b8f2f07120d1b072983566e9b82
|
|
BLAKE2b-256 checksum How to use checksums |
a197bb6d85b7210da3afb93f3029ff1887c35a461ab48878b548c1c24cfc521c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/4.0.2 CPython/3.11.7
|
Security for character-range 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.