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.
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
Built Distribution
File details
Details for the file connexion_sql_utils-0.1.4.tar.gz
.
File metadata
- Download URL: connexion_sql_utils-0.1.4.tar.gz
- Upload date:
- Size: 29.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5de32f6817aa568c98db6eee76917380aa5b5b55b02a31c3ceed09479fda0919 |
|
MD5 | b9e25dd831fbd94e1fdc2e14d020ca95 |
|
BLAKE2b-256 | d4314a7fab31678bb492de45a3842e756d3db65551d22857b3e4882c99b79890 |
File details
Details for the file connexion_sql_utils-0.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: connexion_sql_utils-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 62fffbf7365fa1c72595cf9532d0e0e93ff27c95dc802b784b0cd6c999847e6c |
|
MD5 | ba1a40720d8c0ca1ae33ad8e6cefa6b4 |
|
BLAKE2b-256 | 26faa3546921498939fa35f6bbe767d71d47fee89f6c1790a12421ec762d6d61 |