RangeParser is a Python package to parse ranges easily.
from rangeparser import RangeParser
parser = RangeParser()
parser.parse(‘10,20,30’) # => [10, 20, 30]
parser.parse(‘1-10’) # => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
parser.parse(‘10,20,30,40-45’) # => [10, 20, 30, 40, 41, 42, 43, 44, 45]
Hacking
Make your changes, send a pull request, etc.
If it’s a bug, file an issue, then send a pull request.
Any new features require testing. All tests must pass for a pull request to be submitted.
If it’s a behavior breaking change, email me first (colin@colinwyattwarren.com).
Metadata
Release files for RangeParser 0.1.3
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 |
|---|---|---|---|---|
| RangeParser-0.1.3.tar.gz | 2.7 kB | Without provenance | Details for RangeParser-0.1.3.tar.gz |
Release files / RangeParser-0.1.3.tar.gz
| Download URL | RangeParser-0.1.3.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82303b232b60f34d8bbfbfeb2df846134ca3cf87ba15f3976c4a1634f8e108e6
|
|
BLAKE2b-256 checksum How to use checksums |
16fc801e1ba6a812192d22d6571eb9b415f20b33b71162e417af7971c6ec216f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for RangeParser 0.1.3
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.