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:

pip install mongo-bridge

## Usage

To start using Mongo Bridge, follow these steps:

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

    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.

    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:

    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 for more details: [CONTRIBUTING.md](CONTRIBUTING.md)

## License

This project is licensed under the MIT License. See the LICENSE file for details.

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.6.tar.gz (5.4 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.6-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mongo_bridge-0.0.6.tar.gz
  • Upload date:
  • Size: 5.4 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.6.tar.gz
Algorithm Hash digest
SHA256 1b7ad946263966238c0bd6b46015e91558311fe7bfea8c8a5bbef650785fdd25
MD5 8bad6b67ccb5f6a91ffae55178b2729f
BLAKE2b-256 888a7a14e2bc6749023198a70e7cd2079b897621901bac0c17f6934b37cd07d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mongo_bridge-0.0.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 2e5f835707dda5f6bd670e3223860d4374f0b663d25e4293772b43b190fb5581
MD5 27d43ba3514baca28f5ef49ee7855327
BLAKE2b-256 659ed5551301adee98e060c51df19bdf06314d46c8e1ec7196459f8faa83fe15

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