Skip to main content

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.

Inspiration

This package was inspired by Six.

Installation

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.

Documentation

Online documentation is at https://readthedocs.org/patois

How to Contribute

Bugs can be reported to https://github.com/gthank/patois

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

History

0.1.0 (2014-01-08)

  • Initial project creation

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

patois-0.1.0.tar.gz (8.2 kB view details)

Uploaded Source

File details

Details for the file patois-0.1.0.tar.gz.

File metadata

  • Download URL: patois-0.1.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for patois-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f6c132ae629742cee00f267576eb121008f7025f2810b9687ebb4c5890885227
MD5 3d69416deab354ff6543b76fd48ca824
BLAKE2b-256 f555892cb0c37200f1231607055f173e8e39ad7bd340be347a8bbf66841928fd

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