Skip to main content

Python 2 and 3 compatibility utilities

Project description

http://img.shields.io/pypi/v/six.svg https://travis-ci.org/benjaminp/six.svg?branch=master http://img.shields.io/badge/license-MIT-green.svg

Six is a Python 2 and 3 compatibility library. It provides utility functions for smoothing over the differences between the Python versions with the goal of writing Python code that is compatible on both Python versions. See the documentation for more information on what is provided.

Six supports every Python version since 2.6. It is contained in only one Python file, so it can be easily copied into your project. (The copyright and license notice must be retained.)

Online documentation is at http://six.rtfd.org.

Bugs can be reported to https://github.com/benjaminp/six. The code can also be found there.

For questions about six or porting in general, email the python-porting mailing list: https://mail.python.org/mailman/listinfo/python-porting

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

six-1.11.0.tar.gz (29.9 kB view details)

Uploaded Source

Built Distribution

six-1.11.0-py2.py3-none-any.whl (10.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file six-1.11.0.tar.gz.

File metadata

  • Download URL: six-1.11.0.tar.gz
  • Upload date:
  • Size: 29.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for six-1.11.0.tar.gz
Algorithm Hash digest
SHA256 70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9
MD5 d12789f9baf7e9fb2524c0c64f1773f8
BLAKE2b-256 16d8bc6316cf98419719bd59c91742194c111b6f2e85abac88e496adefaf7afe

See more details on using hashes here.

File details

Details for the file six-1.11.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for six-1.11.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 832dc0e10feb1aa2c68dcc57dbb658f1c7e65b9b61af69048abc87a2db00a0eb
MD5 866ab722be6bdfed6830f3179af65468
BLAKE2b-256 674b141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page