Skip to main content

Normalization layer for bytestream and string data across Python 2 and 3

Project description

Ease the crossing - or straddling - of the Python 2 vs Python 3 border, with Persei, a group of helpful classes for dealing with string and binary data in a consistent manner across Python 2.6-3.3.

The name is short for “Unicode-Persei 8”, where the 8 stands for UTF-8. If you don’t get the reference, that’s bad news, but don’t fry your brain on it.

The code is all migrated from EJTP.util.py2and3, which was too globally useful to keep locked up as an EJTP dependency. It was written by Moritz Sichert, with various modifications here and there by others. EJTP 0.9.6+ will depend on Persei as an external dependency.

Project details


Download files

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

Source Distributions

persei-0.1.0.zip (5.7 kB view hashes)

Uploaded Source

persei-0.1.0.tar.gz (5.0 kB view hashes)

Uploaded Source

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