This release is a pre-release and may not be stable for production use.
Debussy
Debussy is a free, open-source, opinionated Data Architecture and Engineering framework. It enables data analysts and engineers to build better data platforms through first class data pipelines, following a low-code and self-service approach.
Description
·
Key Features
·
Key Benefits
·
Quick Start
·
Integrations
Full Documentation
·
Communication
·
Contributions
·
License
Description
In the data engineering field, everyone is reinventing the wheel all the time – it's still rare to see the adoption of software engineering best practices, such as DRY, KISS or YAGNI. Despite the existence of several tools for data orchestration (e.g. Apache Airflow, Prefect, Dagster) and distributed data processing (e.g. Apache Spark, Apache Beam), every time a new data pipeline demand arises it usually implies lengthy development projects. Think of developing a web application without the help of a web framework such as Django or Flask!
What's even worse, although sharing key concepts, these data orchestration tools have very distinct syntaxes and features, making migrations a daunting task! Moreover, simply adopting these tools does not guarantee that best practices are being followed, including with regard to data architecture (think of data modeling, data management lifecycle, among others).
While lots of companies have faced these same issues, most of them have decided to develop their own in-house solutions, missing the opportunity for colaboration and wider adoption of data architecture and sofware engineering best practices.
With that in mind, we created Debussy! It's a code generation engine for orchestration tools, currently supporting only Airflow, but with others on the Roadmap. It provides abstraction layers in the form of a musical themed semantic model, decoupling the pipeline logic to the underlying orchestration tool, and enabling a low-code approach to data engineering. We also provides pipelines templates (e.g. data ingestion, data transformation and reverse ETL) built with our engine, while always striving to offer the aforementioned best practices.
Key Features
- Dynamic data pipeline generation from YAML configuration files or directly through Python
- Provides a semantic model for data pipeline development, abstracting the inner orchestration engine
- Enables seamless integration of first class data projects, such as Airflow, Spark, and dbt
Key Benefits
✔ It provides lower time to delivery and costs related to data pipeline development, while enabling higher ROI
✔ Avoid pipeline debt by following sound software engineering design principles
✔ Ensure your platform is following data architecture best practices
Quick Start
Debussy requires Python 3.11+ and Apache Airflow 3.4+. Since we currently support only GCP based data platforms as the target Data Lakehouse, we recommend a deployment to Cloud Composer.
In order to use Debussy, you first need to go through the following steps:
- Select or create a Google Cloud Platform project.
- Enable billing for your project.
- Create a Cloud Composer 3 environment running Airflow 3.
- Install Debussy on your Cloud Composer instance, with the extras your pipelines need (see Installation).
- Check our User's Guide and examples to learn how to use it!
Installation
The base package (pip install debussy) only contains the engine-neutral core and depends on Inject and yaml_env_var_parser. Everything else is an extra:
| Extra | Adds |
|---|---|
airflow |
The Airflow backend (debussy.backends.airflow): Apache Airflow 3.4+ and the standard provider |
gcp |
BigQuery, Dataproc and Cloud Storage motifs (the Airflow Google provider) |
dbt |
dbt-bigquery, for the data transformation pipelines |
mysql |
mysqlclient and pandas, for reverse ETL to MySQL |
sftp |
paramiko, for reverse ETL to SFTP |
All the pipelines that ship with Debussy run on Airflow today, so a typical installation is pip install "debussy[airflow,gcp,dbt]", plus mysql and sftp for the reverse ETL destinations you use.
Defining pipelines
One file in the Airflow DAGs folder builds a DAG for every pipeline:
from debussy.backends.airflow import load_dags
load_dags(globals(), pipelines_dir="pipelines", environment_file="environment.yaml")
A YAML file under pipelines_dir is a pipeline when it has a top-level composition_type key: bigquery_ingestion, rdbms_ingestion, dbt_transformation, reverse_etl_bigquery_to_mysql or reverse_etl_bigquery_to_storage. Other YAML files, such as table schemas, are ignored. Add os_env_prefix: MY_PIPELINE if the YAML references ${MY_PIPELINE_WINDOW_START} and ${MY_PIPELINE_WINDOW_END}. Relative paths are relative to Airflow's dags_folder. See examples/dags.py.
The Python API works the same way: build the config objects and pass them with load_dags(globals(), pipelines=[config]). See mysql_sakila_ingestion_yamless.py.
Migrating from debussy_concert 1.x: the package is now debussy and Airflow is no longer a mandatory dependency. Change the imports from debussy_concert to debussy. airflow_easy_setup is gone: delete the per-pipeline setup .py files, add composition_type (and os_env_prefix, if you had one) to each composition YAML, and add the load_dags file above. The debussy_airflow package is no longer needed. Airflow 2 users stay on debussy_concert<2.
Integrations
Debussy works with the tools and systems that you're already using with your data, including:
| Integration | Notes | |
|---|---|---|
| Apache Airflow | An open source orchestration engine | |
| Spark | Open source distributed processing engine, used for the data ingestion pipelines | |
| dbt | dbt is an open-source data transformation tool, used for the data transformation pipelines | |
| Google Cloud Storage | Cloud based blob storage, supported as data source or destination | |
| BigQuery | Google serverless massive-scale SQL analytics platform, supported as the analytical environment (aka. Data Lakehouse) | |
| MySQL | Leading open source database, supported as a data source or destination | |
| PostgreSQL | Leading open source database, supported as a data source or destination | |
| Other SQL Relational DBs | Most RDBMS are supported as data sources via JDBC drivers through Spark | |
| AWS S3 | Cloud based blob storage, supported as data source or destination |
Full Documentation
See the Wiki for full documentation, examples, operational details and other information.
Communication
Contributions
We welcome all community contributions!
In order to have a more open and welcoming community, Debussy adheres to a code of conduct adapted from Contributor Covenant.
Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.
License
Copyright 2022 Dotz, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Changelog
- 0.1.0 - First release
- 1.0.0 - Improved folder structure and dependencies
- 1.1.0 - Add support for Dataproc Serverless and quick fix for BigQuery load with schema
- 1.2.0 - Fix packaging (1.0.0 and 1.1.0 shipped without subpackages), require debussy-airflow 0.0.7+ (installable again), add package summary, add airflow_easy_setup and Dataproc Serverless support
- 2.0.0 (unreleased) - Package renamed from
debussy_concerttodebussy(importdebussy, environment variable prefixDEBUSSY__). Requires Python 3.11+ and Airflow 3.4+; the debussy-airflow and airflow-dbt dependencies are replaced by operators and hooks in debussy itself. DAG parameterschedule_intervalis nowschedule, and templates uselogical_dateanddata_interval_end. Airflow code lives indebussy.backends.airflow(AirflowService, the start and end motifs, the BigQuery, Dataproc and dbt operators and the reverse ETL hooks). Airflow, Google Cloud, dbt, MySQL and SFTP dependencies are now extras:pip install "debussy[airflow,gcp,dbt]".airflow_easy_setupand the per-pipeline setup files are replaced by one generic loader,debussy.backends.airflow.load_dags, for YAML (composition_typeandos_env_prefixkeys) and Python pipelines. AConfigRdbmsDataIngestionbuilt in Python now gets the default PySpark script, which fixes the Python-API ("yamless") example
Metadata
Release files for debussy 2.0.0.dev1
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 | Actions |
|---|---|---|---|---|
| debussy-2.0.0.dev1.tar.gz | 52.6 kB | With provenance | Details for debussy-2.0.0.dev1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| debussy-2.0.0.dev1-py3-none-any.whl | Python 3 | none | any | Details for debussy-2.0.0.dev1-py3-none-any.whl |
Total release size: 119.8 kB
Release files / debussy-2.0.0.dev1.tar.gz
| Download URL | debussy-2.0.0.dev1.tar.gz |
|---|---|
| Size | 52.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32b48f855c0fcd77b74b6ea1dfcf9f2fdce988d77f949a04d4c67b82d744b62f
|
|
BLAKE2b-256 checksum How to use checksums |
91b2cf9d7b72d4f80c27f09707c05607b2ad900af294ec82401f1396bc95a204
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logRelease files / debussy-2.0.0.dev1-py3-none-any.whl
| Download URL | debussy-2.0.0.dev1-py3-none-any.whl |
|---|---|
| Size | 67.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2a801db98d784da65dcf140d3939e2b2bfe5e39699ad7ccb985799a0f06f1f3d
|
|
BLAKE2b-256 checksum How to use checksums |
c097a6e52948c428fa376331ab1d81c365a594d70cb7a8d89ac547e8917fed00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logSecurity for debussy 2.0.0.dev1
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for debussy-2.0.0.dev1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 27, 2026.
Transparency logA 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.