all options
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Source: modernize  ]

Package: modernize (0.9-1)

Links for modernize


Debian Resources:

Download Source Package modernize:


External Resources:

Similar packages:

Modernizes Python code for eventual Python 3 migration

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.

Other Packages Related to modernize

  • depends
  • recommends
  • suggests
  • enhances

Download modernize

Download for all available architectures
Architecture Package Size Installed Size Files
all 6.1 kB17.0 kB [list of files]