modernize

Code transformer

Transforms Python 2 source code into compatible Python 3 and 2.6+ code

Modernizes Python code for eventual Python 3 migration. Built on top of fissix (a fork of lib2to3)

GitHub

354 stars
15 watching
51 forks
Language: Python
last commit: about 1 month ago
Linked from 1 awesome list


Backlinks from these awesome lists:

Related projects:

Repository Description Stars
pycqa/autoflake A tool to automatically remove unused imports and variables from Python code based on pyflakes analysis 905
andreikop/cpp2python Automates conversion of C/C++ source code to Python-like format 169
cgarciae/phi A Python library for functional programming that aims to simplify the experience by providing a unified API and operator overloading for common data transformations and operations. 134
peterhinch/micropython_data_to_py A utility to convert binary data into Python source code for storage in Flash. 28
open-cogsci/pyqode.python Adds Python support to PyQode, enabling features like code completion and syntax highlighting. 1
fanq15/caffe_to_torch_to_pytorch A tool for converting models between Caffe and PyTorch 149
pylons/colander A library for serializing and deserializing data structures into strings, mappings, and lists while performing validation. 451
pymorphy2/pymorphy2 A morphological analyzer and generator for Russian and Ukrainian languages 1,125
davidhewitt/pythonize A Rust-based library that converts Rust objects to Python values and back using the PyO3 library. 207
microsoft/pylance-release Provides language support and features for Python development in Visual Studio Code 1,722
peterhinch/micropython-font-to-py Converts industry-standard font files to Python source code that can be deployed on MicroPython platforms. 389
vadimkantorov/caffemodel2pytorch A tool for converting Caffe models to PyTorch formats 389
tin2tin/python_stylechecker_for_blender Enables Pycodestyle to be integrated into Blender's Text Editor for Python code quality checking 13
jsonpickle/jsonpickle Converts complex Python objects to JSON and vice versa. 1,259
locuslab/pytorch_fft Provides an efficient wrapper around CUDA FFTs for PyTorch transformations 315