/mongo-uploader

A basic python program to interact with MongoDB. This allows you to convert data to and from between csv/Excel and MongoDB

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

Mongo Uploader

A basic python program to interact with MongoDB. It provides an interface to convert data between MongoDB and csv/Excel files

You can easily upload your csv/Excel files to MongoDB for Object-Oriented Storage or download Objects from MongoDB locally in the form of csv or Execl files.

I will add further support for other types if it crosses my mind or someone suggests it :)

PS: For people who are new to MongoDB, here are some terms explained in relation to Excel files:

  • Database: Excel File
  • Collection: Sheet
  • Document: Row / Object
  • Field: Column / Attribute

Environment Variables

To run this project, you will need to add the following environment variables to your .env file.
Also make sure that the .env file is in the same directory as the main.py file.

  • These are mainly for MongoDB connection. I will add them later

Roadmap

  • Parse arguments to run single line cli commands
  • Update Environments section of README
  • Create cli to take individual inputs if no args given in command
  • Add a feature to have a .save file to load default args
  • Think of more uses

Contributing

Contributions are always welcome!

I try to follow PEP8 guidelines for my code style and would like you to do the same. If you find that I'm not following it or maybe have some better suggestions, feel free to let me know.

I would appreciate it if you can make any improvements to this or give any ideas for the same. You can create an issue for any bugs or suggestions.


This readme file was created using a very helpful tool readme.so created by @octokatherine