Skip to main content

Wrappers for connecting to data systems

Project description

cnxns

About

cnxns abstracts the complexity of working with a variety of data systems.

Supported Systems

DBMS

  • Microsoft SQL Server
  • MySQL/MariaDB

Dataverse

  • Dynamics 365

Getting started

pip install git+https://github.com/n3ddu8/cnxns.git#egg=cnxns
python
from cnxns import dbms
help(dbms)

Example Usage

from cnxns import dbms as db

e = db.dbms_cnxn(
    dbms = "mssql",
    server = "localhost",
    uid = "sa",
    pwd = "YourStrong@Passw0rd",
    database = "dev",
)

df = db.dbms_reader(
    e,
    table_name = "myAwesomeTable",
)

db.dbms_writer(
    e,
    df,
    "myAwesomeTableSnapshot",
    if_exists="append",
)

Dependencies

  • ODBC Driver X for SQL Server (tested with 18)
  • MySQL ODBC X driver (tested with 9.4)

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

cnxns-0.0.1.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

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

cnxns-0.0.1-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

Details for the file cnxns-0.0.1.tar.gz.

File metadata

  • Download URL: cnxns-0.0.1.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cnxns-0.0.1.tar.gz
Algorithm Hash digest
SHA256 56509a737c4b80baff6d6021e910ba6bbbe52d7ca256a8d63bf78c5bacd3b865
MD5 37ee9f8d3df4c2fafbd15075272f1718
BLAKE2b-256 f9014dcbef5b7deffec704b997c8bd6c82954384e78718ed2e1d5115a2e44566

See more details on using hashes here.

Provenance

The following attestation bundles were made for cnxns-0.0.1.tar.gz:

Publisher: python-publish.yml on n3ddu8/cnxns

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file cnxns-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: cnxns-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cnxns-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d404eeaca4a79926877e8599521518e0dfa4150f544cf53ad4989f2450961e0e
MD5 efab864c0280251091a98656b76f3da1
BLAKE2b-256 a82cd2059d3c50585cefa266eb9fefbf09505c38c7e67ad957fd0f4ab1b2cafd

See more details on using hashes here.

Provenance

The following attestation bundles were made for cnxns-0.0.1-py3-none-any.whl:

Publisher: python-publish.yml on n3ddu8/cnxns

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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