An image processing library created for manhattan to allow local file storage without running an instance of hangar51.
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
box51-0.2.0.tar.gz
(7.2 kB
view details)
File details
Details for the file box51-0.2.0.tar.gz
.
File metadata
- Download URL: box51-0.2.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a74bf2eaabd455ef4ca18e921180714097e9dcd90a218df57cbae0b836316b38 |
|
MD5 | 942ff4c106ad68703d0b5f4fb30d9e58 |
|
BLAKE2b-256 | 26ab0d16a37c5638fc3903f992cf6a5c56220d8c19dc2307caa3a49bf39f052a |