Skip to main content

Extended string utilities with CLI

Project description

stringx

Extended string utilities plus a CLI. Re-exports all string constants and adds helpers for case conversion, slugify, filters, validators, tokens, and more.

Install

pip install stringx

Python

from stringx import ascii_letters, random_string, slugify, to_snake, to_camel, only_digits, is_uuid, safe_filename
print(ascii_letters[:10])
print(random_string(16, "letters+digits", secure=True))
print(slugify("Hello, World!"))
print(to_snake("MyHTTPServer"))
print(to_camel("my_http_server"))
print(only_digits("a1b2c3"))
print(is_uuid("123e4567-e89b-12d3-a456-426614174000"))
print(safe_filename("Quarterly Report: Q1/2025.pdf", allow_dot=True))

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

stringplus-0.1.0.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

stringplus-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file stringplus-0.1.0.tar.gz.

File metadata

  • Download URL: stringplus-0.1.0.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for stringplus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6ea60df5b68f6fe6fbdd8847e3848fe9ffbc4dc3a691a94ca4f9e57cf9f8cb1b
MD5 38cf1892060945472c56205a49eede8f
BLAKE2b-256 2b52b487212cb76a55f4771d73e33d335126b2c8b889ae3d5f1fc8b2188c9c93

See more details on using hashes here.

File details

Details for the file stringplus-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: stringplus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.6

File hashes

Hashes for stringplus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 203daa9d459e79c40ba245f0fb923ebe69f6e82758f75b43d637c95895c35a3d
MD5 43f93dee91be222836059bd8ae8af71d
BLAKE2b-256 3fdd0c2b9e1ded98a45f077bea7cb9d024ae52447f12d5a00516886ae7e92bf1

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