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.

Files for lair, version 1.1.0
Filename, size File type Python version Upload date Hashes
Filename, size lair-1.1.0-py3-none-any.whl (32.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size lair-1.1.0.tar.gz (31.0 kB) File type Source Python version None Upload date Hashes View

Supported by

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