anthonyjb / box51

An image processing library created for manhattan to allow local file storage without running an instance of hangar51.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Box51

An image processing library created for manhattan to allow local file storage without running an instance of hangar51.

Installation

pip install box51

Manhattan setup

Modify you application config as follows:

from manhattan.assets.backends import box51
from werkzeug.contrib.cache import SimpleCache

class Config:

    # Assets
    ASSET_BACKEND = box51
    ASSET_BACKEND_SETTINGS = {
        'asset_root': '/path/to/assets',
        'cache': SimpleCache()
    }
    ASSET_BACKEND_ROOT = 'http://mysite.com/assets'

Limitations

  • Box51 does not support the facial recognition feature provided by Hangar51.

About

An image processing library created for manhattan to allow local file storage without running an instance of hangar51.

License:MIT License


Languages

Language:Python 100.0%