Skip to main content

Tibero dialect for SQLAlchemy

Project description

sqlalchemy-pytibero

PyPI version CI license

SQLAlchemy 2.0 dialect for the Tibero database, backed by pytibero.

Installation

pip install sqlalchemy-pytibero

With DB-API dependency:

pip install "sqlalchemy-pytibero[pytibero]"

Quick Start

from sqlalchemy import create_engine, text

engine = create_engine("tibero://tibero:password@localhost:8629/TESTDB")

with engine.connect() as conn:
    value = conn.execute(text("SELECT 1 FROM DUAL")).scalar()
    print(value)

Architecture

flowchart TD
    app["Application"] --> sa["SQLAlchemy Core/ORM"]
    sa --> dialect["TiberoDialect"]
    dialect --> dbapi["pytibero"]
    dbapi --> server["Tibero Server"]

Development

make lint
make test

License

MIT

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

sqlalchemy_pytibero-0.1.0.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

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

sqlalchemy_pytibero-0.1.0-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file sqlalchemy_pytibero-0.1.0.tar.gz.

File metadata

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

File hashes

Hashes for sqlalchemy_pytibero-0.1.0.tar.gz
Algorithm Hash digest
SHA256 31e882775cab60fc52e6249e0aa8e9de363ea6eed15b8b80f3054308670e03a7
MD5 4a6b1185a2187e468cfc395eab2b254f
BLAKE2b-256 4edb1493a142446b46f9e2e2d53c8a3e026cac9617d22f2f9243afd5db6fa44b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlalchemy_pytibero-0.1.0.tar.gz:

Publisher: publish-pypi.yml on yeongseon/sqlalchemy-pytibero

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

File details

Details for the file sqlalchemy_pytibero-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlalchemy_pytibero-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d9237991249f86d9d12f0b2fb1b532789114fc545ac55a11d0dceadbb8d92f28
MD5 a79c23ac03e8661682c2c0fffac5f568
BLAKE2b-256 edf73d78901eff378208eca42c392cae54d050ec745d98652f8cfc5c4084c1e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for sqlalchemy_pytibero-0.1.0-py3-none-any.whl:

Publisher: publish-pypi.yml on yeongseon/sqlalchemy-pytibero

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