Skip to main content

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.

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)

Source distribution for connexion_sql_utils 0.1.4
File Size Uploaded
connexion_sql_utils-0.1.4.tar.gz 29.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for connexion_sql_utils 0.1.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

1 release file

0.1.2

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page