Metadata-Version: 2.1
Name: mongo_bridge
Version: 0.0.5
Summary: A python package for connecting with database.
Home-page: https://github.com/Vansh353/MongoDB
Author: Vansh353
Author-email: vansh.malhotra@seaflux.tech
License: MIT
Project-URL: Bug Tracker, https://github.com/Vansh353/MongoDB/issues
Classifier: Programming Language :: Python :: 3.11
Classifier: Operating System :: OS Independent
License-File: LICENSE
Requires-Dist: pymongo
Requires-Dist: dnspython
Requires-Dist: pandas
Requires-Dist: numpy
Requires-Dist: ensure
Requires-Dist: pytest
Requires-Dist: tox
Provides-Extra: testing
Requires-Dist: pytest >=7.1.3 ; extra == 'testing'
Requires-Dist: mypy >=0.971 ; extra == 'testing'
Requires-Dist: flake8 >=5.0.4 ; extra == 'testing'
Requires-Dist: black >=22.8.0 ; extra == 'testing'

# Mongo Bridge

Mongo Bridge is a Python package designed to simplify the process of connecting to MongoDB Atlas and performing CRUD (Create, Read, Update, Delete) operations. It offers a high-level API for interacting with MongoDB databases, making it easier to manage database operations within your Python applications.

## Installation

You can install Mongo Bridge via pip:

\`\`\`bash
pip install mongo-bridge
\`\`\`

## Usage

To start using Mongo Bridge, follow these steps:

1. **Import the \`mongodb_operation\` function from \`mongo_bridge\` module:**

    \`\`\`python
    from mongo_bridge import mongodb_operation
    \`\`\`

2. **Configure your MongoDB Atlas connection:**

    Replace the placeholders \`<username>\`, \`<password>\`, \`<cluster-url>\`, \`<app-name>\`, \`<database-name>\`, and \`<collection-name>\` with your actual MongoDB Atlas details.

    \`\`\`python
    client_url = "mongodb+srv://<username>:<password>@<cluster-url>/?retryWrites=true&w=majority&appName=<app-name>"
    database = "<database-name>"
    collection_name = "<collection-name>"
    \`\`\`

3. **Create a new client and connect to the server:**

    \`\`\`python
    mongo = mongodb_operation(client_url, database, collection_name)
    \`\`\`

## Features

- **Easy Connection:** Simplifies connection to MongoDB Atlas databases.
- **High-Level API:** Provides a high-level API for performing CRUD operations.
- **Support for CRUD Operations:** Supports various MongoDB operations, including Create, Read, Update, and Delete.

## Deployment

Mongo Bridge is available on PyPI for easy installation. You can find it [here](https://pypi.org/project/mongo-bridge/).

## Contributing

We welcome contributions! Please see our [contributing guidelines](CONTRIBUTING.md) for more details.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
EOF
