Skip to main content

Srambler is a utility class to assist with tasks like sanitizing data for a developer DB or, for just scrambling strings/ints/floats/bools.

Why is it called Srambler?

“Srambler” is how my four year old said the word “scrambler” when he was around 2 years old. Also, Web 2.0 and

marketing firms have conditioned me to spell things incorrectly.

How do I use it?

Put srambler in your Python path then:

>>> from srambler import Srambler
>>> Srambler.srambled("Jimmy Page")
'YBNnm seua'
>>> Srambler.srambled("867-5309")
'949-1209'

I realize it may become tedious to type srambled over and over again. So, you could also do it this way:

>>> from srambler import scramble
>>> scramble("$33.49")
'$86.13'
>>> scramble(1620)
2280

Status

Srambler is the product of an ad-hoc job (needed to sanitize some data before handing a SQL dump off via email), and is still very young.

Metadata

Release files for srambler 1.0.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 srambler 1.0.0
File Size Uploaded
srambler-1.0.0.tar.gz 3.4 kB Details

Release files / srambler-1.0.0.tar.gz

Download URL srambler-1.0.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b29043456a69e5f65ac29b2bb95bc23640c68b22b9b9ee9b3be117c10bb6ac3e
BLAKE2b-256 checksum
How to use checksums
fcc35d4ab9d2245b07e535fac574e8eedcf8a6013f7da87df7d406f59f11b739
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release 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