Skip to main content

A C++ and Python library for formatting values (numbers, strings, etc.) in fixed-width fields. Useful for printing tabular data and similar.

For example, strings:

>>> fmt = fixfmt.String(10)
>>> fmt("testing")
'testing   '
>>> fmt("Hello, world!")
'Hello, wo…'

and numbers:

>>> fmt = fixfmt.Number(3, 3)
>>> fmt(math.pi)
'   3.142'

Includes C++ and Python libraries. Requires a C++14 compiler and GNU Make to build.

Metadata

Release files for fixfmt 0.13.2

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

Source distribution (sdist)

Source distribution for fixfmt 0.13.2
File Size Uploaded Provenance
fixfmt-0.13.2.tar.gz 118.3 kB Without provenance Details

Release files / fixfmt-0.13.2.tar.gz

Download URL fixfmt-0.13.2.tar.gz
Size 118.3 kB
Tags Source
SHA-256 checksum
How to use checksums
378dc19807ad98679d4ac9617d01116c8f6ebf2115d443a738ea2552a124f7d1
BLAKE2b-256 checksum
How to use checksums
6b36b6ccd8a46a2d5e33b40b15d859f2862502ee5cf5699b33784d090b48597b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Security for fixfmt 0.13.2

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.

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