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.2.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.2-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: cnxns-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 2921a66affa5954c2b7d1018c0b0ca6abdce524d9e642eee188537b1f2b4a8d2
MD5 083dea3f2a59a72e14885e40f9ae4011
BLAKE2b-256 f302b07f7647e0b1e602fb72ef32cefbc22b415dab465f28f3f8b54e67f335f7

See more details on using hashes here.

Provenance

The following attestation bundles were made for cnxns-0.0.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: cnxns-0.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fef4fadb0e32963f37a36c15809404c92e854a606e4e113c6f67deeded5a931a
MD5 bb1fef75982b6f657eaf757f943618ac
BLAKE2b-256 fa83afba53302ed34517b43fef97850806d81f0dc582df613c72af623242dbaa

See more details on using hashes here.

Provenance

The following attestation bundles were made for cnxns-0.0.2-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