Installation
With poetry
poetry add numeric_notation_parser
With pip
pip install numeric_notation_parser
Supported formats
Input is marked as a string, output as a list of int
| Input | Output as list |
|---|---|
| 10,11,22 | [10, 11, 22] |
| 0-10 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10] |
| 0-10/2 | [0, 2, 4, 6, 8, 10] |
| 10--10/3 | [10, 7, 4, 1, -2, -5, -8] |
Example
from numeric_notation_parser import notation_to_integer_generator
Release files for numeric_notation_parser 1.0.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 | |
|---|---|---|---|
| numeric_notation_parser-1.0.0.tar.gz | 2.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| numeric_notation_parser-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.6 kB
Release files / numeric_notation_parser-1.0.0.tar.gz
| Download URL | numeric_notation_parser-1.0.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4218071bff45bf1c3427672ba740d121d9d57a44cd683b2f701b917b838c377c
|
|
BLAKE2b-256 checksum How to use checksums |
c559a47e61462ad8a735596beeb9a6de7bf481f57652671861a67bed036b3c3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.6 Linux/6.6.10-arch1-1
|
Release files / numeric_notation_parser-1.0.0-py3-none-any.whl
| Download URL | numeric_notation_parser-1.0.0-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
307583fb7472e58ea034a1f0ca46499e1a47c35b687d8f0a328258cc79539dbe
|
|
BLAKE2b-256 checksum How to use checksums |
8c3fae510e3ad75831b0df9699761050f5aeb396afd4fb08026c67d52451b37a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.6 Linux/6.6.10-arch1-1
|