Skip to main content

Python 2 to the power of 3. A lightweight porting helper library.

Project description

Under development.

eight: Python 2 to the power of 3

Eight is a Python module that provides a minimalist compatibility layer between Python 3 and 2. Eight lets you write code for Python 3.3+ while providing limited compatibility with Python 2.7 with no code changes. Eight is inspired by six, but is more lightweight, easier to use, and unambiguously biased toward Python 3 code: if you remove eight from your code, it will continue to function exactly as it did with eight on Python 3.

Installation

pip install eight

Synopsis

from eight import *
from eight import queue

License

Licensed under the terms of the Apache License, Version 2.0.

https://travis-ci.org/kislyuk/eight.png https://coveralls.io/repos/kislyuk/eight/badge.png?branch=master https://pypip.in/v/eight/badge.png https://pypip.in/d/eight/badge.png

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

eight-0.0.2.tar.gz (2.8 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