Sqlalchemy, Postgres, Connexion utility
Project description
Connexion Sqlalchemy Utils
Sqlalchemy, Postgres, Connexion utility
Documentation: https://connexion-sql-utils.readthedocs.io.
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.
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.3.tar.gz
(29.2 kB
view hashes)
Close
Hashes for connexion_sql_utils-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59ca3021b652eaf6ee426261540c7090a725598e947a075e6a7fae5b4f31a98c |
|
MD5 | af2a2bdbd94ddc920bc90a8da84a13db |
|
BLAKE2b-256 | 27fff599d4638806a1ae336e8bb6c3d3851bd8e46341811df2ea08eecee698a6 |