Skip to main content
[![Build Status](https://travis-ci.org/lsst-sqre/sqre-apikit.svg?branch=master)](https://travis-ci.org/lsst-sqre/sqre-apikit)

# sqre-uservice-metricdeviation

LSST DM SQuaRE microservice wrapper for QA metrics; more
generally, a minimal viable example for how to use the `apikit`
interfaces to create a SQuaRE-compliant microservice.

## Usage

Create a Flask app (preferably using :class:`apikit.APIFlask`). If you
have used `APIFlask`, it will already have a metadata route (but if you
are using Kubernetes ingress, you will want to specify the additional
route behind api.lsst.codes (or wherever) as one of the arguments to
route.

Hook your app up with whatever authenticator to Github it needs (if
any), and whatever secrets the authenticator requires.

If you're planning on hosting in a container via Kubernetes, create a
service and a deployment for it (look in `kubernetes`), and then if you
are standing up the front end too, set up an ingress with TLS
certificate and key. If one already exists (e.g. `api.lsst.codes`) you
just need to add a path to the existing ingress.


Metadata

Release files for sqre-uservice-metricdeviation 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sqre-uservice-metricdeviation 0.0.5
File Size Uploaded
sqre-uservice-metricdeviation-0.0.5.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sqre-uservice-metricdeviation 0.0.5
File Interpreter ABI Platform
sqre_uservice_metricdeviation-0.0.5-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 11.3 kB

Release files / sqre-uservice-metricdeviation-0.0.5.tar.gz

Download URL sqre-uservice-metricdeviation-0.0.5.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
50815dd7c744f87936121b888710178bd2a6bbd97fd232ca8c1185babed83414
BLAKE2b-256 checksum
How to use checksums
8a67bc070c6e32f0b35133666154dc4d439e8a7f95ebdc3efd9af2204fdaf891
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sqre_uservice_metricdeviation-0.0.5-py2.py3-none-any.whl

Download URL sqre_uservice_metricdeviation-0.0.5-py2.py3-none-any.whl
Size 6.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bebb11470b376ab649522bd3baaad43c0dea316e46731e45b1c5998ae2ab7c45
BLAKE2b-256 checksum
How to use checksums
afb4e056ed9d2e5bc98a3027233c49f81cf15e8939a4ed5de23daeb2d897b1c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page