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

Uploaded Source

Built Distribution

six-1.12.0-py2.py3-none-any.whl (10.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: six-1.12.0.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for six-1.12.0.tar.gz
Algorithm Hash digest
SHA256 d16a0141ec1a18405cd4ce8b4613101da75da0e9a7aec5bdd4fa804d0e0eba73
MD5 9ae5d1feed8c0215f4ae4adcd9207fcb
BLAKE2b-256 ddbf4138e7bfb757de47d1f4b6994648ec67a51efe58fa907c1e11e350cddfca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: six-1.12.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for six-1.12.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 3350809f0555b11f552448330d0b52d5f24c91a322ea4a15ef22629740f3761c
MD5 b0dc15d494e2d6e6c19cbbe482e91c5d
BLAKE2b-256 73fb00a976f728d0d1fecfe898238ce23f502a721c0ac0ecfedb80e0d88c64e9

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