Skip to main content

Donations

It takes me a long time to make these libraries. If you would like to support my work, Then you can follow my patreon :)

https://www.patreon.com/Schkimansky

Library

Made as a part of the zen standard library python project, This library is the successor / replacer of the standard module string. This replacement is easier to use, And has more features. Here's a example with a TextTemplate (Called "Template" in string)

import zstring

template = zstring.TextTemplate("Hello, $name! I heard that you're feeling $mood")
values = {"name": "alice", "mood": "sad"}

print(template.fill(values))

Installation

pip install zstring

Metadata

Release files for zstring 1.0.4

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

Source distribution (sdist)

Source distribution for zstring 1.0.4
File Size Uploaded Provenance Actions
zstring-1.0.4.tar.gz 6.6 kB Without provenance Details for zstring-1.0.4.tar.gz

Built distribution (wheel)

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

Total release size: 13.3 kB

Release files / zstring-1.0.4.tar.gz

Download URL zstring-1.0.4.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
af51b8c09d9259c776f329ee0c2e8c62fc3c458659988e26cdb428e42cf06dd9
BLAKE2b-256 checksum
How to use checksums
0b43dc483cb860c28d49c509a810e5b2f7ab753ad8fde74ab8e0d0d92dcfffa5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Release files / zstring-1.0.4-py3-none-any.whl

Download URL zstring-1.0.4-py3-none-any.whl
Size 6.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7b7621dd4462878d4c8e9d5a17792c55dbbfbe6f0cc58d6fcdb7b5a7b7ea0875
BLAKE2b-256 checksum
How to use checksums
20f1fff8aee1401960bf9fd91ec1f685ee8af280f27d2f0300bb4ea42bd51c97
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.3

Security for zstring 1.0.4

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.

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