Skip to main content
Titel: textarbeit
Version: 0.8.0
Zweck: Routinen, um reine Texte (*.txt) zu bearbeiten
Pythonversion: Python3
Autor: Batt Bucher
email: batt.bucher.basel@bluewin.ch
---------------------------------------------------------

Das Modul 'textarbeit' bietet Routinen, um reine Texte (*.txt) zu bearbeiten.

ACHTUNG: Es werden nur reine Textdateien verarbeitet
(Ich arbeite mit Linux!)

Folgende Funktionen stellt es zur Verfügung:

help(textarbeit) - gibt eine eine kurze Hilfe zu jeder Funktion aus

Text2Liste(einDatei, ausDatei) - erstellt eine Liste aller Woerter
Text2ListeRein(einDatei, ausDatei): - erstellt eine Liste ohne Sonderzeichen
ListeOhneLeerzeilen(einDatei, ausDatei): entfernt alle Leerzeilen
ListeRein(einDatei, ausDatei) - entfernt Sonderzeichen
ListeSortiert(einDatei, ausDatei): - gibt eine sortierte Liste aus
ListeOhneDuplikate(einDatei, ausDatei) - entfernt alle Duplikate

ListeAnzahlWort(einDatei, ausDatei): - gibt eine Liste geordnet nach Anzahl aus
ListeWortAnzahl(einDatei, ausDatei): gibt eine alphabetische Liste mit Anzahl aus
ListeMinus100(einDatei, ausDatei): löscht die 100 häufigsten deutschen Wörter (aus der Wikipedia)

ZahlPunktLoeschen(einDatei, ausDatei) - 123. Hallo wird Hallo

Minus3Lz(einDatei, ausDatei) - macht aus 3 Leerzeichen 1
Minus2Lz(einDatei, ausDatei) - macht aus 2 Leerzeichen 1
MinusLzLinks(einDatei, ausDatei) - entfernt Leerzeichen links
MinusLzRechts(einDatei, ausDatei) - entfernt Leerzeichen rechts

Anwendungsbeispiel:
import textarbeit
textarbeit.Minus3Lz("/home/beat/texte.txt","/home/beat/texte2.txt")
textarbeit.Text2Liste("/home/beat/texte.txt","/home/beat/texte2.lst")

Metadata

Release files for textarbeit 0.8.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 textarbeit 0.8.0
File Size Uploaded Provenance Actions
textarbeit-0.8.0.tar.gz 3.0 kB Without provenance Details for textarbeit-0.8.0.tar.gz

Release files / textarbeit-0.8.0.tar.gz

Download URL textarbeit-0.8.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2470b982a48099f98593a464c52358644c8d437b636474ab93e514b383439a4a
BLAKE2b-256 checksum
How to use checksums
1e7e7ffcdb1d50477c61dda3e8a88af89e3ff712fe0fd755a27e537c1a6143de
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for textarbeit 0.8.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.

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