semvec/pypi-packages huggingface dataset:
python-thumbnails 0.5.1
Thumbnails for Django, Flask and other Python projects.
License: MIT

python-thumbnails |Build status| |Coverage status|
==================================================

Thumbnails for Django, Flask and other Python projects.

|Documentation Status| |Join the chat at
https://gitter.im/relekang/python-thumbnails|

Install
-------

.. code:: bash

    pip install pillow  # default image engine, not necessary if another engine is used
    pip install python-thumbnails

Usage
-----

.. code:: python

    from thumbnails import get_thumbnail

    get_thumbnail('path/to/image.png', '300x300', crop='center')

--------------

MIT © Rolf Erik Lekang

.. |Build status| image:: https://ci.frigg.io/badges/relekang/python-thumbnails/
   :target: https://ci.frigg.io/relekang/python-thumbnails/last/
.. |Coverage status| image:: https://ci.frigg.io/badges/coverage/relekang/python-thumbnails/
   :target: https://ci.frigg.io/relekang/python-thumbnails/last/
.. |Documentation Status| image:: https://readthedocs.org/projects/python-thumbnails/badge/?version=latest
   :target: https://readthedocs.org/projects/python-thumbnails/?badge=latest
.. |Join the chat at https://gitter.im/relekang/python-thumbnails| image:: https://badges.gitter.im/Join%20Chat.svg
   :target: https://gitter.im/relekang/python-thumbnails?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge