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 Python 2.7 and 3.3+. 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.

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.15.0.tar.gz (33.9 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.15.0-py2.py3-none-any.whl (11.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: six-1.15.0.tar.gz
  • Upload date:
  • Size: 33.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for six-1.15.0.tar.gz
Algorithm Hash digest
SHA256 30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259
MD5 9f90a0eaa0ea7747fda01ca79d21ebcb
BLAKE2b-256 6b34415834bfdafca3c5f451532e8a8d9ba89a21c9743a0c59fbd0205c7f9426

See more details on using hashes here.

File details

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

File metadata

  • Download URL: six-1.15.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.0

File hashes

Hashes for six-1.15.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced
MD5 16dc2d0f87a1ed05579ad7c4965cf0ef
BLAKE2b-256 eeff48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a

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