{"library":"six","type":"library","category":null,"description":"six is a Python 2 and 3 compatibility library that provides utility functions for smoothing over differences between the two Python versions, enabling codebases to run on both without modification. It consists of a single Python file (six.py) covering string types, integer types, standard library moves, metaclass helpers, and more. Current version is 1.17.0, released December 2024. The project is in maintenance mode: Python 2 reached end-of-life in 2020, and in 2024 it is entirely normal for projects to support only Python 3, so new code should not take a dependency on six — it is primarily relevant for maintaining legacy dual-version codebases or as a transitive dependency.","language":"python","status":"maintenance","version":"1.17.0","tags":["compatibility","python2","python3","utilities","stdlib","legacy","maintenance"],"install":[{"cmd":"pip install six","imports":["import six","import six\nisinstance(value, six.string_types)","from six.moves import urllib\nfrom six.moves import range\nfrom six.moves import configparser","from six import with_metaclass\nclass MyClass(with_metaclass(Meta, Base)): pass","from six import add_metaclass\n@add_metaclass(Meta)\nclass MyClass(object): pass","from six import reraise\nreraise(tp, value, tb=None)","from six.moves.urllib.parse import urlencode\nfrom six.moves.urllib.request import urlopen"]}],"homepage":null,"github":"https://github.com/benjaminp/six","docs":null,"changelog":null,"pypi":"https://pypi.org/project/six/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/six/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sat Jun 27","last_verified":"Sat Jun 27","next_check":"Mon Jul 27","install_tag":"verified"}}