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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fixfmt-0.13.2.tar.gz (118.3 kB view details)

Uploaded Source

File details

Details for the file fixfmt-0.13.2.tar.gz.

File metadata

  • Download URL: fixfmt-0.13.2.tar.gz
  • Upload date:
  • Size: 118.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.7

File hashes

Hashes for fixfmt-0.13.2.tar.gz
Algorithm Hash digest
SHA256 378dc19807ad98679d4ac9617d01116c8f6ebf2115d443a738ea2552a124f7d1
MD5 72f0fd3218b828f398efd8d090c07740
BLAKE2b-256 6b36b6ccd8a46a2d5e33b40b15d859f2862502ee5cf5699b33784d090b48597b

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.13.2 This release

1 file

0.13.1

1 file

0.13.0

1 file

0.12.0

2 files

0.11.1

2 files

0.11.0

2 files

0.10.2

2 files

0.10.1

1 file

0.10.0

2 files

0.9.2

2 files

0.9.1

2 files

0.9.0

1 file

0.8.2

2 files

0.8.0

2 files

0.7.4

2 files

0.7.1

2 files

0.7.0

2 files

0.6.0

1 file

0.5.6

1 file

0.5.5

1 file

0.5.4

1 file

0.5.3

1 file

0.5.2

1 file

0.5.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page