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.

Files for connexion_sql_utils, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size connexion_sql_utils-0.1.4-py2.py3-none-any.whl (11.6 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size connexion_sql_utils-0.1.4.tar.gz (29.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page