Skip to main content

stringz

Utilities library for working with strings.

PyPI - Version PyPI - Python Version PyPI - License PyPI - Downloads CI codecov Docs


Simply install this amazing utilities package:

uv add stringz

And immediately get the benefits

from stringz import trunc_str

result = trunc_str("Hello world!", max_chars=10)
print(result)  # Output: 'Hello w...'

Roadmap

only the future will know!

  • Pretty truncation and truncation string type
  • mask for sensitive information masking
  • converters (to_snake, to_camel, etc)
  • join_human that joins using Oxford comma
  • ordinal(22) should give 22nd
  • pluralize("box", n) gives "boxes"... maybe
  • slugify
  • is_blank

License

stringz is distributed under the terms of the MIT license.

Metadata

Release files for stringz 0.1.3

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

Source distribution (sdist)

Source distribution for stringz 0.1.3
File Size Uploaded Provenance Actions
stringz-0.1.3.tar.gz 420.6 kB With provenance Details for stringz-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 424.9 kB

Release files / stringz-0.1.3.tar.gz

Download URL stringz-0.1.3.tar.gz
Size 420.6 kB
Tags Source
SHA-256 checksum
How to use checksums
eb35f2246118c03cca22707403260677d2800a0e2199f2a0b2f81e5e46fc9efd
BLAKE2b-256 checksum
How to use checksums
680f2486256541ab310220efb1d91be4683f535e02e010c2126a57845b1fa394
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Release files / stringz-0.1.3-py3-none-any.whl

Download URL stringz-0.1.3-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
781f139f043db01118759f66301cbe6f707409994039bd91bde3e8bd0d118717
BLAKE2b-256 checksum
How to use checksums
722907482fdf884cce235567b2e6196d2efef18d5921115208730ef4aefd5c86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

Security for stringz 0.1.3

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for stringz-0.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 11, 2026.

Transparency log

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