Metadata-Version: 1.1
Name: wagtailaltgenerator
Version: 1.0.0
Summary: Autogenerate image descriptions with the help of computer vision
Home-page: https://github.com/marteinn/wagtail-alt-generator
Author: marteinn
Author-email: martin@marteinn.se
License: MIT
Description: Wagtail Alt Generator
        =====================
        
        Autogenerate image descriptions with the help of computer vision
        (inspired by
        `altify <https://github.com/ParhamP/altify/blob/master/altify/altify>`__).
        
        Requirements
        ------------
        
        -  Python 2.7
        -  Django 1.8+
        -  Wagtail 1.7+
        -  An Microsoft Cognitive Service account
        -  Images must be accessible by third part (to enable Computer Vision
           processing)
        
        Installation
        ------------
        
        Install the library with pip:
        
        ::
        
            $ pip install wagtailaltgenerator
        
        Quick Setup
        -----------
        
        1. Register an account on `Microsoft Cognitive
           Service <https://www.microsoft.com/cognitive-services/>`__
        2. Retrive api key for the product ``Computer Vision - Preview``
        3. Add the key to your django settings:
        
           ::
        
               COMPUTER_VISION_API_KEY = 'yourkey'
        
        4. Make sure ``wagtailaltgenerator`` is added to your
           ``INSTALLED_APPS``.
        
           .. code:: python
        
               INSTALLED_APPS = (
                   # ...
                   'wagtailaltgenerator',
               )
        
        Usage
        -----
        
        1. Upload an image through Wagtail
        2. Watch the title get generated...
        3. ...And done!
        
        Settings
        --------
        
        -  ``COMPUTER_VISION_API_KEY``: Computer Vision api key
        
        Tests
        -----
        
        This library include tests, just run ``python runtests.py``
        
        Make sure to install dev requirements:
        ``pip install -r requirements/dev.txt``
        
        Before running any type of tests, make sure the env variable
        ``COMPUTER_VISION_API_KEY`` is exported.
        
        You can also run separate test cases:
        ``runtests.py tests.GenerateLabelTest``
        
        Distribution
        ------------
        
        Publish
        ~~~~~~~
        
        ::
        
            python setup.py egg_info
            twine register dist/mypkg.wh
        
        ::
        
            python setup.py sdist
        
        Contributing
        ------------
        
        Want to contribute? Awesome. Just send a pull request.
        
        License
        -------
        
        Wagtail-alt-generator is released under the `MIT
        License <http://www.opensource.org/licenses/MIT>`__.
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Framework :: Django
Classifier: Topic :: Utilities
