Skip to main content

Python 2 and 3 compatibility utilities

Project description

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.5. 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://pythonhosted.org/six/.

Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be found there.

For questions about six or porting in general, email the python-porting mailing list: http://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.5.1.tar.gz (24.0 kB view details)

Uploaded Source

Built Distribution

six-1.5.1-py2.py3-none-any.whl (8.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for six-1.5.1.tar.gz
Algorithm Hash digest
SHA256 485e543ba816b631f15b3b217f5cc190da1ea2cb4a8c66dbacdc030aef0ba380
MD5 bb00c982fc0ec0dd6a760500b0941fa9
BLAKE2b-256 0b5e4b3f417a85d9cd30b172a1512a2d3cdd0ffb05a5deacb8adf2ef30db100d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for six-1.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a5f2b285f03dd620ea16d22d0986d82d16340ef684445c7ba9ce8a7c1d76046e
MD5 2064b715201fa76a55dea75675ee19f2
BLAKE2b-256 608472c628d5a4efffb23e2fb46cdbf8ee669046d8208ba5dab08f989b7bfe9c

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