Skip to main content

vfxGer codecov.io Code Climate PYPI

Pretty Numbers

Pretty Numbers is a simple Python package that displays long series of numbers in a more human readable way.

I have used it for displaying frames of a render in a more human readable way or issues of comic books. It allows the user to quickly see what is included and what is missing.

Installation

It is available on PyPi meaning you can just:

pip install prettynumbers

Usage

import pretty_numbers
pretty_numbers.getPrettyTextFromNumbers([1001, 99, 1004, 1005, 1003, 1008,
                                         1002, 1007, 1010, 1006, 1111, 1009])
# returns "99,1001-1010,1111"

pretty_numbers.getNumbersFromText("7,04,67-70")
# returns {4, 7, 67, 68, 69, 70}

Metadata

Release files for prettynumbers 0.3.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prettynumbers 0.3.15
File Size Uploaded Provenance
prettynumbers-0.3.15.tar.gz 7.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for prettynumbers 0.3.15
File Interpreter ABI Platform
prettynumbers-0.3.15-py3-none-any.whl Python 3 none any Details

Total release size: 16.6 kB

Release files / prettynumbers-0.3.15.tar.gz

Download URL prettynumbers-0.3.15.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ff7ce593f355b3cbdef92879069d0e4429aa2339a90ea31db74f8fed1a172ecf
BLAKE2b-256 checksum
How to use checksums
dc6eb6cf46c19723120b96a3ef91912a854b6dca390e299a50cfd2541c4d433f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.8.18 Linux/5.15.0-1039-aws

Release files / prettynumbers-0.3.15-py3-none-any.whl

Download URL prettynumbers-0.3.15-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df662ef5b300cf623824bd673566a4174876eda3b8fa4e0aca808cf378e94f04
BLAKE2b-256 checksum
How to use checksums
268d0aed4b0919ca54e617096c8a71952e701fd4f8695bb3d1832dc0fbd808af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.6.1 CPython/3.8.18 Linux/5.15.0-1039-aws

Security for prettynumbers 0.3.15

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.

Release history Release notifications | RSS feed

This release

0.3.15 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page