Skip to main content

Improve your workflow efficiency by connecting to databases and cloud systems effortlessly.

Project description

dot-connect

tox PyPI

A Python package designed to simplify the way you fetch connection configurations and establish connections to various databases and cloud systems.

🚀 Features

  • Unified Interface: Say goodbye to juggling multiple APIs. With dot_connect, you get a standardized interface, making connecting with various databases and cloud providers easier.

  • Easy Configuration: Fetch connection configurations with ease. dot_connect supports various sources like JSON files, environment variables, and more, ensuring flexibility and adaptability for your projects.

  • Supported Backends: Out-of-the-box support for popular systems such as MySQL, Postgres, and Snowflake. We're continuously working to expand this list.

  • Extensibility: Designed with developers in mind, it's easy to extend and customize dot_connect for your needs.

📦 Installation (PyPI)

pip install dot-connect

🔧 Usage

  1. Create a .env file.

  2. Connect and query various backends!

import dot_connect

con = dot_connect.snowflake.connect()
con.cursor().execute("SELECT 1;").fetchall()

con = dot_connect.snowpark.connect()
con.sql("SELECT 1").show()

con = dot_connect.mysql.connect()

cursor = con.cursor()
cursor.execute("SELECT 1")
cursor.fetchall()

con = dot_connect.postgres.connect()

cursor = con.cursor()
cursor.execute("SELECT 1")
cursor.fetchall()

🤝 Contributing

We welcome contributions from the community. Whether it's a bug report, a new feature, or an improvement, your insights will help make dot_connect even better. Please see our contributing guidelines for more details.

⚖️ License

Licensed under the Apache License, Version 2.0. See LICENSE for the full text.

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

dot_connect-0.3.2.tar.gz (13.0 kB view hashes)

Uploaded Source

Built Distribution

dot_connect-0.3.2-py3-none-any.whl (15.5 kB view hashes)

Uploaded Python 3

Supported by

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