Skip to main content

textutils

petite librairie python pour manipuler du texte

Features

  • compter les mots
  • compter les caracteres
  • inverser le texte
  • mettre en majuscule
  • snake_case
  • camelCase
  • faire des slugs pour les urls
  • compter la frequence des mots

Installation

pip install zak-textutils

Usage

from textutils import word_count, snake_case, slugify, word_frequency

word_count("Hello World") # 2
snake_case("Hello World") # hello_world
slugify("Hello World!") # hello-world
word_frequency("hello world hello") # {"hello": 2, "world": 1}

Development

pip install -e ".[dev]"
pytest --cov=textutils
black .
ruff check .

Contributing

Feel free to make a PR if you want to contribute

License

MIT

Metadata

Release files for zak-textutils 1.0.0

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

Source distribution (sdist)

Source distribution for zak-textutils 1.0.0
File Size Uploaded Provenance Actions
zak_textutils-1.0.0.tar.gz 6.3 kB With provenance Details for zak_textutils-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zak-textutils 1.0.0
File Interpreter ABI Platform Actions
zak_textutils-1.0.0-py3-none-any.whl Python 3 none any Details for zak_textutils-1.0.0-py3-none-any.whl

Total release size: 11.9 kB

Release files / zak_textutils-1.0.0.tar.gz

Download URL zak_textutils-1.0.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
27d3286fc78fd0012430a8f9fe4fab286ea60a147913939e28ae8417b858bc5a
BLAKE2b-256 checksum
How to use checksums
5daa5c1be0a70574d39c7fa3b87d4248b90ac0175c01816d24788ee666f64bf9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 6, 2026.

Transparency log

Release files / zak_textutils-1.0.0-py3-none-any.whl

Download URL zak_textutils-1.0.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
327a86f857118bc6f471b14c0dcd8de557d05e07691571e1f3c4ac6bf7776ad6
BLAKE2b-256 checksum
How to use checksums
ed80c4fae8e91def5012e5b0f63e667027a4d8fc63d1064e50da7d3b4fbc9411
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 6, 2026.

Transparency log

Security for zak-textutils 1.0.0

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 zak_textutils-1.0.0.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 6, 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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files Full provenance

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