Skip to main content

GBasedbt Alchemy Adapter

The GBasedbt Alchemy adapter provides the Python/SQLAlchemy interface to GBase 8s Servers. Fork from https://github.com/OpenInformix/InformixAlchemy

Version

x.x.x

Prerequisites

  1. Python 3.5.x .
  2. SQLAlchemy 0.7.3 or above.
  3. DbtPy driver and DbtPyDbi

Install and Configuration

The GBasedbt Alchemy Python Egg component (.egg) can be installed using the standard setuptools provided by the Python Easy Install through Python Enterprise Application Kit community portal: http://peak.telecommunity.com/DevCenter/EasyInstall

Please follow the steps provided to Install "Easy Install" in the link above and follow up with these additional steps to install GBasedbt Alchemy:

  1. To install GBasedbt Alchemy from source Standard Python setup should be used:: python setup.py build python setup.py install

Connecting

A TCP/IP connection can be specified as the following::

from sqlalchemy import create_engine

e = create_engine("gbasedbt://user:pass@host[:port]/database")

For a local socket connection, exclude the "host" and "port" portions::

from sqlalchemy import create_engine

e = create_engine("gbasedbt://user:pass@/database")

Known Limitations in DbtAlchemy adapter for GBase 8s databases

  1. Non-standard SQL queries are not supported. e.g. "SELECT ? FROM TAB1"
  2. For updations involving primary/foreign key references, the entries should be made in correct order. Integrity check is always on and thus the primary keys referenced by the foreign keys in the referencing tables should always exist in the parent table.
  3. Unique key which contains nullable column not supported
  4. UPDATE CASCADE for foreign keys not supported
  5. DEFERRABLE INITIALLY deferred not supported
  6. Subquery in ON clause of LEFT OUTER JOIN not supported

Metadata

Release files for DbtAlchemy 1.0.1.1

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

Built distributions (wheels)

Table of built distributions (wheels) for DbtAlchemy 1.0.1.1
File Interpreter ABI Platform
DbtAlchemy-1.0.1.1-py3.6.egg Legacy Egg format - - Details
DbtAlchemy-1.0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 69.3 kB

Release files / DbtAlchemy-1.0.1.1-py3.6.egg

Download URL DbtAlchemy-1.0.1.1-py3.6.egg
Size 44.9 kB
Tags Egg
SHA-256 checksum
How to use checksums
61d9c10b8ecdf05463729ff79d45acbb14ea66682c835fa10aafb7b0df4a5d6c
BLAKE2b-256 checksum
How to use checksums
da6a33248d3195570b41f7214f06ca886157050c7836b1904f0ccb26f61d8edf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

Release files / DbtAlchemy-1.0.1.1-py3-none-any.whl

Download URL DbtAlchemy-1.0.1.1-py3-none-any.whl
Size 24.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45b2f7abc918c470bb064f9325bf4aba426924db7add965ada2579e3f99ac1ab
BLAKE2b-256 checksum
How to use checksums
fd1c99e460eaf5f7f651c5d218da0a4cc279b79674dea1cbbbb53842a3d4edc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.9.6 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.10.1 urllib3/1.26.15 tqdm/4.64.1 importlib-metadata/4.8.3 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.5 CPython/3.6.8

Security for DbtAlchemy 1.0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.1.1 This release

2 release files No provenance

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