Skip to main content

A simple flask library for building microservices with RBAC JWT security, OpenAPI client and SQLAlchemy database support.

Project description

Docs Build PyPI Codecov pre-commit

A simple Flask library for building microservices with RBAC JWT security, OpenAPI client and SQLAlchemy database support.

Install

$ pip install flask-ligand

Why Use this Library?

Using Flask to create a REST based microservice is a daunting process which will definitely require the use of many different Flask extensions which will really slow down the process of actually writing a functional REST microservice that can be used safely in a production environment. This library seeks to use the best Flask extensions loosely combined together to deliver a delightful developer experience by providing the following functionality out-of-the-box:

  • Create database models using the industry standard SQLAlchemy ORM

  • Leverage those same database models to create schemas for marshalling data in and out of your Flask endpoints defined via Blueprints

  • Provide automatic SwaggerUI docs for quickly developing and testing your Flask application without the need of external tools like curl, Postman or Hoppscotch

  • Generate OpenAPI clients for a variety of languages
    • Endpoints for generating Python and Typescript clients already included!

  • Protect endpoints with JWT security with a OpenID Connect IAM like Auth0 or Keycloak
    • Optionally control access to endpoints using RBAC

  • Quickly enable pagination and ETag support for your endpoints

  • Easily manage database migrations using Alembic through the fantastic Flask-Migrate library and command-line tools

Resources

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

flask-ligand-0.6.3.tar.gz (88.3 kB view details)

Uploaded Source

Built Distribution

flask_ligand-0.6.3-py2.py3-none-any.whl (30.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file flask-ligand-0.6.3.tar.gz.

File metadata

  • Download URL: flask-ligand-0.6.3.tar.gz
  • Upload date:
  • Size: 88.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.2 requests/2.28.1 requests-toolbelt/0.10.0 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/5.0.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.15

File hashes

Hashes for flask-ligand-0.6.3.tar.gz
Algorithm Hash digest
SHA256 5ec86245c175a619d8e8edea58adfc530f8ce6e5b0d6a85ffec112e699dcded4
MD5 b34a59d316b36b548fc5751955e8bd6f
BLAKE2b-256 044464804dad4cfc365d7cda8c26360750e87b0dd998f8d856b74191523a8e20

See more details on using hashes here.

File details

Details for the file flask_ligand-0.6.3-py2.py3-none-any.whl.

File metadata

  • Download URL: flask_ligand-0.6.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 30.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.2 requests/2.28.1 requests-toolbelt/0.10.0 urllib3/1.26.12 tqdm/4.64.1 importlib-metadata/5.0.0 keyring/23.9.3 rfc3986/2.0.0 colorama/0.4.5 CPython/3.9.15

File hashes

Hashes for flask_ligand-0.6.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7224feca7267a994b045ac7a6b48025bc34389c8fa432f79f666b24ee9e4ee5b
MD5 78e135e2daa03a283c6c5c415b1ba595
BLAKE2b-256 a4ba42e74c7ada5ce3484b4a256c06b59111385c4a30651f321368dd2e18ea00

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page