this project consists of creating a middleware to transmit the data collected on an Object Request to a MongoDB Database for later analysis
Project description
CollectMiddleware
The objective of this project is to develop a middleware that can efficiently transmit the data gathered from an Object Request to a MongoDB Database. The middleware will play a crucial role in the overall process of collecting and analyzing data. It will act as a bridge between the Object Request and the database, ensuring that the data is transmitted accurately and securely. Once the data is collected in the database, it can be further analyzed and used to gain valuable insights that can help in making informed decisions. In short, the middleware will enable seamless and efficient data transmission, making the process of data analysis more effective and reliable.
how to install
pip3 install collectmiddleware
How to use it
from fastapi import FastAPI
from collectmiddleware import CollectMiddleware
app = FastAPI()
app.add_middleware(CollectMiddleware, mongodb_uri="mongodb://localhost:27017/")
@app.get("/")
async def main():
return {"message": "Hello World"}
Example
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file collectmiddleware-0.1.1.tar.gz.
File metadata
- Download URL: collectmiddleware-0.1.1.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffc0ae2c952593a7d168fab478a953bda5b07e2b48d3280cdc8059f6f8c66800
|
|
| MD5 |
b4ccfcb5aa0b213bd1523fe876018db4
|
|
| BLAKE2b-256 |
8a85ef3935ab7b8b64e92523cc6d2784cee694d0b8940d878958d8f4e98c1642
|
File details
Details for the file collectmiddleware-0.1.1-py3-none-any.whl.
File metadata
- Download URL: collectmiddleware-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.21
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a963975db5522a4562d9295152d8a94303be7d58dd020e30d6a8fb582ba25eca
|
|
| MD5 |
9f0f9e80e759939451c920ca7333e482
|
|
| BLAKE2b-256 |
98b45e99b78f7114bf889276fccd941dc30952b11e119e6f78a445ad0edc36a4
|