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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jiaofu_dbview-0.2.0.tar.gz.
File metadata
- Download URL: jiaofu_dbview-0.2.0.tar.gz
- Upload date:
- Size: 21.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df5ad680760f267d9b005e565c2d9cf3002c9f9c86d28202b2529351db6c1af7
|
|
| MD5 |
31f3b261325d10d0e1017207b780528d
|
|
| BLAKE2b-256 |
f1127853b2459ef9f0798bc0c7082a105d29c115ec7ba94c08cb25ba5aa4b837
|
File details
Details for the file jiaofu_dbview-0.2.0-py3-none-any.whl.
File metadata
- Download URL: jiaofu_dbview-0.2.0-py3-none-any.whl
- Upload date:
- Size: 35.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c55ad5f3160c10ba659ece25918e46a4332fed0be324b7258e2ccb1bd1de5ad8
|
|
| MD5 |
ba6aff6d19b8adc97c3f818bd4a9b3e1
|
|
| BLAKE2b-256 |
c0d3eecf1713beb7eb53b95613ba176e63e85a3c68d23273c52b2ab9c13a75cc
|