semvec/pypi-packages huggingface dataset:
mworks 2.0.0
A common utility framework for web microservices

# mworks

The goal of this project is to remove some boilerplate and add few standard
routes to flask applications.

## Usage

Add common routes to the flask application:

```python
from mworks import CommonRoutes
from flask import Flask

app = Flask(__name__)
mworks = CommonRoutes(app)
```

You can optionally add authorisation for sensitive endpoints:

```python
is_admin = lambda: request.remote_addr == '127.0.0.1'
mworks = CommonRoutes(app, auth_checks=[is_admin])
```

## Features

CommonRoutes has the following endpoints implemented:

- `/healthz` - Always returns HTTP 200, useful for healthchecks
- `/varz` - Get variables for service monitoring. Customizable.
- `/docz` - Read README.md from the application and render it.
- `/logz` - Render logs from the application in the browser.
qbiz-airflow-presto 0.1rc1
A containerized Presto cluster for AWS.
Requires Python: >=3.7

The QBiz, inc. Airflow-Presto package provides an _Airflow Operator_ which
is designed to run containerized Presto nodes using Amazon's _Elastic Container Service_.  It is designed to dynamically create and destroy
_Fargate_ compute resources to minimize cost.  This package does not include
the Docker Image nor will it attempt to create other AWS resources necessary
launch ECS tasks -- although examples are provided.  A Dockerfile to
build your own image can be found in the [Qbiz Code Repository](https://github.com/Qbizinc/airflow-presto/blob/master/docker/Dockerfile).