semvec/pypi-packages huggingface dataset:
django-simplecrop 1.0.4
A simple module to make easier crop images in Django admin.
License: BSD
Keywords: crop,django

django-simplecrop
================

A simple module to crop images in an easy way in Django Administration.


Installation
-----------------------------------
Install ``django-simplecrop`` (or download from [PyPI](http://pypi.python.org/pypi/django-simplecrop/ "Download from PyPI")):

    pip install django-simplecrop

Add ``simplecrop`` to ``INSTALLED_APPS`` in ``settings.py``:


    INSTALLED_APPS = (
        ...
        'simplecrop',
        ...
    )
    
Include ``simpleCropAutodiscover()`` after ``admin.autodiscover()``:
    
    ...
    from simplecrop.utils import simpleCropAutodiscover
    
    admin.autodiscover()
    simpleCropAutodiscover()

Include ``simplecrop.urls`` in ``urls.py``:
    
    urlpatterns = patterns('',
        ...
        url(r'^simplecrop/', include('simplecrop.urls')),
    )
    
    
Usage
------------------


Include the ``__crops__`` parameter in your model and specify the field and image sizes:

    class MyModel(models.Model):
        __crops__ = [
            ["image", ["110x110", "200x150"]]
        ]

        title = models.CharField(u"Title", max_length=128)
        text = models.TextField("Text")
        image = models.ImageField("Image", upload_to="images")


Testing
-----------------
Step 1 - Add image:
![Step 1](http://feliperego.com/img/step1.png "Step 1")

Step 2 - Crop images:
![Step 2](http://feliperego.com/img/step2.png "Step 2")


Template tag
-----------------
Use the template tag `{% thumbnail %}` in your templates:

How to use:

    <img name="myimage" src="{% thumbnail ImageObj '100x100' %}" />

\* *This template tag obtains the thumbnail image created when saving in admin. If it does not exist, a new thumbnail with the specified sizes will be created.*

Authors
-----------------

- [Felipe R. Rêgo](https://github.com/feliperrego "GitHub - Felipe R. Rêgo")
- [Silvio Lucena Junior](https://github.com/silviolucenajunior "GitHub - Silvio Lucena")
hotsyk 0.1.1
Volodymyr Hotsyk's CV
License: BSD
Keywords: hotsyk

===============================
Hotsyk
===============================

.. image:: https://img.shields.io/travis/hotsyk/hotsyk.svg
        :target: https://travis-ci.org/hotsyk/hotsyk

.. image:: https://img.shields.io/pypi/v/hotsyk.svg
        :target: https://pypi.python.org/pypi/hotsyk


Volodymyr Hotsyk's CV

* Free software: BSD license
* Documentation: https://hotsyk.readthedocs.org.

Features
--------

* TODO




History
-------

0.1.1 (2015-04-10)
---------------------

* With passing open_browser=True to either hotsyk.cv() or hotsyk.talks() you will get CV or Talks pages opened directly in system default browser instead of getting back just url



0.1.0 (2015-04-01)
---------------------

* First release on PyPI.