Skip to main content

No project description provided

Project description

lair is a small lightweight helper to create eggs for flask based microservices.

Install

pip install lair

For details and extra helpers, read the documentation: https://lair.readthedocs.io/en/latest/

In the docs:
  • CLI usage

  • built-in decorators

  • built-in Blueprints

Example usage:

# This will generate a project directory
# for your new microservice with Flask
lair --project-name my-shiny-project

# This will generate a  project directory
# for your new microservice with Flask and SqlAlchemy,
# and place an example modell in
# project-dir/project_name/models/example.txt
#  to use this as a model just rename from .txt to .py
lair --project-name my-shiny-project --with-db
https://coveralls.io/repos/github/yitsushi/lair/badge.svg?branch=master https://travis-ci.org/yitsushi/lair.svg?branch=master https://readthedocs.org/projects/lair/badge/?version=latest

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

lair-1.1.0.tar.gz (31.0 kB view hashes)

Uploaded source

Built Distribution

lair-1.1.0-py3-none-any.whl (32.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page