Skip to main content

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)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stringty-0.0.2.2.tar.gz (2.5 kB view details)

Uploaded Source

File details

Details for the file stringty-0.0.2.2.tar.gz.

File metadata

  • Download URL: stringty-0.0.2.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for stringty-0.0.2.2.tar.gz
Algorithm Hash digest
SHA256 11afe2f981f42ceb9eaa8002d8f927a0190c1e557766e95520b71772086dd0d7
MD5 80be45ebc546d64125470e4275060550
BLAKE2b-256 d497140ab01860f99e30a225a1877e186b10d6b1d99e619159ef2c63c616ac66

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2.2 This release

1 file

0.0.2.1

1 file

0.0.2

1 file

0.0.1

1 file

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