GithubHelp home page GithubHelp logo

samdolan / sqlalchemy-imageattach Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dahlia/sqlalchemy-imageattach

0.0 2.0 0.0 1.41 MB

SQLAlchemy extension for attaching images to entities.

Home Page: https://sqlalchemy-imageattach.readthedocs.org/

License: MIT License

Python 96.96% Shell 3.04%

sqlalchemy-imageattach's Introduction

SQLAlchemy-ImageAttach

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, 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

Build Status
Code Coverage

https://coveralls.io/r/crosspop/sqlalchemy-imageattach

Coverage Status
Author Website
http://dahlia.kr/

sqlalchemy-imageattach's People

Contributors

dahlia avatar samdolan avatar yoloseem avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.