Table of Contents | ||||
---|---|---|---|---|
|
Overview
The Data Theorem API Protect Python SDK is a Python library that provides protection for APIs written in Python. The SDK integrates with your Python API using the API Protect middleware which supports most popular Python frameworks. To Protect an API, all the API developer needs to do is add the API Protect middleware to their web application code set the client Id we provide.
...
To install API Protect the provided Python package must be added as a dependency, typically by adding it to a requirements.txt
file. Here is an example of how to add the package:
...
Example adding dependency to requirements.txt
Code Block |
---|
# requirements.txt after adding the apiprotect package file:./vendored/apiprotect-1.0.1.tar.gz Jinja2<2.12 SQLAlchemy<1.4.0 advocate>=1.0.0,<2.0 boto3<2.0.0 falcon-cors<1.2.0 falcon<4.0.0 |
...