semvec/pypi-packages huggingface dataset:
proofdock-reliability-platform-flask 1.0.1
A chaos engineering framework for Python Flask applications.
License: Apache-2.0
Requires Python: >=3.5.*

# Flask integration

[![Python versions](https://img.shields.io/pypi/pyversions/proofdock-chaos-middleware-flask.svg)](https://www.python.org/)

## Installation

This package requires Python 3.5+

```
$ pip install -U proofdock-reliability-platform-flask
```

## Usage

The reliability platform client for Flask takes the following **input variables**:

| Variable | Description |
| ---      | ---         |
| `RELIABILITY_PLATFORM_APPLICATION_NAME` | The service application's name |
| `RELIABILITY_PLATFORM_APPLICATION_ENV` | The service application's deployed environment |
| `RELIABILITY_PLATFORM_PROOFDOCK_API_TOKEN` | The API token to connect to Proofdock's Reliability Platform API |

The **configuration** exemplified as **code**:

```python
from flask import Flask, jsonify
from proofdock.rp.contrib.flask.middleware import FlaskMiddleware

app = Flask(__name__)
app.config['RELIABILITY_PLATFORM_APPLICATION_NAME'] = 'example-application-name'
app.config['RELIABILITY_PLATFORM_APPLICATION_ENV'] = 'example-environment'
app.config['RELIABILITY_PLATFORM_PROOFDOCK_API_TOKEN'] = 'eyJ0eXAi...05'

middleware = FlaskMiddleware(app)

# Your business logic here

@app.route("/")
def hello():
    return "Hello World!"

if __name__ == "__main__":
    app.run()
```

Start your Flask application and inject faults using the **Reliability Platform**. [More][attack_usage].


[attack_usage]: https://docs.proofdock.io/reliabilityplatform/usage/
proofdock-reliability-platform-core 1.0.1
A chaos engineering framework for Python applications.
License: Apache-2.0
Requires Python: >=3.5.*

# Python integration

[![Python versions](https://img.shields.io/pypi/pyversions/proofdock-chaos-middleware-flask.svg)](https://www.python.org/)

## Install

This package requires Python 3.5+

```
$ pip install -U proofdock-reliability-platform-core
```

## Usage

The reliability platform client takes the following **input variables**:

| Variable | Description |
| ---      | ---         |
| `RELIABILITY_PLATFORM_APPLICATION_NAME` | The service application's name |
| `RELIABILITY_PLATFORM_APPLICATION_ENV` | The service application's deployed environment |
| `RELIABILITY_PLATFORM_PROOFDOCK_API_TOKEN` | The API token to connect to Proofdock's Reliability Platform API |

## References

- [Chaos Middleware documentation][proofdock_middleware_docs]
- [Support][proofdock_support]
- [Proofdock website][proofdock]

[proofdock]: https://proofdock.io/
[proofdock_support]: https://github.com/proofdock/chaos-support/
[proofdock_middleware_docs]: https://docs.proofdock.io/reliabilityplatform/usage/