Clicky

six

Python 2 and 3 compatibility utilities

six has 22675917 downloads during the past 30 days.

Downloads By Date

                SELECT
    COUNT(*) AS downloads,
    FORMAT_TIMESTAMP("%Y-%m-%d", timestamp) AS date_str
FROM
    `the-psf.pypi.downloads*`
WHERE
    _TABLE_SUFFIX BETWEEN '20170130' AND '20181019' AND
    file.project = 'six'
GROUP BY
    date_str
ORDER BY
    date_str
            

Total Downloads

                SELECT
    COUNT(*) AS total_downloads 
FROM
    `the-psf.pypi.downloads*`
WHERE
    _TABLE_SUFFIX BETWEEN '20170130' AND '20181019' AND
    file.project = 'six'
            
https://travis-ci.org/benjaminp/six.svg?branch=master

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 http://six.rtfd.org.

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

Image link:
https://pypistats.com/badge/six.png
Markdown:
![six PyPI Downloads](https://pypistats.com/badge/six.png)
reStructuredText
.. figure:: https://pypistats.com/badge/six.png
:alt: six PyPI Downloads

six PyPI Downloads