StringFormat
StringFormat is an independent port of the Python 3 advanced string formatting, compatible with Python >= 2.4. This implementation is pure Python.
Add the method str.format only if it is missing (Python < 2.6):
import stringformat stringformat.init()
Enable auto-numbering fields ("{} {}" instead of "{0} {1}") with Python 2.6 also:
import sys
import stringformat
if sys.version_info < (2, 7):
stringformat.init(True)
The advanced string formatting is officially included in the language since Python 2.6.
http://docs.python.org/whatsnew/2.6.html#pep-3101-advanced-string-formatting
Metadata
Release files for StringFormat 0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| StringFormat-0.5.tar.gz | 10.8 kB | Without provenance | Details |
Release files / StringFormat-0.5.tar.gz
| Download URL | StringFormat-0.5.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9f22724f84accb8e8db60a0d49f08712a7e1c2c346162ce1536389077db7a9d
|
|
BLAKE2b-256 checksum How to use checksums |
291ceb571296afd851fde78591c78b83968a0d05627b6d2c257ec980a1160884
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for StringFormat 0.5
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.