six /

Filename Size Date modified Message
72 B
Introduce viewkeys(), viewvalues(), and viewitems().
848 B
Added tag 1.9.0 for changeset a9b120c9c497
7.2 KB
improve performance of int2byte on python 3 (fixes #122)
609 B
add Wouter Bolsterlee
1.0 KB
update copyright year
114 B
add CHANGES file to tarball
772 B
use https links
245 B
added flake8 for pep8 and pyflakes support
852 B
set license
29.4 KB
improve performance of int2byte on python 3 (fixes #122)
24.1 KB
improve performance of int2byte on python 3 (fixes #122)
283 B
tox.ini edited online with Bitbucket

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

Bugs can be reported to The code can also be found there.

For questions about six or porting in general, email the python-porting mailing list: