Skip to main content

Helps with sanitizing data.

Project description

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.

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

srambler-1.0.0.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file srambler-1.0.0.tar.gz.

File metadata

  • Download URL: srambler-1.0.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for srambler-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b29043456a69e5f65ac29b2bb95bc23640c68b22b9b9ee9b3be117c10bb6ac3e
MD5 60238da952ea73a0efecb6a749916336
BLAKE2b-256 fcc35d4ab9d2245b07e535fac574e8eedcf8a6013f7da87df7d406f59f11b739

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page