Skip to main content

qstrbuilder: Build Strings Quantitatively

qstrbuilder is a number formatter that use numerical parameters (rather than magic string) to control the number formatting.

API

build(number: float, width: Optional[int]=None, precision: Optional[int]=None) -> str

Usage Example

from qstrbuilder import build
s = build(2., width=4, precision=1)
print(s)   # Output " 2.0"

Metadata

Release files for qstrbuilder 0.1.0

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

Source distribution (sdist)

Source distribution for qstrbuilder 0.1.0
File Size Uploaded Provenance
qstrbuilder-0.1.0.tar.gz 1.7 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 3.7 kB

Release files / qstrbuilder-0.1.0.tar.gz

Download URL qstrbuilder-0.1.0.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
662576bf8f724cffe0cc72ca759705537b3d23fdd0bb61c60ac663ce79495d9e
BLAKE2b-256 checksum
How to use checksums
583a5f7363f3dd174c7a8e095d954c31e03a03e6ba6da7a58193b7e445f2a600
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Release files / qstrbuilder-0.1.0-py3-none-any.whl

Download URL qstrbuilder-0.1.0-py3-none-any.whl
Size 2.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
18b8c96c78e15f9882c70d670dd4fbd65055f2ed8d31fa82e6858457657b8e77
BLAKE2b-256 checksum
How to use checksums
d69639f5f99429d20c7699bd53d78081ca9401a5d3535075b2cb265a5e35670e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.7

Security for qstrbuilder 0.1.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.

Release history Release notifications | RSS feed

This release

0.1.0 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