SQLAlchemy extension for attaching images to entity objects
Project description
SQLAlchemy-ImageAttach is a SQLAlchemy extension for attaching images to entity objects. It provides the following features:
- Storage backend interface
- You can use file system backend on your local development box, and switch it to AWS S3 when it’s deployed to the production box. Or you can add a new backend implementation by yourself.
- Maintaining multiple image sizes
- Any size of thumbnails can be generated from the original size without assuming the fixed set of sizes. You can generate a thumbnail of a particular size if it doesn’t exist yet when the size is requested. Use RRS (Reduced Redundancy Storage) for reproducible thumbnails on S3.
- Every image has its URL
- Attached images can be exposed as a URL.
- SQLAlchemy transaction aware
- Saved file are removed when the ongoing transaction has been rolled back.
- Tested on various environments
- Python versions: Python 2.6, 2.7, 3.2, 3.3, 3.4, PyPy
- DBMS: PostgreSQL, MySQL, SQLite
- SQLAlchemy: 0.8 or higher
Links
- Docs
- https://sqlalchemy-imageattach.readthedocs.org/
- Package Index (Cheeseshop)
https://pypi.python.org/pypi/SQLAlchemy-ImageAttach
- GitHub
- https://github.com/crosspop/sqlalchemy-imageattach
- Continuous Integration (Travis CI)
http://travis-ci.org/crosspop/sqlalchemy-imageattach
- Code Coverage
https://coveralls.io/r/crosspop/sqlalchemy-imageattach
- Author Website
- http://hongminhee.org/
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size SQLAlchemy_ImageAttach-0.8.2-py2.py3-none-any.whl (28.2 kB) | File type Wheel | Python version 2.7 | Upload date | Hashes View |
Filename, size SQLAlchemy-ImageAttach-0.8.2.tar.gz (22.8 kB) | File type Source | Python version None | Upload date | Hashes View |
Close
Hashes for SQLAlchemy_ImageAttach-0.8.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e99ad67173d734aac2e37d105f0dd70136d55164c4199c0684072ce3599128f |
|
MD5 | b993efc3dcf281b0052d589dbdcb48b8 |
|
BLAKE2-256 | 44f4f5031bb38c7037f524ad28ba00cfe3f0a971d316f988bdfceed48568440d |
Close
Hashes for SQLAlchemy-ImageAttach-0.8.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc5015f720f8454d0507168f08808779f087d15f86fb2303f9bbd8044bd8b399 |
|
MD5 | ce675a4723f407f96dc4905cc40f792c |
|
BLAKE2-256 | 18632e8fc3d05d9c9ab0fce7be31861f671c6ebc2fd482309f5f8f41bfe0efcf |