Python 2 and 3 compatibility utilities
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.5. 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://pythonhosted.org/six/.
Bugs can be reported to http://bitbucket.org/gutworth/six. The code can also be found there.
For questions about six or porting in general, email the python-porting mailing list: http://mail.python.org/mailman/listinfo/python-porting
Release history Release notifications
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size & hash SHA256 hash help||File type||Python version||Upload date|
|six-1.5.1-py2.py3-none-any.whl (8.4 kB) Copy SHA256 hash SHA256||Wheel||3.3||Jan 5, 2014|
|six-1.5.1.tar.gz (24.0 kB) Copy SHA256 hash SHA256||Source||None||Jan 5, 2014|