Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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.

Release History

Release History

This version
History Node

1.0.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
srambler-1.0.0.tar.gz (3.4 kB) Copy SHA256 Checksum SHA256 Source Aug 19, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting