modernize
Modernizes Python code for eventual Python 3 migration
Command lineDevelopment
Not tested on a device yet. What that means
Commands in the package
modernizepython-modernize
About modernize
From Debian's package description
This library is a very thin wrapper around fissix (2to3 fork) to utilize it to make Python 2 code more modern with the intention of eventually porting it over to Python 3.
This package installs the python-modernize command line tool. It works like 2to3. It does not guarantee, but it attempts to spit out a codebase compatible with Python 2.6+ or Python 3. The code that it generates has a runtime dependency on six, unless the --no-six option is used. Version 1.9.0 or later of six is recommended. Some of the fixers output code that is not compatible with Python 2.5 or lower.
From Debian's description of the modernize package, under that package's license.
Dependencies
Depends on
python3-libmodernizepython3
Related apps
- python-is-python3symlinks /usr/bin/python to python3Command line
- blackuncompromising Python code formatter (Python 3)Command line
- yapf3Python code formatter for different styles (Python 3)Command line
Jupyter NotebookRun Jupyter Notebook- pyenvSimple Python version managementCommand line
- alembiclightweight database migration tool for SQLAlchemyCommand line
Sources and licenses
- Name: the Debian package name.
- Summary: Debian's short description of the modernize package, under that package's license.
- Description: Debian's description of the modernize package, under that package's license.
- Versions and sizes: Debian's archive for ARM64, as on packages.debian.org.
- Popularity: Debian Popularity Contest counts.
More in About the catalog.