Skip to main content

xpute

Project description

xpute

printf/sprintf-like formatter.

Install

pip install xpute

Usage

from xpute import printf, sprintf

printf("hello %s %d\n", "xpute", 123)
s = sprintf("0x%08x\n", 0x1234)

Notes

Portable subset, not a full C printf.

Project details


Download files

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

Source Distribution

xpute-0.0.2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xpute-0.0.2-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

File details

Details for the file xpute-0.0.2.tar.gz.

File metadata

  • Download URL: xpute-0.0.2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for xpute-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2e38d9ed4f7f4267fec9b062d49573891ac8b7f3f862a4c75a62b79e4626cc1b
MD5 9f3653cf79d8001805f2d2f6a405a47a
BLAKE2b-256 0f80a78c699e6f2cc920c3571780b50e112451858bef20b7ad88e0dea033609b

See more details on using hashes here.

File details

Details for the file xpute-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: xpute-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 11.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for xpute-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6d9e9c31ceb8d320c284cd1b96222ff3e2648fb466756ecabb0888290602c470
MD5 cd573d299b1150bb5406b55daa23ee2e
BLAKE2b-256 5f20b7daf0431ebae26912cea915ba0dbfc0ff804decccbc31b2a5d79140ac8f

See more details on using hashes here.

Supported by

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