Skip to main content

Altibase dialect for SQLAlchemy

Project description

sqlalchemy-pyaltibase

PyPI version CI license

SQLAlchemy 2.0 dialect for the Altibase database, backed by pyaltibase.

Installation

pip install sqlalchemy-pyaltibase

With DB-API dependency:

pip install "sqlalchemy-pyaltibase[pyaltibase]"

Quick Start

from sqlalchemy import create_engine, text

engine = create_engine("altibase://user:password@localhost:20300/mydb")

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["AltibaseDialect"]
    dialect --> dbapi["pyaltibase"]
    dbapi --> server["Altibase 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_pyaltibase-0.1.0.tar.gz (17.9 kB view details)

Uploaded Source

Built Distribution

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

sqlalchemy_pyaltibase-0.1.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sqlalchemy_pyaltibase-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4353c71624d84436191daef78cb7452c08e919be0258806e4ae42d8391d86491
MD5 300e0cd6b844e15cd152e58d31b47d02
BLAKE2b-256 49528663119eabc3d9d03b0edba54c3a3891dc605dd49f511efe678f7a53d71c

See more details on using hashes here.

Provenance

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

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

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_pyaltibase-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlalchemy_pyaltibase-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e1dded173c71b03748c079592bdc1a54940e5a1716b29ef89c2b535242c8f02
MD5 23e08bb49ba68c36b12f4e0b577edbc9
BLAKE2b-256 dad923d2ac83dddf49c8bfe7c7ae0c1412a3a7e28f63c89e8e7a5a8a7c9503bf

See more details on using hashes here.

Provenance

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

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

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