AutoDW: Data Warehouse Intelligent Agent 🚀
Automated schema processing bridge connecting data warehouses with LLMs
AutoDW is an LLM-based intelligent agent that enhances data warehouse development efficiency through automated database schema processing, metadata optimization, and ETL generation.
✨ Core Features
Schema Parsing Engine
| Capability | Description |
|---|---|
| Multi-format Export | Exports to JSON/Spider-JSON/MSchema formats |
| Intelligent Sampling | Random value extraction + frequency-based optimization |
| Precision Filtering | Table/column-level data filtering support |
| Currently Supported | SQLite • More DB types coming soon |
Metadata Serializer
# Complete metadata serialization in 3 steps
1. Initialize database connection
2. Select serialization format (mschema/json)
3. Retrieve structured metadata
🚧 Development Roadmap
✅ Implemented Features
- Database schema interaction engine
- DB Schema ↔ JSON bidirectional conversion
- DB Schema → MSchema serialization
🚀 Coming Soon
- SQL → JSON intelligent converter
- LLM-powered query optimization engine
- Automated ETL script generator
- Schema diff visualization tool
- Cloud service support: BigQuery • Snowflake • Redshift
- REST API remote access interface
⚙️ Quick Installation
pip install autodw
🎯 Usage Examples
Schema Parsing
from autodw.connectors.sqlite import SQLiteConnector
db = SQLiteConnector("your_db.sqlite")
with db:
schema = db.get_database_schema(
format="json",
sample_type="random",
max_samples=3
)
print(schema) # Get structured schema data
Metadata Serialization
from autodw.serializers import DatabaseSchemaSerializer
db = SQLiteConnector("your_db.sqlite")
with db:
serializer = DatabaseSchemaSerializer(
connector=db,
serializer_type="mschema",
exclude_tables=["temp_*"]
)
print(serializer.generate()) # Output MSchema format
📚 Advanced Documentation
Visit docs/ directory for:
- Detailed API reference
- Schema parsing configuration guide
- LLM integration best practices
Technical Support: Questions? Submit a GitHub Issue
Project Lead: d7inshi@outlook.com
Project Status: v0.1.1 (Actively Developed)
Metadata
Release files for autodw 0.1.1.post3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autodw-0.1.1.post3-py3-none-any.whl | Python 3 | none | any | Details |
Release files / autodw-0.1.1.post3-py3-none-any.whl
| Download URL | autodw-0.1.1.post3-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c38c7598f993d5325ace3b95cd6e958c0ba677d466909dee0af4a02af155481b
|
|
BLAKE2b-256 checksum How to use checksums |
38cf6e9fedec38b0a5ff90bc0d048391c1a2341dd53c95d27d91f9b89c2ac45f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
|
Security for autodw 0.1.1.post3
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.