Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(2)  |  Derive(0)  |  Import(4)

src/d/j/django-daguerre-2.1.1/daguerre/tests/unit/test_views.py   django-daguerre(Download)
from django.utils.encoding import force_text
 
from daguerre.adjustments import NamedCrop, Fill
from daguerre.helpers import AdjustmentHelper
from daguerre.models import Area
        """
        storage_path = 'path/to/thing.jpg'
        adj1 = NamedCrop(name='face')
        adj2 = Fill(width=10, height=5)
        helper = AdjustmentHelper([storage_path], [adj1, adj2])

src/d/j/django-daguerre-HEAD/daguerre/tests/unit/test_views.py   django-daguerre(Download)
from django.utils.encoding import force_text
 
from daguerre.adjustments import NamedCrop, Fill
from daguerre.helpers import AdjustmentHelper
from daguerre.models import Area
        """
        storage_path = 'path/to/thing.jpg'
        adj1 = NamedCrop(name='face')
        adj2 = Fill(width=10, height=5)
        helper = AdjustmentHelper([storage_path], [adj1, adj2])

src/d/j/django-daguerre-HEAD/daguerre/tests/unit/test_adjustments.py   django-daguerre(Download)
    import Image
 
from daguerre.adjustments import Fit, Crop, Fill, NamedCrop
from daguerre.helpers import AdjustmentHelper
from daguerre.models import AdjustedImage, Area

src/d/j/django-daguerre-2.1.1/daguerre/tests/unit/test_adjustments.py   django-daguerre(Download)
    import Image
 
from daguerre.adjustments import Fit, Crop, Fill, NamedCrop
from daguerre.helpers import AdjustmentHelper
from daguerre.models import AdjustedImage, Area