Skip to main content

schwurbler

Mangle strings by repeated Google Translate

Description

This module offers functions to destroy text by feeding it through multiple languages in Google Translate.

Installation

The project is available on PyPI, so simply invoke the following to install the package:

pip install schwurbler

Usage

Schwurbler’s functions are contained in the schwurbler package, so simply import it:

import schwurbler

The two main functions are fixed path schwurbles and set ratio schwurbles. The former translates text through a fixed set of languages and the latter randomly picks languages to translate a string through until it only resembles the original by a certain token set ratio:

import schwurbler
translated = schwurbler.path_schwurbel(['en', 'ja', 'en'], 'Hello world!')
translates = schwurbler.set_ratio_schwurbel('Hello world!', 'en', ratio=50)

More information on the usage can be found in the API reference.

Metadata

Release files for schwurbler 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for schwurbler 1.0.3
File Size Uploaded Provenance Actions
schwurbler-1.0.3.tar.gz 18.4 kB Without provenance Details for schwurbler-1.0.3.tar.gz

Release files / schwurbler-1.0.3.tar.gz

Download URL schwurbler-1.0.3.tar.gz
Size 18.4 kB
Tags Source
SHA-256 checksum
How to use checksums
55fb065e7cd704ee93582a3648629bb0c121b2f0420081985abdccfb8471031f
BLAKE2b-256 checksum
How to use checksums
f08a509b51f1ecc16719e978ac611a271edf7e8dced2f86cf3daaccb7fb6d281
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for schwurbler 1.0.3

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.

Release history Release notifications | RSS feed

This release

1.0.3 This release

1 release file No provenance

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