Skip to main content

"Flip" characters in a string to create an "upside-down" impression.

Project description

Upsidedown is a simple Python module that “flips” latin characters in a string to create an “upside-down” impression. It makes extensive use of compatible latin characters as encoded in Unicode.

Example

>>> import upsidedown
>>> print upsidedown.transform('hello world!')
¡pꞁɹoʍ oꞁꞁǝɥ

Installing

Run the following to deploy the library on your system:

$ python setup.py install

This does not only install the library but also registers an executable file (on Win32 systems as upsidedown.exe in C:\Python26\Scripts\).

Command line

You can also easily use this software on the command line:

$ echo hello world\! | upsidedown
¡pꞁɹoʍ oꞁꞁǝɥ

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

upsidedown-0.4.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

upsidedown-0.4-py2.py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 2 Python 3

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