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.8.1.tar.gz (93.2 kB view details)

Uploaded Source

Built Distribution

flask_ligand-0.8.1-py2.py3-none-any.whl (31.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: flask-ligand-0.8.1.tar.gz
  • Upload date:
  • Size: 93.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.30.0 requests-toolbelt/1.0.0 urllib3/2.0.2 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.11

File hashes

Hashes for flask-ligand-0.8.1.tar.gz
Algorithm Hash digest
SHA256 69903c87e04551e8eb326e9042920915e2fbf66e3363529714c627684a2ccbbd
MD5 8c6c30834ae2d54c6b9d7eba40b07a2e
BLAKE2b-256 313732fe62d76d3f95d16e5b4704eee8d196c46358dbd32fd91ebe77da367b23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: flask_ligand-0.8.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 31.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.30.0 requests-toolbelt/1.0.0 urllib3/2.0.2 tqdm/4.65.0 importlib-metadata/6.6.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.11

File hashes

Hashes for flask_ligand-0.8.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a5e204b10fbbcb3aed949b21a164250a3b8ef22c7ada3dc7ecd956c9f90435e3
MD5 317486a0634ed7136b2da99a534b21a2
BLAKE2b-256 dfd945070be6beb5b3511a0fd8066eed1ed2abad9cca1fc54a1171d7727a3981

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