debussy 2.0.0.dev0__tar.gz → 2.0.0.dev1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. debussy-2.0.0.dev1/CHANGELOG.md +6 -0
  2. debussy-2.0.0.dev1/LICENSE +201 -0
  3. debussy-2.0.0.dev1/PKG-INFO +229 -0
  4. debussy-2.0.0.dev1/README.md +181 -0
  5. debussy-2.0.0.dev1/debussy/__init__.py +1 -0
  6. debussy-2.0.0.dev1/debussy/backends/__init__.py +0 -0
  7. debussy-2.0.0.dev1/debussy/backends/airflow/__init__.py +10 -0
  8. debussy-2.0.0.dev1/debussy/backends/airflow/bigquery_job.py +207 -0
  9. debussy-2.0.0.dev1/debussy/backends/airflow/bigquery_query_job.py +49 -0
  10. debussy-2.0.0.dev1/debussy/backends/airflow/dataproc.py +47 -0
  11. debussy-2.0.0.dev1/debussy/backends/airflow/dbt.py +200 -0
  12. debussy-2.0.0.dev1/debussy/backends/airflow/hooks.py +243 -0
  13. debussy-2.0.0.dev1/debussy/backends/airflow/loader.py +195 -0
  14. debussy-2.0.0.dev1/debussy/backends/airflow/motifs.py +72 -0
  15. debussy-2.0.0.dev1/debussy/backends/airflow/operators.py +116 -0
  16. debussy-2.0.0.dev1/debussy/backends/airflow/service.py +50 -0
  17. debussy-2.0.0.dev1/debussy/core/composition/composition_base.py +70 -0
  18. debussy-2.0.0.dev1/debussy/core/config/config_composition.py +19 -0
  19. debussy-2.0.0.dev1/debussy/core/config/config_dag_parameters.py +29 -0
  20. debussy-2.0.0.dev1/debussy/core/config/config_environment.py +40 -0
  21. debussy-2.0.0.dev1/debussy/core/config/loader_keys.py +20 -0
  22. debussy-2.0.0.dev1/debussy/core/config/movement_parameters/base.py +10 -0
  23. debussy-2.0.0.dev1/debussy/core/entities/protocols.py +26 -0
  24. debussy-2.0.0.dev1/debussy/core/entities/table.py +206 -0
  25. debussy-2.0.0.dev1/debussy/core/motif/motif_base.py +66 -0
  26. debussy-2.0.0.dev1/debussy/core/movement/movement_base.py +49 -0
  27. debussy-2.0.0.dev1/debussy/core/movement/protocols.py +30 -0
  28. debussy-2.0.0.dev1/debussy/core/phrase/phrase_base.py +46 -0
  29. debussy-2.0.0.dev1/debussy/core/phrase/protocols.py +43 -0
  30. debussy-2.0.0.dev1/debussy/core/phrase/utils/end.py +13 -0
  31. debussy-2.0.0.dev1/debussy/core/phrase/utils/start.py +13 -0
  32. debussy-2.0.0.dev1/debussy/core/service/injection.py +14 -0
  33. debussy-2.0.0.dev1/debussy/core/service/lakehouse/google_cloud.py +22 -0
  34. debussy-2.0.0.dev1/debussy/core/service/tables/tables.py +34 -0
  35. debussy-2.0.0.dev1/debussy/core/service/workflow/protocol.py +25 -0
  36. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/composition/base.py +114 -0
  37. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/composition/bigquery_ingestion.py +47 -0
  38. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/composition/rdbms_ingestion.py +149 -0
  39. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/config/base.py +23 -0
  40. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/config/bigquery_data_ingestion.py +33 -0
  41. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/config/movement_parameters/bigquery.py +11 -0
  42. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/config/movement_parameters/rdbms_data_ingestion.py +15 -0
  43. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/config/movement_parameters/time_partitioned.py +38 -0
  44. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/config/rdbms_data_ingestion.py +71 -0
  45. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/motif/create_external_table.py +50 -0
  46. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/motif/create_update_table_schema.py +54 -0
  47. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/motif/export_table.py +438 -0
  48. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/motif/load_table.py +69 -0
  49. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/movement/data_ingestion.py +71 -0
  50. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/phrase/create_update_table_phrase.py +45 -0
  51. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/phrase/ingestion_to_raw_vault.py +22 -0
  52. debussy-2.0.0.dev1/debussy/pipeline/data_ingestion/phrase/raw_vault_to_raw.py +73 -0
  53. debussy-2.0.0.dev1/debussy/pipeline/data_transformation/composition/dbt_transformation.py +50 -0
  54. debussy-2.0.0.dev1/debussy/pipeline/data_transformation/config/movement_parameters/dbt.py +54 -0
  55. debussy-2.0.0.dev1/debussy/pipeline/data_transformation/config/transform.py +37 -0
  56. debussy-2.0.0.dev1/debussy/pipeline/data_transformation/motif/run_transformation.py +41 -0
  57. debussy-2.0.0.dev1/debussy/pipeline/data_transformation/movement/transform.py +28 -0
  58. debussy-2.0.0.dev1/debussy/pipeline/data_transformation/phrase/data_lakehouse_transformation.py +18 -0
  59. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/composition/bigquery_to_mysql.py +159 -0
  60. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/composition/bigquery_to_storage.py +159 -0
  61. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/config/movement_parameters/reverse_etl.py +68 -0
  62. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/config/reverse_etl.py +48 -0
  63. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/motif/bigquery_extract_job.py +43 -0
  64. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/motif/bigquery_query_job.py +3 -0
  65. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/motif/storage_to_rdbms_motif.py +41 -0
  66. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/motif/storage_to_storage_motif.py +39 -0
  67. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/movement/reverse_etl.py +78 -0
  68. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/phrase/dw_to_reverse_etl.py +14 -0
  69. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/phrase/reverse_etl_to_storage.py +90 -0
  70. debussy-2.0.0.dev1/debussy/pipeline/reverse_etl/phrase/storage_to_destination.py +12 -0
  71. debussy-2.0.0.dev1/debussy.egg-info/PKG-INFO +229 -0
  72. debussy-2.0.0.dev1/debussy.egg-info/SOURCES.txt +79 -0
  73. debussy-2.0.0.dev1/debussy.egg-info/requires.txt +21 -0
  74. debussy-2.0.0.dev1/requirements.txt +2 -0
  75. debussy-2.0.0.dev1/setup.cfg +60 -0
  76. debussy-2.0.0.dev1/setup.py +3 -0
  77. debussy-2.0.0.dev1/tests/test_airflow_loader.py +188 -0
  78. debussy-2.0.0.dev1/tests/test_core_imports.py +53 -0
  79. debussy-2.0.0.dev0/PKG-INFO +0 -14
  80. debussy-2.0.0.dev0/README.md +0 -5
  81. debussy-2.0.0.dev0/debussy/__init__.py +0 -1
  82. debussy-2.0.0.dev0/debussy.egg-info/PKG-INFO +0 -14
  83. debussy-2.0.0.dev0/debussy.egg-info/SOURCES.txt +0 -7
  84. debussy-2.0.0.dev0/pyproject.toml +0 -14
  85. debussy-2.0.0.dev0/setup.cfg +0 -4
  86. {debussy-2.0.0.dev0 → debussy-2.0.0.dev1}/debussy.egg-info/dependency_links.txt +0 -0
  87. {debussy-2.0.0.dev0 → debussy-2.0.0.dev1}/debussy.egg-info/top_level.txt +0 -0
@@ -0,0 +1,6 @@
1
+ ## Changelog
2
+ - 0.1.0 - First release
3
+ - 1.0.0 - Improved folder structure and dependencies
4
+ - 1.1.0 - Add support for Dataproc Serverless and quick fix for BigQuery load with schema
5
+ - 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
6
+ - 2.0.0 (unreleased) - Package renamed from `debussy_concert` to `debussy` (import `debussy`, environment variable prefix `DEBUSSY__`). 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 parameter `schedule_interval` is now `schedule`, and templates use `logical_date` and `data_interval_end`. Airflow code lives in `debussy.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_setup` and the per-pipeline setup files are replaced by one generic loader, `debussy.backends.airflow.load_dags`, for YAML (`composition_type` and `os_env_prefix` keys) and Python pipelines. A `ConfigRdbmsDataIngestion` built in Python now gets the default PySpark script, which fixes the Python-API ("yamless") example
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,229 @@
1
+ Metadata-Version: 2.4
2
+ Name: debussy
3
+ Version: 2.0.0.dev1
4
+ Summary: Opinionated data architecture and engineering framework for building data pipelines
5
+ Home-page: https://github.com/debussy-labs/debussy
6
+ Author: Lawrence Fernandes
7
+ Author-email: github@lawrencestfs.com
8
+ License: Apache-2.0
9
+ Keywords: Debussy Framework,debussy
10
+ Platform: any
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Topic :: Utilities
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.11
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Framework :: Apache Airflow
21
+ Requires-Python: >=3.11
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Requires-Dist: Inject
25
+ Requires-Dist: yaml_env_var_parser
26
+ Provides-Extra: airflow
27
+ Requires-Dist: apache-airflow<4,>=3.4; extra == "airflow"
28
+ Requires-Dist: apache-airflow-providers-common-sql; extra == "airflow"
29
+ Requires-Dist: apache-airflow-providers-standard; extra == "airflow"
30
+ Provides-Extra: gcp
31
+ Requires-Dist: debussy[airflow]; extra == "gcp"
32
+ Requires-Dist: apache-airflow-providers-google; extra == "gcp"
33
+ Provides-Extra: dbt
34
+ Requires-Dist: dbt-bigquery; extra == "dbt"
35
+ Provides-Extra: mysql
36
+ Requires-Dist: mysqlclient; extra == "mysql"
37
+ Requires-Dist: pandas; extra == "mysql"
38
+ Provides-Extra: sftp
39
+ Requires-Dist: paramiko; extra == "sftp"
40
+ Dynamic: license-file
41
+
42
+ [![GitHub issues](https://img.shields.io/github/issues/debussy-labs/debussy)](https://github.com/debussy-labs/debussy/issues)
43
+ [![GitHub forks](https://img.shields.io/github/forks/debussy-labs/debussy)](https://github.com/debussy-labs/debussy/network)
44
+ [![GitHub stars](https://img.shields.io/github/stars/debussy-labs/debussy)](https://github.com/debussy-labs/debussy/stargazers)
45
+ [![GitHub license](https://img.shields.io/github/license/debussy-labs/debussy)](https://github.com/debussy-labs/debussy/blob/main/LICENSE)
46
+
47
+
48
+ <img align="right" src="https://github.com/debussy-labs/debussy/blob/main/docs/images/debussy_logo.png" width="250" height="250">
49
+
50
+ # Debussy
51
+
52
+ [Debussy](https://github.com/debussy-labs/debussy/wiki) 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.
53
+
54
+ <p align="center">
55
+ <a href="#description">Description</a>
56
+ <span> · </span>
57
+ <a href="#key-features">Key Features</a>
58
+ <span> · </span>
59
+ <a href="#key-benefits">Key Benefits</a>
60
+ <span> · </span>
61
+ <a href="#quick-start">Quick Start</a>
62
+ <span> · </span>
63
+ <a href="#integrations">Integrations</a>
64
+ </br>
65
+ <a href="#full-documentation">Full Documentation</a>
66
+ <span> · </span>
67
+ <a href="#communication">Communication</a>
68
+ <span> · </span>
69
+ <a href="#contributions">Contributions</a>
70
+ <span> · </span>
71
+ <a href="#license">License</a>
72
+ </h3>
73
+
74
+ ---
75
+
76
+ ## Description
77
+
78
+ 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](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself), [KISS](https://en.wikipedia.org/wiki/KISS_principle) or [YAGNI](https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it). Despite the existence of several tools for data orchestration (e.g. [Apache Airflow](https://airflow.apache.org/), [Prefect](https://www.prefect.io/), [Dagster](https://dagster.io/)) and distributed data processing (e.g. [Apache Spark](https://spark.apache.org/), [Apache Beam](https://beam.apache.org/)), 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](https://www.djangoproject.com/) or [Flask](https://palletsprojects.com/p/flask/)!
79
+
80
+ 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).
81
+
82
+ 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.
83
+
84
+ 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.
85
+
86
+ ## Key Features
87
+ - Dynamic data pipeline generation from YAML configuration files or directly through Python
88
+ - Provides a semantic model for data pipeline development, abstracting the inner orchestration engine
89
+ - Enables seamless integration of first class data projects, such as Airflow, Spark, and dbt
90
+
91
+ ## Key Benefits
92
+
93
+ &#10004; It provides lower time to delivery and costs related to data pipeline development, while enabling higher ROI <br />
94
+ &#10004; Avoid pipeline debt by following sound software engineering design principles <br />
95
+ &#10004; Ensure your platform is following data architecture best practices <br />
96
+
97
+ ## Quick Start
98
+
99
+ 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](https://cloud.google.com/composer).
100
+
101
+ In order to use Debussy, you first need to go through the following steps:
102
+
103
+ 1. [Select or create a Google Cloud Platform project](https://console.cloud.google.com/cloud-resource-manager).
104
+ 2. [Enable billing for your project](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project).
105
+ 3. [Create a Cloud Composer 3 environment](https://cloud.google.com/composer/docs/composer-3/create-environments) running Airflow 3.
106
+ 4. Install Debussy on your Cloud Composer instance, with the extras your pipelines need (see [Installation](#installation)).
107
+ 5. Check our [User's Guide](https://github.com/debussy-labs/debussy/wiki/User's-Guide) and [examples](https://github.com/debussy-labs/debussy/tree/main/examples) to learn how to use it!
108
+
109
+ ### Installation
110
+
111
+ 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:
112
+
113
+ | Extra | Adds |
114
+ | --- | --- |
115
+ | `airflow` | The Airflow backend (`debussy.backends.airflow`): Apache Airflow 3.4+ and the standard provider |
116
+ | `gcp` | BigQuery, Dataproc and Cloud Storage motifs (the Airflow Google provider) |
117
+ | `dbt` | `dbt-bigquery`, for the data transformation pipelines |
118
+ | `mysql` | `mysqlclient` and `pandas`, for reverse ETL to MySQL |
119
+ | `sftp` | `paramiko`, for reverse ETL to SFTP |
120
+
121
+ 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.
122
+
123
+ ### Defining pipelines
124
+
125
+ One file in the Airflow DAGs folder builds a DAG for every pipeline:
126
+
127
+ ```python
128
+ from debussy.backends.airflow import load_dags
129
+
130
+ load_dags(globals(), pipelines_dir="pipelines", environment_file="environment.yaml")
131
+ ```
132
+
133
+ 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`](examples/dags.py).
134
+
135
+ 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`](examples/data_ingestion/mysql_sakila_ingestion/mysql_sakila_ingestion_yamless.py).
136
+
137
+ **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`.
138
+
139
+ Integrations
140
+ -------------------------------------------------------------------------------
141
+ Debussy works with the tools and systems that you're already using with your data, including:
142
+
143
+ <table>
144
+ <thead>
145
+ <tr>
146
+ <th colspan="2">Integration</th>
147
+ <th>Notes</th>
148
+ </tr>
149
+ </thead>
150
+ <tbody>
151
+ <tr>
152
+ <td style="text-align: center; height=40px;"><img height="40" src="https://raw.githubusercontent.com/apache/airflow/master/docs/apache-airflow/img/logos/wordmark_1.png" /></td>
153
+ <td style="width: 200px;">Apache Airflow</td>
154
+ <td>An open source orchestration engine</td>
155
+ </tr>
156
+ <tr>
157
+ <td style="text-align: center; height=40px;"><img height="40" src="https://spark.apache.org/images/spark-logo-trademark.png" /></td>
158
+ <td style="width: 200px;">Spark</td>
159
+ <td>Open source distributed processing engine, used for the data ingestion pipelines</td>
160
+ </tr>
161
+ <tr>
162
+ <td style="text-align: center; height=40px;"><img height="40" src="https://www.getdbt.com/ui/img/logos/dbt-logo.svg" /></td>
163
+ <td style="width: 200px;">dbt</td>
164
+ <td>dbt is an open-source data transformation tool, used for the data transformation pipelines</td>
165
+ </tr>
166
+ <tr>
167
+ <td style="text-align: center; height=40px;"><img height="40" src="https://assets.website-files.com/60d5e12b5c772dbf7315804e/62cddd0e6400a93d1dbcdf37_Google%20Cloud%20Storage.svg" /></td>
168
+ <td style="width: 200px;">Google Cloud Storage</td>
169
+ <td>Cloud based blob storage, supported as data source or destination</td>
170
+ </tr>
171
+ <tr>
172
+ <td style="text-align: center; height=40px;"><img height="40" src="https://raw.githubusercontent.com/gist/nelsonauner/be8160f2e576a327bfcde085b334f622/raw/b4ec25dd4d698abdc37e6c1887ec69ddcca1d27d/google_bigquery_logo.svg" /></td>
173
+ <td style="width: 200px;">BigQuery</td>
174
+ <td>Google serverless massive-scale SQL analytics platform, supported as the analytical environment (aka. Data Lakehouse)</td>
175
+ </tr>
176
+ <tr>
177
+ <td style="text-align: center; height=40px;"><img height="40" src="https://www.mysql.com/common/logos/powered-by-mysql-167x86.png" /></td>
178
+ <td style="width: 200px;">MySQL</td>
179
+ <td>Leading open source database, supported as a data source or destination</td>
180
+ </tr>
181
+ <tr>
182
+ <td style="text-align: center; height=40px;"><img height="40" src="https://wiki.postgresql.org/images/3/30/PostgreSQL_logo.3colors.120x120.png" /></td>
183
+ <td style="width: 200px;">PostgreSQL</td>
184
+ <td>Leading open source database, supported as a data source or destination</td>
185
+ </tr>
186
+ <tr>
187
+ <td style="text-align: center; height=40px;"><img height="40" src="https://www.oracle.com/a/ocom/img/jdbc.svg" /></td>
188
+ <td style="width: 200px;">Other SQL Relational DBs</td>
189
+ <td>Most RDBMS are supported as data sources via JDBC drivers through Spark</td>
190
+ </tr>
191
+ <tr>
192
+ <td style="text-align: center; height=40px;"><img height="40" src="https://braze-marketing-assets.s3.amazonaws.com/images/partner_logos/amazon-s3.png" /></td>
193
+ <td style="width: 200px;">AWS S3</td>
194
+ <td>Cloud based blob storage, supported as data source or destination</td>
195
+ </tr>
196
+ </tbody>
197
+ </table>
198
+
199
+
200
+ ## Full Documentation
201
+ See the [Wiki](https://github.com/debussy-labs/debussy/wiki) for full documentation, examples, operational details and other information.
202
+
203
+ ## Communication
204
+ [GitHub Issues](https://github.com/debussy-labs/debussy/issues)
205
+
206
+ [Discord Server](https://discord.gg/FpNX79pY)
207
+
208
+ ## Contributions
209
+ We welcome all community contributions!
210
+
211
+ In order to have a more open and welcoming community, Debussy adheres to a [code of conduct](https://github.com/debussy-labs/debussy/wiki/Code-of-Conduct) adapted from Contributor Covenant.
212
+
213
+ Please read through our [contributing guidelines](https://github.com/debussy-labs/debussy/wiki/Contributing-Guide). Included are directions for opening issues, coding standards, and notes on development.
214
+
215
+ ## License
216
+ Copyright 2022 Dotz, Inc.
217
+
218
+ 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
219
+
220
+ http://www.apache.org/licenses/LICENSE-2.0
221
+
222
+ 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.
223
+
224
+ ## Changelog
225
+ - 0.1.0 - First release
226
+ - 1.0.0 - Improved folder structure and dependencies
227
+ - 1.1.0 - Add support for Dataproc Serverless and quick fix for BigQuery load with schema
228
+ - 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
229
+ - 2.0.0 (unreleased) - Package renamed from `debussy_concert` to `debussy` (import `debussy`, environment variable prefix `DEBUSSY__`). 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 parameter `schedule_interval` is now `schedule`, and templates use `logical_date` and `data_interval_end`. Airflow code lives in `debussy.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_setup` and the per-pipeline setup files are replaced by one generic loader, `debussy.backends.airflow.load_dags`, for YAML (`composition_type` and `os_env_prefix` keys) and Python pipelines. A `ConfigRdbmsDataIngestion` built in Python now gets the default PySpark script, which fixes the Python-API ("yamless") example
@@ -0,0 +1,181 @@
1
+ [![GitHub issues](https://img.shields.io/github/issues/debussy-labs/debussy)](https://github.com/debussy-labs/debussy/issues)
2
+ [![GitHub forks](https://img.shields.io/github/forks/debussy-labs/debussy)](https://github.com/debussy-labs/debussy/network)
3
+ [![GitHub stars](https://img.shields.io/github/stars/debussy-labs/debussy)](https://github.com/debussy-labs/debussy/stargazers)
4
+ [![GitHub license](https://img.shields.io/github/license/debussy-labs/debussy)](https://github.com/debussy-labs/debussy/blob/main/LICENSE)
5
+
6
+
7
+ <img align="right" src="https://github.com/debussy-labs/debussy/blob/main/docs/images/debussy_logo.png" width="250" height="250">
8
+
9
+ # Debussy
10
+
11
+ [Debussy](https://github.com/debussy-labs/debussy/wiki) 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.
12
+
13
+ <p align="center">
14
+ <a href="#description">Description</a>
15
+ <span> · </span>
16
+ <a href="#key-features">Key Features</a>
17
+ <span> · </span>
18
+ <a href="#key-benefits">Key Benefits</a>
19
+ <span> · </span>
20
+ <a href="#quick-start">Quick Start</a>
21
+ <span> · </span>
22
+ <a href="#integrations">Integrations</a>
23
+ </br>
24
+ <a href="#full-documentation">Full Documentation</a>
25
+ <span> · </span>
26
+ <a href="#communication">Communication</a>
27
+ <span> · </span>
28
+ <a href="#contributions">Contributions</a>
29
+ <span> · </span>
30
+ <a href="#license">License</a>
31
+ </h3>
32
+
33
+ ---
34
+
35
+ ## Description
36
+
37
+ 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](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself), [KISS](https://en.wikipedia.org/wiki/KISS_principle) or [YAGNI](https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it). Despite the existence of several tools for data orchestration (e.g. [Apache Airflow](https://airflow.apache.org/), [Prefect](https://www.prefect.io/), [Dagster](https://dagster.io/)) and distributed data processing (e.g. [Apache Spark](https://spark.apache.org/), [Apache Beam](https://beam.apache.org/)), 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](https://www.djangoproject.com/) or [Flask](https://palletsprojects.com/p/flask/)!
38
+
39
+ 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).
40
+
41
+ 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.
42
+
43
+ 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.
44
+
45
+ ## Key Features
46
+ - Dynamic data pipeline generation from YAML configuration files or directly through Python
47
+ - Provides a semantic model for data pipeline development, abstracting the inner orchestration engine
48
+ - Enables seamless integration of first class data projects, such as Airflow, Spark, and dbt
49
+
50
+ ## Key Benefits
51
+
52
+ &#10004; It provides lower time to delivery and costs related to data pipeline development, while enabling higher ROI <br />
53
+ &#10004; Avoid pipeline debt by following sound software engineering design principles <br />
54
+ &#10004; Ensure your platform is following data architecture best practices <br />
55
+
56
+ ## Quick Start
57
+
58
+ 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](https://cloud.google.com/composer).
59
+
60
+ In order to use Debussy, you first need to go through the following steps:
61
+
62
+ 1. [Select or create a Google Cloud Platform project](https://console.cloud.google.com/cloud-resource-manager).
63
+ 2. [Enable billing for your project](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project).
64
+ 3. [Create a Cloud Composer 3 environment](https://cloud.google.com/composer/docs/composer-3/create-environments) running Airflow 3.
65
+ 4. Install Debussy on your Cloud Composer instance, with the extras your pipelines need (see [Installation](#installation)).
66
+ 5. Check our [User's Guide](https://github.com/debussy-labs/debussy/wiki/User's-Guide) and [examples](https://github.com/debussy-labs/debussy/tree/main/examples) to learn how to use it!
67
+
68
+ ### Installation
69
+
70
+ 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:
71
+
72
+ | Extra | Adds |
73
+ | --- | --- |
74
+ | `airflow` | The Airflow backend (`debussy.backends.airflow`): Apache Airflow 3.4+ and the standard provider |
75
+ | `gcp` | BigQuery, Dataproc and Cloud Storage motifs (the Airflow Google provider) |
76
+ | `dbt` | `dbt-bigquery`, for the data transformation pipelines |
77
+ | `mysql` | `mysqlclient` and `pandas`, for reverse ETL to MySQL |
78
+ | `sftp` | `paramiko`, for reverse ETL to SFTP |
79
+
80
+ 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.
81
+
82
+ ### Defining pipelines
83
+
84
+ One file in the Airflow DAGs folder builds a DAG for every pipeline:
85
+
86
+ ```python
87
+ from debussy.backends.airflow import load_dags
88
+
89
+ load_dags(globals(), pipelines_dir="pipelines", environment_file="environment.yaml")
90
+ ```
91
+
92
+ 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`](examples/dags.py).
93
+
94
+ 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`](examples/data_ingestion/mysql_sakila_ingestion/mysql_sakila_ingestion_yamless.py).
95
+
96
+ **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`.
97
+
98
+ Integrations
99
+ -------------------------------------------------------------------------------
100
+ Debussy works with the tools and systems that you're already using with your data, including:
101
+
102
+ <table>
103
+ <thead>
104
+ <tr>
105
+ <th colspan="2">Integration</th>
106
+ <th>Notes</th>
107
+ </tr>
108
+ </thead>
109
+ <tbody>
110
+ <tr>
111
+ <td style="text-align: center; height=40px;"><img height="40" src="https://raw.githubusercontent.com/apache/airflow/master/docs/apache-airflow/img/logos/wordmark_1.png" /></td>
112
+ <td style="width: 200px;">Apache Airflow</td>
113
+ <td>An open source orchestration engine</td>
114
+ </tr>
115
+ <tr>
116
+ <td style="text-align: center; height=40px;"><img height="40" src="https://spark.apache.org/images/spark-logo-trademark.png" /></td>
117
+ <td style="width: 200px;">Spark</td>
118
+ <td>Open source distributed processing engine, used for the data ingestion pipelines</td>
119
+ </tr>
120
+ <tr>
121
+ <td style="text-align: center; height=40px;"><img height="40" src="https://www.getdbt.com/ui/img/logos/dbt-logo.svg" /></td>
122
+ <td style="width: 200px;">dbt</td>
123
+ <td>dbt is an open-source data transformation tool, used for the data transformation pipelines</td>
124
+ </tr>
125
+ <tr>
126
+ <td style="text-align: center; height=40px;"><img height="40" src="https://assets.website-files.com/60d5e12b5c772dbf7315804e/62cddd0e6400a93d1dbcdf37_Google%20Cloud%20Storage.svg" /></td>
127
+ <td style="width: 200px;">Google Cloud Storage</td>
128
+ <td>Cloud based blob storage, supported as data source or destination</td>
129
+ </tr>
130
+ <tr>
131
+ <td style="text-align: center; height=40px;"><img height="40" src="https://raw.githubusercontent.com/gist/nelsonauner/be8160f2e576a327bfcde085b334f622/raw/b4ec25dd4d698abdc37e6c1887ec69ddcca1d27d/google_bigquery_logo.svg" /></td>
132
+ <td style="width: 200px;">BigQuery</td>
133
+ <td>Google serverless massive-scale SQL analytics platform, supported as the analytical environment (aka. Data Lakehouse)</td>
134
+ </tr>
135
+ <tr>
136
+ <td style="text-align: center; height=40px;"><img height="40" src="https://www.mysql.com/common/logos/powered-by-mysql-167x86.png" /></td>
137
+ <td style="width: 200px;">MySQL</td>
138
+ <td>Leading open source database, supported as a data source or destination</td>
139
+ </tr>
140
+ <tr>
141
+ <td style="text-align: center; height=40px;"><img height="40" src="https://wiki.postgresql.org/images/3/30/PostgreSQL_logo.3colors.120x120.png" /></td>
142
+ <td style="width: 200px;">PostgreSQL</td>
143
+ <td>Leading open source database, supported as a data source or destination</td>
144
+ </tr>
145
+ <tr>
146
+ <td style="text-align: center; height=40px;"><img height="40" src="https://www.oracle.com/a/ocom/img/jdbc.svg" /></td>
147
+ <td style="width: 200px;">Other SQL Relational DBs</td>
148
+ <td>Most RDBMS are supported as data sources via JDBC drivers through Spark</td>
149
+ </tr>
150
+ <tr>
151
+ <td style="text-align: center; height=40px;"><img height="40" src="https://braze-marketing-assets.s3.amazonaws.com/images/partner_logos/amazon-s3.png" /></td>
152
+ <td style="width: 200px;">AWS S3</td>
153
+ <td>Cloud based blob storage, supported as data source or destination</td>
154
+ </tr>
155
+ </tbody>
156
+ </table>
157
+
158
+
159
+ ## Full Documentation
160
+ See the [Wiki](https://github.com/debussy-labs/debussy/wiki) for full documentation, examples, operational details and other information.
161
+
162
+ ## Communication
163
+ [GitHub Issues](https://github.com/debussy-labs/debussy/issues)
164
+
165
+ [Discord Server](https://discord.gg/FpNX79pY)
166
+
167
+ ## Contributions
168
+ We welcome all community contributions!
169
+
170
+ In order to have a more open and welcoming community, Debussy adheres to a [code of conduct](https://github.com/debussy-labs/debussy/wiki/Code-of-Conduct) adapted from Contributor Covenant.
171
+
172
+ Please read through our [contributing guidelines](https://github.com/debussy-labs/debussy/wiki/Contributing-Guide). Included are directions for opening issues, coding standards, and notes on development.
173
+
174
+ ## License
175
+ Copyright 2022 Dotz, Inc.
176
+
177
+ 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
178
+
179
+ http://www.apache.org/licenses/LICENSE-2.0
180
+
181
+ 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.
@@ -0,0 +1 @@
1
+ __version__ = "2.0.0.dev1"
File without changes
@@ -0,0 +1,10 @@
1
+ """Airflow backend. ``load_dags`` is imported on first use because it pulls in
2
+ every pipeline, which in turn import this package."""
3
+
4
+
5
+ def __getattr__(name):
6
+ if name in ("load_dags", "build_dag"):
7
+ from debussy.backends.airflow import loader
8
+
9
+ return getattr(loader, name)
10
+ raise AttributeError(f"module {__name__!r} has no attribute {name!r}")