Metadata-Version: 2.1
Name: moose-frank
Version: 7.3
Summary: A Python package packed with tools that are commonly used in Moose projects.
Home-page: https://gitlab.com/mediamoose/moose-frank/tree/v7.3
Author: Sven Groot (Mediamoose)
Author-email: sven@mediamoose.nl
License: MIT
Download-URL: https://gitlab.com/mediamoose/moose-frank/repository/v7.3/archive.tar.gz
Description: # Moose Frank
        
        A Python package packed with tools that are commonly used in Moose projects.
        
        
        ## Development
        
        See the [CONTRIBUTING](CONTRIBUTING.md) guide.
        
        
        ## Installation
        
        ```console
        pip install moose-frank
        ```
        
        
        ## Local testing
        
        isort
        
        ```console
        docker-compose run --rm --no-deps python isort [module/path] [options]
        ```
        
        ---
        
        flake8
        
        ```console
        docker-compose run --rm --no-deps python flake8 [module/path]
        ```
        
        ---
        
        black
        
        ```console
        docker-compose run --rm --no-deps python black [module/path]
        ```
        
        ---
        
        pytest
        
        ```console
        docker-compose run --rm --no-deps python coverage run ./runtests.py
        ```
        
        
        ## Translations
        
        Updating translations
        
        ```console
        docker-compose run --rm --no-deps manage makemessages -l nl --no-wrap --no-location --no-obsolete
        docker-compose run --rm --no-deps manage compilemessages
        ```
        
        
        ## Google Cloud storage retry patch
        
        Add the following to your main django app to apply the patch.
        
        ```python
        from django.apps import AppConfig
        from moose_frank.storages.gcloud_retry_patch import apply_gcloud_retry_patch
        
        
        class MainConfig(AppConfig):
            def ready(self) -> None:
                super().ready()
                apply_gcloud_retry_patch()
        ```
        
        In case you need te revert this patch you can call `moose_frank.storages.gcloud_retry_patch.revert_gcloud_retry_patch`.
        
Keywords: moose,frank,frankenstein
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Classifier: Framework :: Django :: 2.1
Classifier: Framework :: Django :: 2.2
Classifier: Framework :: Django :: 3.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: graphene
Provides-Extra: gcloud
