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
Metadata
Release files for collectmiddleware 0.1.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 |
|---|---|---|---|---|
| collectmiddleware-0.1.1.tar.gz | 2.5 kB | Without provenance | Details for collectmiddleware-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| collectmiddleware-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for collectmiddleware-0.1.1-py3-none-any.whl |
Total release size: 5.5 kB
Release files / collectmiddleware-0.1.1.tar.gz
| Download URL | collectmiddleware-0.1.1.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ffc0ae2c952593a7d168fab478a953bda5b07e2b48d3280cdc8059f6f8c66800
|
|
BLAKE2b-256 checksum How to use checksums |
8a85ef3935ab7b8b64e92523cc6d2784cee694d0b8940d878958d8f4e98c1642
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.21
|
Release files / collectmiddleware-0.1.1-py3-none-any.whl
| Download URL | collectmiddleware-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a963975db5522a4562d9295152d8a94303be7d58dd020e30d6a8fb582ba25eca
|
|
BLAKE2b-256 checksum How to use checksums |
98b45e99b78f7114bf889276fccd941dc30952b11e119e6f78a445ad0edc36a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.7.21
|
Security for collectmiddleware 0.1.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.