Skip to main content

Uma biblioteca PYTHON para editar conteúdo de arquivos, substitua todo o conteúdo ou adicione algo a mais.

Project description

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)"""

Redacty().rescript("test.py", content)

Append content to the end

from stringty import Stringty

content = """
a = "ab2c"


print(a)"""

Redacty().imprement("test.py", content)

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

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

Uploaded Source

File details

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

File metadata

  • Download URL: stringty-0.0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 46e239a736761dc4e4850993aa10407fdf5aca156b10ef744713410fbba3c2ec
MD5 8b5d0025c1e0bf32d6df9176152a7e13
BLAKE2b-256 d8a3a35aff170900b6ba503ba52a3a8a55eef9aec1b51f58345e24b347312e03

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