Skip to main content

Python 2 and 3 compatibility utilities

Project description

six on PyPI six on TravisCI six's documentation on Read the Docs MIT License badge

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 https://six.readthedocs.io/.

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.13.0.tar.gz (33.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: six-1.13.0.tar.gz
  • Upload date:
  • Size: 33.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

File hashes

Hashes for six-1.13.0.tar.gz
Algorithm Hash digest
SHA256 30f610279e8b2578cab6db20741130331735c781b56053c59c4076da27f06b66
MD5 e92c23c882c7d5564ce5773fe31b2771
BLAKE2b-256 943eedcf6fef41d89187df7e38e868b2dd2182677922b600e880baad7749c865

See more details on using hashes here.

File details

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

File metadata

  • Download URL: six-1.13.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.8.0

File hashes

Hashes for six-1.13.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 1f1b7d42e254082a9db6279deae68afb421ceba6158efa6131de7b3003ee93fd
MD5 b642ef493974a23bb77f5c7e0e08b204
BLAKE2b-256 652632b8464df2a97e6dd1b656ed26b2c194606c16fe163c695a992b36c11cdf

See more details on using hashes here.

Supported by

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