FastAPI wrapper for interactions.py
An Extension library to add Fast API for your interactions.py bot .
Installation
pip install git+https://github.com/Damego/interactions-fastapi.git
Examples
import interactions
from interactions.ext.api import setup
client = interactions.Client(...)
api = setup(client)
@api.route("GET", "/")
async def index():
return {"status": "success"}
client.start()
Server will run on 127.0.0.1:32512 (host and port modifiable)
More examples in examples folder.
Metadata
Release files for interactions-fastapi 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| interactions-fastapi-0.0.1.tar.gz | 16.0 kB | Without provenance | Details for interactions-fastapi-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| interactions_fastapi-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for interactions_fastapi-0.0.1-py3-none-any.whl |
Total release size: 32.2 kB
Release files / interactions-fastapi-0.0.1.tar.gz
| Download URL | interactions-fastapi-0.0.1.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b9436e4c3b7c793b7a8a2dabcc342ff2680c54b02775da244d9be2de240b0cb
|
|
BLAKE2b-256 checksum How to use checksums |
dc1f98affe7fe2ed0df9c85aa3a433ec9adc964944dc2c18a73aa8a685fac37d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Release files / interactions_fastapi-0.0.1-py3-none-any.whl
| Download URL | interactions_fastapi-0.0.1-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ae7759ec65a6c6ada64f89c4b3e94d44d6cc1489f95090a5eeffdb7a087e5950
|
|
BLAKE2b-256 checksum How to use checksums |
b663770bbb7d4d102621f04758489ea89dd8a8260ad4f5fd29ab27119b6f1cbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|
Security for interactions-fastapi 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.