https://github.com/darixsamani/collectmiddleware

This project consists of creating a middleware to transmit the data collected on an Object Request to a MongoDB Database for later analysis

https://github.com/darixsamani/collectmiddleware

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (5.0%) to scientific vocabulary

Keywords

fastapi middleware mongodb
Last synced: 5 months ago · JSON representation

Repository

This project consists of creating a middleware to transmit the data collected on an Object Request to a MongoDB Database for later analysis

Basic Info
Statistics
  • Stars: 5
  • Watchers: 1
  • Forks: 0
  • Open Issues: 1
  • Releases: 1
Topics
fastapi middleware mongodb
Created over 2 years ago · Last pushed 8 months ago
Metadata Files
Readme

README.md

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

bash pip3 install collectmiddleware

How to use it

``` python

from fastapi import FastAPI from collectmiddleware import CollectMiddleware

app = FastAPI()

app.addmiddleware(CollectMiddleware, mongodburi="mongodb://localhost:27017/")

@app.get("/") async def main(): return {"message": "Hello World"} ```

Example

Owner

  • Name: Darix SAMANI SIEWE
  • Login: darixsamani
  • Kind: user
  • Location: Douala, Cameroon
  • Company: @DataTouchAnalytics, @hoozonsarl

Software Engineer

GitHub Events

Total
  • Issues event: 1
  • Push event: 1
Last Year
  • Issues event: 1
  • Push event: 1

Dependencies

.github/workflows/python-publish.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v3 composite
  • pypa/gh-action-pypi-publish 27b31702a0e7fc50959f5ad993c78deac1bdfc29 composite
pyproject.toml pypi
  • pymongo ^4.7.3
  • python ^3.8
  • starlette ^0.37.2
  • typing-extensions ^4.12.2