Skip to main content

Cloud DB Connector

A unified cloud storage package that provides seamless integration with major cloud providers: Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). This library allows developers to easily access and manage cloud storage services with a consistent interface.

Package Structure

- database_manager.py      # Factory function to create DB connection based on the service type
- db_connection.py         # Interface to get DB connection
- rds_execute.py           # RDS SQL operations

Features

  • Supports Multiple Cloud Providers: Easily switch between AWS, Azure, and GCP.
  • Flexible Configuration: Configure services with required parameters for each provider.
  • Intuitive API: Simple methods for managing cloud storage operations.

Installation

Ensure all necessary dependencies are installed:

pip install cloud_db_connector

Usage

#! pip install cloud_db_connector

from cloud_db_connector import get_cloud_db_service
aws_service = get_cloud_db_service(
    service='aws',
    hostname='abc-dev-sandbox.cluster-cgjdfh3jkv0.us.rds.amazonaws.com',
    port=3306,
    username='Username',
    password="Password",
    database='ConnexaDev',
    region='us-east-1'
    )

query = "SELECT * FROM person LIMIT 1;"
results = aws_service.execute(query)

print("Query Results:")
for row in results:
    print(row)

Metadata

Release files for cloud-db-connector 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cloud-db-connector 0.2.4
File Size Uploaded
cloud_db_connector-0.2.4.tar.gz 5.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cloud-db-connector 0.2.4
File Interpreter ABI Platform
cloud_db_connector-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 13.1 kB

Release files / cloud_db_connector-0.2.4.tar.gz

Download URL cloud_db_connector-0.2.4.tar.gz
Size 5.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c93d1150062604848173e6851bd8c67034e96b737372e98ac0cde2bb60d32a1d
BLAKE2b-256 checksum
How to use checksums
16f57a2a5495eea11baf2aefaa57387e98aaaa866faded3feafa0198197617c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release files / cloud_db_connector-0.2.4-py3-none-any.whl

Download URL cloud_db_connector-0.2.4-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eaa1faaff1865f2bb543cdf7952cdda62bc3983facd2060b7ffa73b08f079d11
BLAKE2b-256 checksum
How to use checksums
fd8f38c68aa6d54e6b011a2d2901bbac35bbf4970b8eb9d6683f2d5bf4a9e6c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.1

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page