Skip to main content

A python package for connecting with database.

Project description

# 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mongo_bridge-0.0.5.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mongo_bridge-0.0.5-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file mongo_bridge-0.0.5.tar.gz.

File metadata

  • Download URL: mongo_bridge-0.0.5.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for mongo_bridge-0.0.5.tar.gz
Algorithm Hash digest
SHA256 1419b07c6c541ba2caf126e76dc4bbd6fda531a4a0a307650a1821bcf64fc507
MD5 34b8c86405507f68778284f1a5ea45f9
BLAKE2b-256 a03e7d024e1205b136a3afb5c81c5e33d74b3120bcdf5c365974b7e553d4a449

See more details on using hashes here.

File details

Details for the file mongo_bridge-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: mongo_bridge-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for mongo_bridge-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 35f57556d54781b2b4ace3e9043b34c0e37633b70393d2a416136610f8f87f7d
MD5 a9227d79c91b781e12089857550184b4
BLAKE2b-256 4bf480a6d697d90097903a81cdc4d03cc1981b971d5b8d44ec4e2dc791ea8523

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page