The Stringty is a Python library for manipulating file content in a simple way. either replacing all content or appending new content.
Installation
pip install stringty
Replace the entire content
from stringty import Stringty
content = """
a = "ab2c"
print(a)"""
Stringty().rescript("test.py", content)
Append content to the end
from stringty import Stringty
content = """
a = "ab2c"
print(a)"""
Stringty().imprement("test.py", content)
Metadata
Release files for stringty 0.0.2.2
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 |
|---|---|---|---|---|
| stringty-0.0.2.2.tar.gz | 2.5 kB | Without provenance | Details for stringty-0.0.2.2.tar.gz |
Release files / stringty-0.0.2.2.tar.gz
| Download URL | stringty-0.0.2.2.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11afe2f981f42ceb9eaa8002d8f927a0190c1e557766e95520b71772086dd0d7
|
|
BLAKE2b-256 checksum How to use checksums |
d497140ab01860f99e30a225a1877e186b10d6b1d99e619159ef2c63c616ac66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Security for stringty 0.0.2.2
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.