Metadata-Version: 1.2
Name: django-codemod
Version: 0.2.1
Summary: Collections of libCST codemodders to upgrade Django
Home-page: https://django-codemod.readthedocs.io
Author: Bruno Alla
Author-email: alla.brunoo@gmail.com
License: MIT license
Project-URL: Source, https://github.com/browniebroke/django-codemod
Project-URL: Documentation, https://django-codemod.readthedocs.io
Project-URL: Travis CI, https://travis-ci.com/browniebroke/django-codemod
Description: ==============
        Django Codemod
        ==============
        
        
        .. image:: https://img.shields.io/pypi/v/django-codemod.svg
                :target: https://pypi.python.org/pypi/django-codemod
        
        .. image:: https://img.shields.io/travis/browniebroke/django-codemod.svg
                :target: https://travis-ci.com/browniebroke/django-codemod
        
        .. image:: https://readthedocs.org/projects/django-codemod/badge/?version=latest
                :target: https://django-codemod.readthedocs.io/en/latest/?badge=latest
                :alt: Documentation Status
        .. image:: https://pyup.io/repos/github/browniebroke/django-codemod/shield.svg
             :target: https://pyup.io/repos/github/browniebroke/django-codemod/
             :alt: Updates
        
        Codemod to help upgrading to newer versions of Django.
        
        * Free software: MIT license
        * Documentation: https://django-codemod.readthedocs.io.
        
        Features
        --------
        
        This is based on `libCST <https://libcst.readthedocs.io/en/latest/index.html>`_
        and implements codemods for it. This is currently very limited but the aim is
        to add more for helping with upcoming deprecations.
        
        Currently implemented:
        
        * ``django_codemod.commands.django_40.ForceTextToForceStrCommand``: migrate deprecated
          ``force_str()`` function to ``force_str()``.
        
        * ``django_codemod.commands.django_40.SmartTextToForceStrCommand``: migrate deprecated
          ``smart_str()`` function to ``smart_str()``.
        
        * ``django_codemod.commands.django_40.UGetTextToGetTextCommand``: migrate deprecated
          ``ugettext()`` function to ``gettext()``.
        
        * ``django_codemod.commands.django_40.UGetTextLazyToGetTextLazyCommand``: migrate deprecated
          ``ugettext_lazy()`` function to ``gettext_lazy()``.
        
        * ``django_codemod.commands.django_40.UGetTextNoopToGetTextNoopCommand``: migrate deprecated
          ``ugettext_noop()`` function to ``gettext_noop()``.
        
        * ``django_codemod.commands.django_40.UNGetTextToNGetTextCommand``: migrate deprecated
          ``ungettext()`` function to ``ngettext()``.
        
        * ``django_codemod.commands.django_40.UNGetTextLazyToNGetTextLazyCommand``: migrate deprecated
          ``ungettext_lazy()`` function to ``ngettext_lazy()``.
        
        Not finding what you need? I'm open to contributions, please send me a pull request.
        
        Credits
        -------
        
        This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
        
        .. _Cookiecutter: https://github.com/audreyr/cookiecutter
        .. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
        
Keywords: django,codemod,libCST
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
