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.
Metadata
Release files for connexion_sql_utils 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| connexion_sql_utils-0.1.4.tar.gz | 29.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| connexion_sql_utils-0.1.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 41.0 kB
Release files / connexion_sql_utils-0.1.4.tar.gz
| Download URL | connexion_sql_utils-0.1.4.tar.gz |
|---|---|
| Size | 29.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5de32f6817aa568c98db6eee76917380aa5b5b55b02a31c3ceed09479fda0919
|
|
BLAKE2b-256 checksum How to use checksums |
d4314a7fab31678bb492de45a3842e756d3db65551d22857b3e4882c99b79890
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / connexion_sql_utils-0.1.4-py2.py3-none-any.whl
| Download URL | connexion_sql_utils-0.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
62fffbf7365fa1c72595cf9532d0e0e93ff27c95dc802b784b0cd6c999847e6c
|
|
BLAKE2b-256 checksum How to use checksums |
26faa3546921498939fa35f6bbe767d71d47fee89f6c1790a12421ec762d6d61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |