Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: use modernize 0.8rc0

Python           _              _
   _ __  ___  __| |___ _ _ _ _ (_)______
  | '  \/ _ \/ _` / -_) '_| ' \| |_ / -_)
  |_|_|_\___/\__,_\___|_| |_||_|_/__\___|

This library is a very thin wrapper around fissix to utilize it to make Python 2 code more modern with the intention of eventually porting it over to Python 3.

The python-modernize command works like 2to3. Here’s how you’d rewrite a single file:

python-modernize -w example.py

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.

Documentation: python-modernize.readthedocs.io.

See the LICENSE file for the license of python-modernize. Using this tool does not affect licensing of the modernized code.

Documentation Status https://api.travis-ci.org/python-modernize/python-modernize.svg?branch=master https://coveralls.io/repos/python-modernize/python-modernize/badge.png?branch=master

Release files for modernize-fissix 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for modernize-fissix 0.7
File Size Uploaded
modernize-fissix-0.7.tar.gz 18.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for modernize-fissix 0.7
File Interpreter ABI Platform
modernize_fissix-0.7-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 45.7 kB

Release files / modernize-fissix-0.7.tar.gz

Download URL modernize-fissix-0.7.tar.gz
Size 18.7 kB
Tags Source
SHA-256 checksum
How to use checksums
210cd408ef7b674a33f171e97054615d399f5050e11d6112fccce91fecdb4437
BLAKE2b-256 checksum
How to use checksums
ffd649c584baea6f565d6e59418ef6a15386604a311e3ee7e602a46f4075bad1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.7

Release files / modernize_fissix-0.7-py2.py3-none-any.whl

Download URL modernize_fissix-0.7-py2.py3-none-any.whl
Size 27.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cf43529a3a3593aa1aa813af5fec32478cddece5729564e50b10722170e803fc
BLAKE2b-256 checksum
How to use checksums
72a838b8f1dd353e6ac344d19426e8a08c03d6c1cb0722df78ae352a78512338
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.7

Release history Release notifications | RSS feed

This release

0.7 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page