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, orincomplete.sql_type: aSQLType; 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.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| datus_db_core-0.1.9.tar.gz | 50.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| datus_db_core-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 90.1 kB
Release files / datus_db_core-0.1.9.tar.gz
| Download URL | datus_db_core-0.1.9.tar.gz |
|---|---|
| Size | 50.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f9d71932e16afb426861c8aaabe76fbb10625e9b5c3d7ebf35e4192b436bb4b8
|
|
BLAKE2b-256 checksum How to use checksums |
e57ef6a238ff82b4b910b637acb406ecd359aa52cae90fd3a41345225b238599
|
| 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.9-py3-none-any.whl
| Download URL | datus_db_core-0.1.9-py3-none-any.whl |
|---|---|
| Size | 39.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19a08013c5e07c2e8f7cd63fbd76550bff52d98ee437f19a410eaecfb41cbf49
|
|
BLAKE2b-256 checksum How to use checksums |
cbde43c925be0828d1f8d0d009c378a6b255331d3f9a924479037ca59c09c6fc
|
| 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.9
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.