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 OpenAPI 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.9.2.tar.gz (26.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

flask_ligand-0.9.2-py3-none-any.whl (29.5 kB view details)

Uploaded Python 3

File details

Details for the file flask_ligand-0.9.2.tar.gz.

File metadata

  • Download URL: flask_ligand-0.9.2.tar.gz
  • Upload date:
  • Size: 26.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for flask_ligand-0.9.2.tar.gz
Algorithm Hash digest
SHA256 b37a3bec8de084f86eb627f1a69dbd86513f8fbf5db1931ab3ca40c9ff5998cb
MD5 e24182b48b732fe4f8142fe2a23dedb9
BLAKE2b-256 450406e36a7b3bf6269d6e8562cfd6ffb4cf99bc978072fc1aa2dae54a39738f

See more details on using hashes here.

Provenance

The following attestation bundles were made for flask_ligand-0.9.2.tar.gz:

Publisher: bump_and_publish_release.yml on cowofevil/flask-ligand

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file flask_ligand-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: flask_ligand-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 29.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for flask_ligand-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d7ea553d6cae690d7a1c67519fefe65c083b3e080d65b899deca1ec7f6823fb6
MD5 cb8c939d57299cbe28d944c86d6d1a7d
BLAKE2b-256 48e5da17589f72f66337d4154ca0b2c07fb89d7025357f391c19b3fd8d9f2a57

See more details on using hashes here.

Provenance

The following attestation bundles were made for flask_ligand-0.9.2-py3-none-any.whl:

Publisher: bump_and_publish_release.yml on cowofevil/flask-ligand

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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