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

Uploaded Source

Built Distribution

six-1.16.0-py2.py3-none-any.whl (11.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: six-1.16.0.tar.gz
  • Upload date:
  • Size: 34.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.7

File hashes

Hashes for six-1.16.0.tar.gz
Algorithm Hash digest
SHA256 1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
MD5 a7c927740e4964dd29b72cebfc1429bb
BLAKE2b-256 7139171f1c67cd00715f190ba0b100d606d440a28c93c7714febeca8b79af85e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: six-1.16.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.7

File hashes

Hashes for six-1.16.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254
MD5 529d7fd7e14612ccde86417b4402d6f3
BLAKE2b-256 d95ae7c31adbe875f2abbb91bd84cf2dc52d792b5a01506781dbcf25c91daf11

See more details on using hashes here.

Supported by

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