Installation

Django Codemod requires Python 3.6 or above. The preferred way to install Django Codemod, is with pipx:

$ pipx install django-codemod

It will install the latest stable release in an isolated virtual environment, hence not polluting your global Python with dependencies.

If you don’t have pipx installed, checkout their installation instructions for your operating system of choice.

Other ways to install

Django Codemod is published on PyPI, and is based on libCST, therefore you may install it with pip, poetry or pipenv if you wish to.