Metadata-Version: 2.4
Name: dg-sqlmesh
Version: 1.10.1
Summary: Seamless integration between Dagster and SQLMesh for modern data engineering workflows
Author-email: Thomas Trividic <thomastrividic@gmail.com>
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/fosk06/dagster-sqlmesh
Project-URL: Repository, https://github.com/fosk06/dagster-sqlmesh
Project-URL: Documentation, https://github.com/fosk06/dagster-sqlmesh#readme
Project-URL: Issues, https://github.com/fosk06/dagster-sqlmesh/issues
Keywords: dagster,sqlmesh,data-engineering,etl,data-pipeline
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Database
Classifier: Topic :: Scientific/Engineering :: Information Analysis
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: <3.13,>=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: dagster>=1.11.8
Requires-Dist: pandas>=2.2.1
Requires-Dist: sqlmesh[postgres,web]>=0.214.0
Requires-Dist: anyio>=4.9.0
Requires-Dist: vulture>=2.14
Requires-Dist: jinja2>=3.0.0
Provides-Extra: dev
Requires-Dist: dagster-webserver>=1.11.8; extra == "dev"
Requires-Dist: dagster-dg-cli>=1.11.8; extra == "dev"
Requires-Dist: pytest>=8.4.1; extra == "dev"
Dynamic: license-file

# dg-sqlmesh

[![PyPI version](https://badge.fury.io/py/dg-sqlmesh.svg)](https://badge.fury.io/py/dg-sqlmesh)
[![Current Version](https://img.shields.io/badge/version-1.9.2-blue.svg)](https://github.com/fosk06/dagster-sqlmesh/releases)
[![Tests](https://github.com/fosk06/dagster-sqlmesh/workflows/Test%20&%20Quality/badge.svg)](https://github.com/fosk06/dagster-sqlmesh/actions)
[![Documentation](https://img.shields.io/badge/docs-GitHub%20Pages-blue.svg)](https://fosk06.github.io/dagster-sqlmesh/)
[![License](https://img.shields.io/badge/license-Apache%202.0-green.svg)](LICENSE)
[![Python](https://img.shields.io/badge/python-3.11%2B-blue.svg)](https://www.python.org/)

A Dagster integration for SQLMesh that provides seamless orchestration of SQLMesh models, schedules, and assets within Dagster workflows.

## 🚀 Quick Start

```bash
# Install the package
pip install dg-sqlmesh

# Or install from source
pip install -e .
```

## 📚 Documentation

**📖 [Full Documentation →](https://fosk06.github.io/dagster-sqlmesh/)**

Our comprehensive documentation includes:

- **Getting Started** - Installation and setup guides
- **User Guide** - Core concepts and architecture
- **Examples** - Practical usage patterns
- **Development** - Contributing guidelines

## 🎯 Key Features

- **SQLMesh Integration** - Native support for SQLMesh models and schedules
- **Asset Management** - Automatic asset creation from SQLMesh models
- **Scheduling** - Adaptive scheduling with Dagster's scheduling system
- **Audit Integration** - Built-in audit checks and validation
- **Environment Management** - Multi-environment support

## 🏗️ Architecture

dg-sqlmesh provides a clean abstraction layer between Dagster and SQLMesh:

- **SQLMeshResource** - Manages SQLMesh context and execution
- **SQLMeshTranslator** - Converts SQLMesh concepts to Dagster assets
- **Factory Functions** - Easy setup and configuration

## 🔧 Installation

### From PyPI

```bash
pip install dg-sqlmesh
```

### From Source

```bash
git clone https://github.com/fosk06/dagster-sqlmesh.git
cd dagster-sqlmesh
pip install -e .
```

## 📖 Examples

See our [examples directory](examples/) and [documentation](https://fosk06.github.io/dagster-sqlmesh/) for comprehensive usage examples.

## 🤝 Contributing

We welcome contributions! Please see our [Contributing Guide](https://fosk06.github.io/dagster-sqlmesh/development/contributing/) for details.

## 📄 License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

## 🔗 Links

- **Documentation**: [https://fosk06.github.io/dagster-sqlmesh/](https://fosk06.github.io/dagster-sqlmesh/)
- **GitHub**: [https://github.com/fosk06/dagster-sqlmesh](https://github.com/fosk06/dagster-sqlmesh)
- **PyPI**: [https://pypi.org/project/dg-sqlmesh/](https://pypi.org/project/dg-sqlmesh/)
- **Releases**: [https://github.com/fosk06/dagster-sqlmesh/releases](https://github.com/fosk06/dagster-sqlmesh/releases)
