Skip to main content

REST API framework powered by Flask, SQLAlchemy and good intentions.

Project description

https://travis-ci.org/RedTurtle/eve-sqlalchemy.svg?branch=master https://coveralls.io/repos/RedTurtle/eve-sqlalchemy/badge.svg?branch=master https://landscape.io/github/RedTurtle/eve-sqlalchemy/master/landscape.svg?style=flat

Powered by Eve, SQLAlchemy and good intentions this extenstion allows to effortlessly build and deploy highly customizable, fully featured RESTful Web Services with SQL-based backends.

Eve SQLAlchemy is Simple

from eve import Eve
from eve_sqlalchemy import SQL

app = Eve(data=SQL)
app.run()

The API is now live, ready to be consumed:

$ curl -i http://example.com/people
HTTP/1.1 200 OK

All you need to bring your API online is a database, a configuration file (defaults to settings.py) and a launch script. Overall, you will find that configuring and fine-tuning your API is a very simple process.

Eve is thoroughly tested under Python 2.6, 2.7, 3.3, 3.4 and PyPy.

Make sure you check both these websites:

Changelog

0.4.0a1 (2015-06-18)

  • support the Python-Eve generic sorting syntax [Goneri Le Bouder]

  • add support for and_ and or_ conjunctions in sqla expressions [toxsick]

  • embedded table: use DOMAIN to look up the resource fields [Goneri Le Bouder]

0.3.4 (2015-05-18)

  • fix setup.py metadata

  • fix how embedded documents are resolved [amleczko]

0.3.3 (2015-05-13)

  • added support of SA association proxy [Kevin Roy]

  • make sure relationships are generated properly [amleczko]

0.3.2 (2015-05-01)

  • add fallback on attr.op if the operator doesn’t exists in the ColumnProperty [Kevin Roy]

  • add support for PostgreSQL JSON type [Goneri Le Bouder]

0.3.1 (2015-04-29)

  • more flexible handling sqlalchemy operators [amleczko]

0.3 (2015-04-17)

  • return everything as dicts instead of SQLAResult, remove SQLAResult [Leonidaz0r]

  • fix update function, this closes #22 [David Durieux]

  • fixed replaced method, we are compatible with Eve>=0.5.1 [Kevin Roy]

  • fixed jsonify function [Leonidaz0r]

  • update documentation [Alex Kerney]

  • use id_field column from the config [Goneri Le Bouder]

  • add flake8 in tox [Goneri Le Bouder]

0.2.1 (2015-02-25)

  • always wrap embedded documents [amleczko]

0.2 (2015-01-27)

0.1 (2015-01-13)

  • First public preview release. [amleczko]

Project details


Download files

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

Source Distribution

Eve-SQLAlchemy-0.4.0a1.zip (78.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page