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.12

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.12
File Size Uploaded Provenance Actions
datus_db_core-0.1.12.tar.gz 59.0 kB Without provenance Details for datus_db_core-0.1.12.tar.gz

Built distribution (wheel)

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

Total release size: 104.9 kB

Release files / datus_db_core-0.1.12.tar.gz

Download URL datus_db_core-0.1.12.tar.gz
Size 59.0 kB
Tags Source
SHA-256 checksum
How to use checksums
93fd57aef13d1b281341e81b8aca79633af5f6c0c04eb91956632a8bbdae051a
BLAKE2b-256 checksum
How to use checksums
e010fc3e9a64b070429841888d138ef8126a204ef6215970bcaff0580820cbe5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

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

Download URL datus_db_core-0.1.12-py3-none-any.whl
Size 45.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ae2c42f5c0882f9c81ddc2ef206100c55dc78b6ccc883265a53599cd52b2ed5
BLAKE2b-256 checksum
How to use checksums
36e88f8724305ba6dfa4bb29436661468a79bb6f25d4bf701111e94f90b2674e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.16

Security for datus-db-core 0.1.12

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