promptutils
clean_prompt() removes comments (lines starting with #) and extra whitespace from messy prompts.
from promptutils import clean_prompt
clean_prompt(" # comment\n hello world ") # -> "hello world"
Install: uv pip install git+https://github.com/testy-cool/promptutils.git@main
Installation
Install directly from GitHub using your preferred installer. With uv (recommended):
Metadata
Release files for promptutils 0.1.0
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 | Actions |
|---|---|---|---|---|
| promptutils-0.1.0.tar.gz | 1.9 kB | Without provenance | Details for promptutils-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| promptutils-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for promptutils-0.1.0-py3-none-any.whl |
Total release size: 4.0 kB
Release files / promptutils-0.1.0.tar.gz
| Download URL | promptutils-0.1.0.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ca2a6deea649cb73c184eb5778a2e5ec5facfe0233945c5f6e989054e32aa860
|
|
BLAKE2b-256 checksum How to use checksums |
87601b46e3d9677912d742166e7d70d42b7e3919679128aa2a1cba87938c5bec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / promptutils-0.1.0-py3-none-any.whl
| Download URL | promptutils-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc36c8feba43e0f290ff2d3d3ed00b9c953a010dc245a19bd59a2fbf8120cb1b
|
|
BLAKE2b-256 checksum How to use checksums |
0757ca3d80b06f81abf5f35f169176ed5eb018b1b430181dbdfdc2fecdf6ab45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for promptutils 0.1.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.
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.