Skip to main content

Sqlalchemy, Postgres, Connexion utility

Project description

Connexion Sqlalchemy Utils

https://img.shields.io/pypi/v/connexion_sql_utils.svg https://img.shields.io/travis/m-housh/connexion_sql_utils.svg https://coveralls.io/repos/github/m-housh/connexion_sql_utils/badge.svg?branch=master Documentation Status

Sqlalchemy, Postgres, Connexion utility

Features

  • Helps create REST api’s quickly with Connexion, Sqlalchemy, and Postgresql

Running example api in Docker

By cloning the repo:

git clone https://github.com/m-housh/connexion_sql_utils.git

cd ./connexion_sql_utils

docker-compose up

Without cloning the repo:

docker pull mhoush/connexion_sql_utils
docker pull postgres/alpine

docker run -d --name some_postgres \
    -e POSTGRES_PASSWORD=postgres \
    postgres:alpine

docker run --rm -it --link some_postgres:postgres \
    -e DB_HOST=postgres \
    -e DB_PASSWORD=postgres \
    -p "8080:8080" \
    mhoush/connexion_sql_utils

Check out the example api at http://localhost:8080/ui

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

0.1.0 (2017-03-08)

  • First release on PyPI.

0.1.3

  • Added ability to pass a session into BaseMixin database methods.

  • Added dump_method decorator to allow custom methods to be called while creating the json representation.

0.1.4

  • Added the ability to dump as dict instead of always being a json string.

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

connexion_sql_utils-0.1.4.tar.gz (29.4 kB view hashes)

Uploaded Source

Built Distribution

connexion_sql_utils-0.1.4-py2.py3-none-any.whl (11.6 kB view hashes)

Uploaded Python 2 Python 3

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