Skip to content

IB2357/MongoDB-files-uploader-streamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

files uploader & streamer for MongoDB

I created this to test my streaming pipeline that stream files from MongoDB

before use:

  • rename file .env.example to .env and add to it your connection configs
  • run pip install -r requirements.txt
  • you can edit upload.py and stream.py to add your configs

Warning

you have to configure replica set in MongoDB


for uploading

python upload.py

a new folders source/ & archive/ will be created (if not exist)

Now add files to source/ folder and watch them upload

uploaded files will move from source/ to archive/

for streaming

python stream.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages