comparison env/lib/python3.7/site-packages/future-0.18.2-py3.7.egg-info/PKG-INFO @ 0:26e78fe6e8c4 draft

"planemo upload commit c699937486c35866861690329de38ec1a5d9f783"
author shellac
date Sat, 02 May 2020 07:14:21 -0400
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:26e78fe6e8c4
1 Metadata-Version: 1.2
2 Name: future
3 Version: 0.18.2
4 Summary: Clean single-source support for Python 3 and 2
5 Home-page: https://python-future.org
6 Author: Ed Schofield
7 Author-email: ed@pythoncharmers.com
8 License: MIT
9 Description:
10 future: Easy, safe support for Python 2/3 compatibility
11 =======================================================
12
13 ``future`` is the missing compatibility layer between Python 2 and Python
14 3. It allows you to use a single, clean Python 3.x-compatible codebase to
15 support both Python 2 and Python 3 with minimal overhead.
16
17 It is designed to be used as follows::
18
19 from __future__ import (absolute_import, division,
20 print_function, unicode_literals)
21 from builtins import (
22 bytes, dict, int, list, object, range, str,
23 ascii, chr, hex, input, next, oct, open,
24 pow, round, super,
25 filter, map, zip)
26
27 followed by predominantly standard, idiomatic Python 3 code that then runs
28 similarly on Python 2.6/2.7 and Python 3.3+.
29
30 The imports have no effect on Python 3. On Python 2, they shadow the
31 corresponding builtins, which normally have different semantics on Python 3
32 versus 2, to provide their Python 3 semantics.
33
34
35 Standard library reorganization
36 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
37
38 ``future`` supports the standard library reorganization (PEP 3108) through the
39 following Py3 interfaces:
40
41 >>> # Top-level packages with Py3 names provided on Py2:
42 >>> import html.parser
43 >>> import queue
44 >>> import tkinter.dialog
45 >>> import xmlrpc.client
46 >>> # etc.
47
48 >>> # Aliases provided for extensions to existing Py2 module names:
49 >>> from future.standard_library import install_aliases
50 >>> install_aliases()
51
52 >>> from collections import Counter, OrderedDict # backported to Py2.6
53 >>> from collections import UserDict, UserList, UserString
54 >>> import urllib.request
55 >>> from itertools import filterfalse, zip_longest
56 >>> from subprocess import getoutput, getstatusoutput
57
58
59 Automatic conversion
60 --------------------
61
62 An included script called `futurize
63 <http://python-future.org/automatic_conversion.html>`_ aids in converting
64 code (from either Python 2 or Python 3) to code compatible with both
65 platforms. It is similar to ``python-modernize`` but goes further in
66 providing Python 3 compatibility through the use of the backported types
67 and builtin functions in ``future``.
68
69
70 Documentation
71 -------------
72
73 See: http://python-future.org
74
75
76 Credits
77 -------
78
79 :Author: Ed Schofield, Jordan M. Adler, et al
80 :Sponsor: Python Charmers Pty Ltd, Australia, and Python Charmers Pte
81 Ltd, Singapore. http://pythoncharmers.com
82 :Others: See docs/credits.rst or http://python-future.org/credits.html
83
84
85 Licensing
86 ---------
87 Copyright 2013-2019 Python Charmers Pty Ltd, Australia.
88 The software is distributed under an MIT licence. See LICENSE.txt.
89
90
91 Keywords: future past python3 migration futurize backport six 2to3 modernize pasteurize 3to2
92 Platform: UNKNOWN
93 Classifier: Programming Language :: Python
94 Classifier: Programming Language :: Python :: 2
95 Classifier: Programming Language :: Python :: 2.6
96 Classifier: Programming Language :: Python :: 2.7
97 Classifier: Programming Language :: Python :: 3
98 Classifier: Programming Language :: Python :: 3.3
99 Classifier: Programming Language :: Python :: 3.4
100 Classifier: Programming Language :: Python :: 3.5
101 Classifier: Programming Language :: Python :: 3.6
102 Classifier: Programming Language :: Python :: 3.7
103 Classifier: License :: OSI Approved
104 Classifier: License :: OSI Approved :: MIT License
105 Classifier: Development Status :: 4 - Beta
106 Classifier: Intended Audience :: Developers
107 Requires-Python: >=2.6, !=3.0.*, !=3.1.*, !=3.2.*