Skip to main content

Shared database access layer for Jiaofu AgentOS services

Project description

jiaofu-dbview

Shared database access package for Jiaofu AgentOS services.

The distribution name is jiaofu-dbview; the Python import name remains dbview, so existing application imports do not need to change:

from dbview.pys.dbview_dataset import DbViewDataset

Both the OceanBase and SQLite SQL definitions are included in the wheel. Runtime SQLite database files are deliberately not packaged.

Configuration is supplied explicitly by the caller; this package does not read service config files or environment variables:

from dbview import OceanBaseConfig, SQLiteConfig
from dbview.pys.dbview_dataset import DbViewDataset

oceanbase = DbViewDataset(
    "oceanbase",
    OceanBaseConfig(
        host="db.example.internal",
        port=2880,
        user="user",
        password="secret",
        database="tikumis",
    ),
)

sqlite = DbViewDataset("sqlite", SQLiteConfig(path="/data/sessions.db"))

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

jiaofu_dbview-0.2.1.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

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

jiaofu_dbview-0.2.1-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

Details for the file jiaofu_dbview-0.2.1.tar.gz.

File metadata

  • Download URL: jiaofu_dbview-0.2.1.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for jiaofu_dbview-0.2.1.tar.gz
Algorithm Hash digest
SHA256 cfd727420633fc5fee3b0c165d1d3fa7218e932ed4f48eedb346253d4c0935d8
MD5 afa1e38a6ca7a20b46a7c8e9ec3ab039
BLAKE2b-256 6ac6d017487ac1b74b48b8b12d291adb7471dac9b61a7b106353dd1993ee1e01

See more details on using hashes here.

File details

Details for the file jiaofu_dbview-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: jiaofu_dbview-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 36.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for jiaofu_dbview-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3fce334737d5ff310e7131556464486d631122e5d6b6891d0aea84a4b22a321a
MD5 23de659da57e935d96fc2d03c0cd9836
BLAKE2b-256 60ad34524a0c0db5fb07c15c6875faf6c279b11471b0dd37085f032a6205bb9b

See more details on using hashes here.

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