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 Python 3

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