Breadstick Get it on Google Play

modernize

Modernizes Python code for eventual Python 3 migration

Command lineDevelopment

Install

Not tested on a device yet. What that means

Commands in the package

  • modernize
  • python-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

Related apps

All Linux development tools

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.