All Projects → dahlia → Sqlalchemy Imageattach

dahlia / Sqlalchemy Imageattach

Licence: mit
SQLAlchemy extension for attaching images to entities.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Sqlalchemy Imageattach

Awesome Sqlalchemy
A curated list of awesome tools for SQLAlchemy
Stars: ✭ 2,316 (+2064.49%)
Mutual labels:  orm, sqlalchemy, databases
Ormar
python async mini orm with fastapi in mind and pydantic validation
Stars: ✭ 155 (+44.86%)
Mutual labels:  orm, sqlalchemy, databases
sqlalchemy-utc
SQLAlchemy type to store aware datetime values
Stars: ✭ 87 (-18.69%)
Mutual labels:  sqlalchemy, databases
nim-gatabase
Connection-Pooling Compile-Time ORM for Nim
Stars: ✭ 103 (-3.74%)
Mutual labels:  sqlalchemy, databases
bonobo-sqlalchemy
PREVIEW - SQL databases in Bonobo, using sqlalchemy
Stars: ✭ 23 (-78.5%)
Mutual labels:  sqlalchemy, databases
Gino
GINO Is Not ORM - a Python asyncio ORM on SQLAlchemy core.
Stars: ✭ 2,299 (+2048.6%)
Mutual labels:  orm, sqlalchemy
Python For Entrepreneurs Course Demos
Contains all the "handout" materials for Talk Python's Python for Entrepreneurs course. This includes notes and the final version of the website code.
Stars: ✭ 247 (+130.84%)
Mutual labels:  orm, sqlalchemy
pydbantic
A single model for shaping, creating, accessing, storing data within a Database
Stars: ✭ 137 (+28.04%)
Mutual labels:  sqlalchemy, databases
Sandman2
Automatically generate a RESTful API service for your legacy database. No code required!
Stars: ✭ 1,765 (+1549.53%)
Mutual labels:  orm, sqlalchemy
Qb
The database toolkit for go
Stars: ✭ 524 (+389.72%)
Mutual labels:  orm, sqlalchemy
Sqlalchemy Mixins
Active Record, Django-like queries, nested eager load and beauty __repr__ for SQLAlchemy
Stars: ✭ 441 (+312.15%)
Mutual labels:  orm, sqlalchemy
Records
SQL for Humans™
Stars: ✭ 6,761 (+6218.69%)
Mutual labels:  orm, sqlalchemy
Wither
An ODM for MongoDB built on the official MongoDB Rust driver.
Stars: ✭ 174 (+62.62%)
Mutual labels:  orm, databases
Sqlservice
The missing SQLAlchemy ORM interface.
Stars: ✭ 159 (+48.6%)
Mutual labels:  orm, sqlalchemy
Sqlalchemy Media
Another attachment extension for SqlAlchemy to manage assets which are associated with database models but you don't want to store them into the database
Stars: ✭ 69 (-35.51%)
Mutual labels:  orm, sqlalchemy
sqlalchemy-enum34
SQLAlchemy type to store standard enum.Enum values
Stars: ✭ 47 (-56.07%)
Mutual labels:  sqlalchemy, databases
Tornado Sqlalchemy
SQLAlchemy support for Tornado
Stars: ✭ 112 (+4.67%)
Mutual labels:  orm, sqlalchemy
Firenze
Adapter based JavaScript ORM for Node.js and the browser
Stars: ✭ 131 (+22.43%)
Mutual labels:  orm, databases
Architect
A set of tools which enhances ORMs written in Python with more features
Stars: ✭ 320 (+199.07%)
Mutual labels:  orm, sqlalchemy
Gorose
GoRose(go orm), a mini database ORM for golang, which inspired by the famous php framwork laravle's eloquent. It will be friendly for php developer and python or ruby developer. Currently provides six major database drivers: mysql,sqlite3,postgres,oracle,mssql, Clickhouse.
Stars: ✭ 947 (+785.05%)
Mutual labels:  orm, databases

SQLAlchemy-ImageAttach

.. image:: https://img.shields.io/pypi/v/SQLAlchemy-ImageAttach.svg :target: https://pypi.org/project/SQLAlchemy-ImageAttach/ :alt: PyPI

.. image:: https://readthedocs.org/projects/sqlalchemy-imageattach/badge/?version=stable :target: https://sqlalchemy-imageattach.readthedocs.io/ :alt: Read the Docs

.. image:: https://travis-ci.org/dahlia/sqlalchemy-imageattach.svg?branch=master :alt: Build Status :target: https://travis-ci.org/dahlia/sqlalchemy-imageattach

.. image:: https://img.shields.io/coveralls/dahlia/sqlalchemy-imageattach/badge.svg? :alt: Coverage Status :target: https://coveralls.io/r/dahlia/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.7, 3.3 or higher, PyPy_
  • DBMS: PostgreSQL, MySQL, SQLite
  • SQLAlchemy: 0.9 or higher (tested on 0.9 to 1.1; see CI as well)

.. _SQLAlchemy: http://www.sqlalchemy.org/ .. _S3: https://aws.amazon.com/s3/ .. _RRS: https://aws.amazon.com/s3/reduced-redundancy/ .. _PyPy: http://pypy.org/

Installation

It's available on PyPI_:

.. code-block:: console

$ pip install SQLAlchemy-ImageAttach

.. _PyPI: https://pypi.org/project/SQLAlchemy-ImageAttach/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].