🚀 Unified Database Connector Package
Overview
*DB Crud Automated is a powerful tool designed to simplify and automate database operations, particularly for MongoDB. This library allows developers to easily connect to a MongoDB database and perform Create, Read, Update, and Delete (CRUD) operations with minimal setup and code. The goal of Database Automator is to streamline database interactions and enhance productivity for developers working with databases.
Goal
The primary objective of Database Automator is to automate functionalities for connecting to MongoDB and executing CRUD operations efficiently. The library aims to provide a user-friendly interface that abstracts the complexities of database interactions.
Future Improvements
- Support for additional databases such as MySQL, Cassandra, and others.
- Enhanced error handling and logging features.
- More comprehensive documentation and examples soon.
Installation
To install Database Automator, you can use pip. Run the following command in your terminal:
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
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 or submit a pull request.
License
📝 This project is licensed under the MIT License. See the LICENSE file for details.
Contact
📧 For questions or support, feel free to reach out via email at mailmessage30@gmail.com.
Package or Repo will be updated soon
Metadata
Release files for db-crud-automated 0.0.10
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 |
|---|---|---|---|---|
| db_crud_automated-0.0.10.tar.gz | 4.7 kB | Without provenance | Details for db_crud_automated-0.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| db_crud_automated-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for db_crud_automated-0.0.10-py3-none-any.whl |
Total release size: 9.2 kB
Release files / db_crud_automated-0.0.10.tar.gz
| Download URL | db_crud_automated-0.0.10.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e727df6b5ed6e68a009f9960334935bf97b7f6a471fb10a777a6d72a5b0c107b
|
|
BLAKE2b-256 checksum How to use checksums |
e913e00795c4028a158667e5c440920cd1319efdd590b8fa1f9a501318ac5d90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / db_crud_automated-0.0.10-py3-none-any.whl
| Download URL | db_crud_automated-0.0.10-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6cbcc63118e1306e8f4f25d0a216049a258200f8cfac1fa0c3d8f4f572d3376d
|
|
BLAKE2b-256 checksum How to use checksums |
45d41fdb80a0fa683b524cec046d8f8380ea08daa9e6a51a9873bf309b4a74b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Security for db-crud-automated 0.0.10
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.