Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Custom fields types for SqlAlchemy which integrated with Uploadcare service.

Project Description

Custom fields types for SqlAlchemy which integrated with Uploadcare service.

Installation

$ pip install pyuploadcare-sqlalchemy

Usage

This package similar to pyuploadcare.dj but for Sqlalchemy instead of Django’s ORM. It stores Uploadcare CDN links on database’s side and builds a object of File (or FileGroup) on python’s side (e.g you can easily use it in yours templates).

Fields types:

  • FileType
  • FileGroupType
  • ImageType - Provides syntax sugar when working with images - effects - you can set default effects according by CDN API which will be applied to uploaded image.

Also for getting started you can look at this simplest example.

For install it use a command:

$ make run_example

Contributing

  1. Fork the pyuploadcare-sqlalchemy repo on GitHub.
  2. Clone your fork locally:
$ git clone git@github.com:your_name_here/pyuploadcare-sqlalchemy.git
  1. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development:
$ mkvirtualenv pyuploadcare-sqlalchemy
$ cd pyuploadcare-sqlalchemy/
$ python setup.py develop
  1. Create a branch for local development:
 $ git checkout -b name-of-your-bugfix-or-feature

Now you can make your changes locally.
  1. When you’re done making changes, check that your changes pass the tests, including testing other Python versions with tox:
$ pip install tox
$ tox
  1. Commit your changes and push your branch to GitHub:
$ git add .
$ git commit -m "Your detailed description of your changes."
$ git push origin name-of-your-bugfix-or-feature
  1. Submit a pull request through the GitHub website.
Release History

Release History

This version
History Node

0.5

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyuploadcare-sqlalchemy-0.5.tar.gz (4.3 kB) Copy SHA256 Checksum SHA256 Source Nov 10, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting