Skip to main content

datus-db-core

Core database abstractions for Datus adapters. Provides BaseSqlConnector, ConnectorRegistry, SQL parsing utilities, and shared models used by all database adapter packages.

Installation

pip install datus-db-core

Optional native SQL analysis

Adapters whose execution SDK does not expose a local SQLGlot AST can register sql_analyzer=callable alongside existing parser/identifier hooks. The callable accepts the original SQL and returns datus_db_core.sql_analysis.SQLAnalysis:

  • status: complete, unsupported, error, or incomplete.
  • sql_type: a SQLType; usable for dispatch only when analysis is complete.
  • tables: SQL identifiers with case and quoting preserved. Empty means no physical tables only for a complete analysis.
  • diagnostic: a safe explanation without SQL, credentials, or bound values.

Consumers use connector_registry.get_sql_analyzer(dialect) and analysis.require_complete() before trusting table facts. The default is None, retaining existing behavior. This is not a generator/transpilation or lineage contract. A compatible parser_dialect must not replace the adapter's namespace capabilities. No SDK dependencies or new abstract methods are added to other adapters. This optional API is introduced in db-core 0.1.8.

Metadata

Release files for datus-db-core 0.1.10

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

Source distribution (sdist)

Source distribution for datus-db-core 0.1.10
File Size Uploaded Provenance Actions
datus_db_core-0.1.10.tar.gz 53.0 kB Without provenance Details for datus_db_core-0.1.10.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for datus-db-core 0.1.10
File Interpreter ABI Platform Actions
datus_db_core-0.1.10-py3-none-any.whl Python 3 none any Details for datus_db_core-0.1.10-py3-none-any.whl

Total release size: 94.9 kB

Release files / datus_db_core-0.1.10.tar.gz

Download URL datus_db_core-0.1.10.tar.gz
Size 53.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a81ad72bbe117c086156d36831bf83e6359977932f695f18a0e39348e61f8c11
BLAKE2b-256 checksum
How to use checksums
56cd53acdda7b69ccce17dbafe2bdf05bcb7548eae63b47ed668868011bc2fb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / datus_db_core-0.1.10-py3-none-any.whl

Download URL datus_db_core-0.1.10-py3-none-any.whl
Size 41.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ba75a7d38229d9032a49e149678f4c7ed51dce46bc8e4a4a2de9e25ece70c6f
BLAKE2b-256 checksum
How to use checksums
828f58693dafc8bafb31dbba2cc55f4abc60ff279c28bf14f4e7d223f8c008d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for datus-db-core 0.1.10

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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