{"library":"future","type":"library","category":null,"description":"future is the missing compatibility layer between Python 2 and Python 3. It allows you to use a single, clean Python 3.x-compatible codebase to support both Python 2 and Python 3 with minimal overhead. It provides `future` and `past` packages with backports and forward ports of features from Python 3 and 2, and includes `futurize` and `pasteurize` scripts for automated code conversion. The latest version is 1.0.0, and while feature development is complete, it supports Python 3.12.","language":"python","status":"maintenance","version":"1.0.0","tags":["python2","python3","compatibility","migration","backport","futurize","pasteurize","six","2to3"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install future","imports":["from builtins import (bytes, dict, int, list, object, range, str,\n                       ascii, chr, hex, input, next, oct, open, pow,\n                       round, super, filter, map, zip)","from future.standard_library import install_aliases\ninstall_aliases()","from __future__ import (absolute_import, division, print_function, unicode_literals)","from past.builtins import basestring, unicode"]},{"cmd":"pip install future  # Requires Python >=2.6, !=3.0.*, !=3.1.*, !=3.2.*","imports":[]}],"homepage":"https://python-future.org","github":"https://github.com/PythonCharmers/python-future","docs":null,"changelog":null,"pypi":"https://pypi.org/project/future/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":75,"avg_install_s":1.8,"avg_import_s":null,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/future/compatibility"}}