Metadata-Version: 2.1
Name: favico
Version: 0.1.2
Summary: No description has been added so far.
Home-page: https://github.com/romnn/favico
Author: romnn
Author-email: contact@romnn.com
License: MIT
Keywords: favico
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Environment :: Console
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: English
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.6
Requires-Dist: Click (>=6.0)
Requires-Dist: Wand
Requires-Dist: pyperclip
Provides-Extra: dev
Requires-Dist: Click (>=6.0) ; extra == 'dev'
Requires-Dist: Wand ; extra == 'dev'
Requires-Dist: pyperclip ; extra == 'dev'
Requires-Dist: tox ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'
Requires-Dist: pytest-cov ; extra == 'dev'
Requires-Dist: pytest-xdist ; extra == 'dev'
Requires-Dist: pytest-sugar ; extra == 'dev'
Requires-Dist: mypy ; extra == 'dev'
Requires-Dist: pyfakefs ; extra == 'dev'
Requires-Dist: coverage ; extra == 'dev'
Requires-Dist: flake8 ; extra == 'dev'
Requires-Dist: black (==19.10b0) ; extra == 'dev'
Requires-Dist: isort ; extra == 'dev'
Requires-Dist: m2r ; extra == 'dev'
Requires-Dist: invoke ; extra == 'dev'
Requires-Dist: pre-commit ; extra == 'dev'
Requires-Dist: cookiecutter ; extra == 'dev'
Requires-Dist: bump2version ; extra == 'dev'
Provides-Extra: test
Requires-Dist: tox ; extra == 'test'
Requires-Dist: pytest ; extra == 'test'
Requires-Dist: pytest-cov ; extra == 'test'
Requires-Dist: pytest-xdist ; extra == 'test'
Requires-Dist: pytest-sugar ; extra == 'test'
Requires-Dist: mypy ; extra == 'test'
Requires-Dist: pyfakefs ; extra == 'test'

===============================
favico
===============================

.. image:: https://github.com/romnn/favico/workflows/test/badge.svg
        :target: https://github.com/romnn/favico/actions
        :alt: Build Status

.. image:: https://img.shields.io/pypi/v/favico.svg
        :target: https://pypi.python.org/pypi/favico
        :alt: PyPI version

.. image:: https://img.shields.io/github/license/romnn/favico
        :target: https://github.com/romnn/favico
        :alt: License

.. image:: https://codecov.io/gh/romnn/favico/branch/master/graph/badge.svg
        :target: https://codecov.io/gh/romnn/favico
        :alt: Test Coverage

""""""""

Python library to generate the perfect favicons for every device.

.. code-block:: console

    $ pip install favico

.. code-block:: python

    import favico

Installation
-------------

favico uses `ImageMagick <https://imagemagick.org/index.php>`_ to generate the favicons.

For ubuntu, you can simply install libmagicwand-dev like this:

.. code-block: console

    $ apt-get install libmagickwand-dev 

Development
-----------

For detailed instructions see `CONTRIBUTING <CONTRIBUTING.rst>`_.

Tests
~~~~~~~
You can run tests with

.. code-block:: console

    $ invoke test
    $ invoke test --min-coverage=90     # Fail when code coverage is below 90%
    $ invoke type-check                 # Run mypy type checks

Linting and formatting
~~~~~~~~~~~~~~~~~~~~~~~~
Lint and format the code with

.. code-block:: console

    $ invoke format
    $ invoke lint

All of this happens when you run ``invoke pre-commit``.

Note
-----

This project is still in the alpha stage and should not be considered production ready.


