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

Python VM compatibility library

Project Description

patois is an MIT-licensed compatibility library designed to smooth over differences in various Python VMs, e.g., CPython vs. Jython vs. PyPy vs. IronPython. It provides utility functions with the goal of making it easier to write Python code that is compatible with all the major Python VMs. See the documentation for more information on what is provided.

patois supports Python 2.7, because it is the newest Python that is widely supported by the major VMs.


This package was inspired by Six.


To install patois, simply:

$ pip install patois

Or, if you absolutely must:

$ easy_install patois

But, you really shouldn’t do that.

If you want to vendor the lib for some reason, it’s a single file, so just drop it into your project.


Online documentation is at

How to Contribute

Bugs can be reported to

The code can also be found there. Please feel free to fork it and submit pull requests.


0.1.0 (2014-01-08)

  • Initial project creation
Release History

Release History

This version
History Node


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
patois-0.1.0.tar.gz (8.2 kB) Copy SHA256 Checksum SHA256 Source Jan 8, 2014

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