Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shaheennabi/unified-database-connector-package
π MongoDB Automator π A powerful tool for automating MongoDB operations, making it easier than ever to connect and perform CRUD functionality. π Future updates will expand support to MySQL, Cassandra, and beyond, bringing even more database versatility to your fingertips! ππ»
https://github.com/shaheennabi/unified-database-connector-package
crud database database-operations machinelearning modular-coding mongodb pypi-package
Last synced: about 1 month ago
JSON representation
π MongoDB Automator π A powerful tool for automating MongoDB operations, making it easier than ever to connect and perform CRUD functionality. π Future updates will expand support to MySQL, Cassandra, and beyond, bringing even more database versatility to your fingertips! ππ»
- Host: GitHub
- URL: https://github.com/shaheennabi/unified-database-connector-package
- Owner: shaheennabi
- License: mit
- Created: 2024-10-21T10:49:33.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-14T07:45:20.000Z (about 2 months ago)
- Last Synced: 2024-11-14T08:28:20.371Z (about 2 months ago)
- Topics: crud, database, database-operations, machinelearning, modular-coding, mongodb, pypi-package
- Language: Jupyter Notebook
- Homepage: https://pypi.org/project/db-crud-automated/
- Size: 38.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ππ Unified Database Connector Package π
## Overview
**DB Crud Automated** is a powerful tool designed to simplify and automate database operations, especially for MongoDB. This library enables developers to connect to a MongoDB database effortlessly and perform Create, Read, Update, and Delete (CRUD) operations with minimal setup and code. Database Automator is built to streamline database interactions and boost productivity for developers working with databases.
## Goal
The primary goal of Database Automator is to automate functionalities for connecting to MongoDB and executing CRUD operations efficiently. The library offers a user-friendly interface that abstracts the complexities of database interactions, making development smoother and more accessible.
### π Future Improvements π
- Support for additional databases, including **MySQL**, **Cassandra**, and others.
- Enhanced error handling and logging features.
- Expanded documentation and examples coming soon.## Installation
To install Database Automator, you can use pip. Run the following command in your terminal:
```bash
pip install db-crud-automated
```## Features
- β **Easy Connection:** Simplifies the process of connecting to MongoDB.
- π **CRUD Operations:** Provides straightforward methods to perform Create, Read, Update, and Delete operations.
- π± **Extensibility:** Future support for other databases such as MySQL and Cassandra.## Usage
Hereβs a quick example of how to use the `mongo_operation` class to connect to a MongoDB database and perform CRUD operations:
### Example
```bash
from mongodb_connect.mongo_crud import mongo_operation# Initialize the MongoDB operation class
mongo_client = mongo_operation(client_url='your_mongodb_uri',
database_name='your_database_name',
collection_name='your_collection_name')# Create a new record
record = {'name': 'John Doe', 'age': 30}
mongo_client.insert_record(record, collection_name='your_collection_name')# Bulk insert records from a CSV file
mongo_client.bulk_insert('path_to_your_file.csv', collection_name='your_collection_name')# You can also use a list of records for insertion
records_list = [
{'name': 'Alice', 'age': 25},
{'name': 'Bob', 'age': 28}
]
mongo_client.insert_record(records_list, collection_name='your_collection_name')
```## π Contributing π
π€ Contributions are welcome! If you have suggestions or improvements, please [open an issue](https://github.com/shaheennabi/Unified-Database-Connector-Package/issues) or submit a pull request.
---
## π License π
π This project is licensed under the MIT License. See the [LICENSE](./LICENSE) file for details.
---
## βοΈ Contact βοΈ
π§ For questions or support, feel free to reach out via email at [[email protected]](mailto:[email protected]).
---
### πβ¨ Package or Repo will be updated soon β¨π