quickdbd-cli 0.1.11__tar.gz → 0.1.12__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.
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/PKG-INFO +16 -16
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/README.md +15 -15
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/pyproject.toml +2 -2
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/scripts/build_gallery.py +1 -1
- quickdbd_cli-0.1.12/src/quickdbd_cli/__init__.py +1 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/test_gallery.py +2 -0
- quickdbd_cli-0.1.11/gallery/adventureworks/LICENSE +0 -25
- quickdbd_cli-0.1.11/gallery/chinook/LICENSE +0 -11
- quickdbd_cli-0.1.11/gallery/northwind/LICENSE +0 -25
- quickdbd_cli-0.1.11/gallery/sakila/LICENSE +0 -29
- quickdbd_cli-0.1.11/gallery/shopify/LICENSE +0 -201
- quickdbd_cli-0.1.11/gallery/shopify/README.md +0 -10
- quickdbd_cli-0.1.11/gallery/synthea/LICENSE +0 -201
- quickdbd_cli-0.1.11/gallery/synthea/README.md +0 -7
- quickdbd_cli-0.1.11/src/quickdbd_cli/__init__.py +0 -1
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/.gitignore +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/LICENSE +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/NOTICE +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/examples/quickdbd-sample.txt +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/examples/synthetic/finance.txt +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/examples/synthetic/hr.txt +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/examples/synthetic/inventory.txt +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/examples/synthetic/marketing.txt +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/examples/synthetic/qdbd.layout.json +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/examples/synthetic/sales.txt +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/scripts/gen_font_metrics.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/scripts/gen_schema.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/scripts/gen_thumbnails.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/scripts/release.sh +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/__main__.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/Inter-Bold.ttf +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/Inter-Bold.woff2 +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/Inter-LICENSE.txt +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/Inter-Regular.ttf +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/Inter-Regular.woff2 +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/editor.js +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/elk-LICENSE.md +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/elk.bundled.js +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/font-metrics.json +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/render.js +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/style.css +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/assets/viewer.js +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/cli.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/dbt.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/diff.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/export.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/html.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/jsrt.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/layout.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/measure.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/model.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/parser.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/project.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/serve.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/share.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/src/quickdbd_cli/tags.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/fixtures/jaffle/LICENSE +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/fixtures/jaffle/README.md +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/fixtures/jaffle/catalog.json +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/fixtures/jaffle/manifest.json +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/test_dbt.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/test_diff.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/test_parser.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/test_path.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/test_pipeline.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/test_select.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/test_serve.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/test_share.py +0 -0
- {quickdbd_cli-0.1.11 → quickdbd_cli-0.1.12}/tests/test_tags.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: quickdbd-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.12
|
|
4
4
|
Summary: Compile QuickDBD-syntax schema files into interactive HTML ER diagrams, with no table limit.
|
|
5
5
|
Project-URL: Homepage, https://github.com/MarkPhamm/quickdbd-cli
|
|
6
6
|
Author: Minh (Mark) Pham
|
|
@@ -36,14 +36,14 @@ Description-Content-Type: text/markdown
|
|
|
36
36
|
<p align="center"><b>Interactive ER diagrams from QuickDBD text or a dbt project, readable at 200+ tables</b></p>
|
|
37
37
|
|
|
38
38
|
<p align="center">
|
|
39
|
-
<a href="https://
|
|
39
|
+
<a href="https://qdbd.dev/">Docs</a> · <a href="https://qdbd.dev/demo/">Live demos</a> · <a href="#quickstart">Quickstart</a> · <a href="https://pypi.org/project/quickdbd-cli/">PyPI</a>
|
|
40
40
|
</p>
|
|
41
41
|
|
|
42
42
|
<p align="center">
|
|
43
|
-
<a href="https://
|
|
43
|
+
<a href="https://qdbd.dev/demo/adventureworks/#t=SalesOrderHeader"><img src="https://raw.githubusercontent.com/MarkPhamm/quickdbd-cli/main/docs/assets/img/hero.png" alt="The AdventureWorks sample database as a qdbd diagram, with the SalesOrderHeader table selected" width="760"></a>
|
|
44
44
|
</p>
|
|
45
45
|
<p align="center">
|
|
46
|
-
<em>AdventureWorks (68 tables) with its column descriptions, built by qdbd. <a href="https://
|
|
46
|
+
<em>AdventureWorks (68 tables) with its column descriptions, built by qdbd. <a href="https://qdbd.dev/demo/adventureworks/#t=SalesOrderHeader">Try it live →</a></em>
|
|
47
47
|
</p>
|
|
48
48
|
|
|
49
49
|
## What is qdbd?
|
|
@@ -74,10 +74,10 @@ Every demo is a single HTML page written by `qdbd build`, from a QuickDBD schema
|
|
|
74
74
|
<!-- gallery:start: generated by `python scripts/build_gallery.py --readme` from gallery/demos.toml -->
|
|
75
75
|
| | |
|
|
76
76
|
|---|---|
|
|
77
|
-
| [](https://
|
|
78
|
-
| [](https://
|
|
77
|
+
| [](https://qdbd.dev/demo/synthetic/)<br>**[200 tables](https://qdbd.dev/demo/synthetic/)**<br>Five business domains, 200 tables and every relationship type. Search, filter, click a table to focus it. | [](https://qdbd.dev/demo/diff/)<br>**[Schema diff](https://qdbd.dev/demo/diff/)**<br>What a branch changed, coloured in: new tables in green, changed columns in amber, removals listed. |
|
|
78
|
+
| [](https://qdbd.dev/demo/adventureworks/)<br>**[AdventureWorks](https://qdbd.dev/demo/adventureworks/)**<br>Microsoft's bicycle-company OLTP database: 68 tables in five schemas, one region each, with column descriptions. | [](https://qdbd.dev/demo/synthea/#t=concept)<br>**[OMOP CDM on Synthea](https://qdbd.dev/demo/synthea/#t=concept)**<br>OHDSI's dbt-synthea: synthetic patient records mapped to the OMOP Common Data Model. 145 tables, 235 relationships from tests. |
|
|
79
79
|
|
|
80
|
-
[View all 14 demos →](https://
|
|
80
|
+
[View all 14 demos →](https://qdbd.dev/demo/)
|
|
81
81
|
<!-- gallery:end -->
|
|
82
82
|
|
|
83
83
|
## Quickstart
|
|
@@ -99,7 +99,7 @@ A browser tab opens with the diagram and an editor. Change the text and the diag
|
|
|
99
99
|
pipx install quickdbd-cli # or: pip install quickdbd-cli / uv tool install quickdbd-cli
|
|
100
100
|
```
|
|
101
101
|
|
|
102
|
-
Python 3.11+. See [Install](https://
|
|
102
|
+
Python 3.11+. See [Install](https://qdbd.dev/install/) for other options.
|
|
103
103
|
|
|
104
104
|
#### 2. Write a schema, or generate one from dbt
|
|
105
105
|
|
|
@@ -118,7 +118,7 @@ CustomerId int FK >- Customer.CustomerId
|
|
|
118
118
|
Total decimal(10,2)
|
|
119
119
|
```
|
|
120
120
|
|
|
121
|
-
A table is a name, a line of dashes, then one column per line. `FK >- Customer.CustomerId` means many orders to one customer. The full syntax is in [Schema Syntax](https://
|
|
121
|
+
A table is a name, a line of dashes, then one column per line. `FK >- Customer.CustomerId` means many orders to one customer. The full syntax is in [Schema Syntax](https://qdbd.dev/syntax/).
|
|
122
122
|
|
|
123
123
|
For a dbt project, generate the schema instead:
|
|
124
124
|
|
|
@@ -163,7 +163,7 @@ jobs:
|
|
|
163
163
|
output: site/index.html
|
|
164
164
|
```
|
|
165
165
|
|
|
166
|
-
dbt projects, GitHub Pages, pre-commit and GitLab CI are covered in [CI and Automation](https://
|
|
166
|
+
dbt projects, GitHub Pages, pre-commit and GitLab CI are covered in [CI and Automation](https://qdbd.dev/github-action/).
|
|
167
167
|
|
|
168
168
|
## How qdbd works
|
|
169
169
|
|
|
@@ -237,12 +237,12 @@ You edit the text; the diagram is generated from it. Table positions are the one
|
|
|
237
237
|
|
|
238
238
|
## Learn more
|
|
239
239
|
|
|
240
|
-
- [Install](https://
|
|
241
|
-
- [Schema Syntax](https://
|
|
242
|
-
- [Reading the Diagram](https://
|
|
243
|
-
- [dbt Projects](https://
|
|
244
|
-
- [Schema Diffs](https://
|
|
245
|
-
- [Development](https://
|
|
240
|
+
- [Install](https://qdbd.dev/install/) and [Quick Start](https://qdbd.dev/getting-started/)
|
|
241
|
+
- [Schema Syntax](https://qdbd.dev/syntax/), [many files](https://qdbd.dev/files/), [table positions](https://qdbd.dev/layout/), [tags and colours](https://qdbd.dev/tags/)
|
|
242
|
+
- [Reading the Diagram](https://qdbd.dev/reading-the-diagram/), [selectors](https://qdbd.dev/selectors/), [exports](https://qdbd.dev/exports/), [sharing a link](https://qdbd.dev/sharing/)
|
|
243
|
+
- [dbt Projects](https://qdbd.dev/dbt/), with a [jaffle_shop walkthrough](https://qdbd.dev/example/)
|
|
244
|
+
- [Schema Diffs](https://qdbd.dev/diffs/), the [GitHub Action](https://qdbd.dev/github-action/) and the [CLI reference](https://qdbd.dev/cli/)
|
|
245
|
+
- [Development](https://qdbd.dev/development/): working on qdbd itself, releasing, and adding a demo
|
|
246
246
|
|
|
247
247
|
## License
|
|
248
248
|
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
<p align="center"><b>Interactive ER diagrams from QuickDBD text or a dbt project, readable at 200+ tables</b></p>
|
|
9
9
|
|
|
10
10
|
<p align="center">
|
|
11
|
-
<a href="https://
|
|
11
|
+
<a href="https://qdbd.dev/">Docs</a> · <a href="https://qdbd.dev/demo/">Live demos</a> · <a href="#quickstart">Quickstart</a> · <a href="https://pypi.org/project/quickdbd-cli/">PyPI</a>
|
|
12
12
|
</p>
|
|
13
13
|
|
|
14
14
|
<p align="center">
|
|
15
|
-
<a href="https://
|
|
15
|
+
<a href="https://qdbd.dev/demo/adventureworks/#t=SalesOrderHeader"><img src="https://raw.githubusercontent.com/MarkPhamm/quickdbd-cli/main/docs/assets/img/hero.png" alt="The AdventureWorks sample database as a qdbd diagram, with the SalesOrderHeader table selected" width="760"></a>
|
|
16
16
|
</p>
|
|
17
17
|
<p align="center">
|
|
18
|
-
<em>AdventureWorks (68 tables) with its column descriptions, built by qdbd. <a href="https://
|
|
18
|
+
<em>AdventureWorks (68 tables) with its column descriptions, built by qdbd. <a href="https://qdbd.dev/demo/adventureworks/#t=SalesOrderHeader">Try it live →</a></em>
|
|
19
19
|
</p>
|
|
20
20
|
|
|
21
21
|
## What is qdbd?
|
|
@@ -46,10 +46,10 @@ Every demo is a single HTML page written by `qdbd build`, from a QuickDBD schema
|
|
|
46
46
|
<!-- gallery:start: generated by `python scripts/build_gallery.py --readme` from gallery/demos.toml -->
|
|
47
47
|
| | |
|
|
48
48
|
|---|---|
|
|
49
|
-
| [](https://
|
|
50
|
-
| [](https://
|
|
49
|
+
| [](https://qdbd.dev/demo/synthetic/)<br>**[200 tables](https://qdbd.dev/demo/synthetic/)**<br>Five business domains, 200 tables and every relationship type. Search, filter, click a table to focus it. | [](https://qdbd.dev/demo/diff/)<br>**[Schema diff](https://qdbd.dev/demo/diff/)**<br>What a branch changed, coloured in: new tables in green, changed columns in amber, removals listed. |
|
|
50
|
+
| [](https://qdbd.dev/demo/adventureworks/)<br>**[AdventureWorks](https://qdbd.dev/demo/adventureworks/)**<br>Microsoft's bicycle-company OLTP database: 68 tables in five schemas, one region each, with column descriptions. | [](https://qdbd.dev/demo/synthea/#t=concept)<br>**[OMOP CDM on Synthea](https://qdbd.dev/demo/synthea/#t=concept)**<br>OHDSI's dbt-synthea: synthetic patient records mapped to the OMOP Common Data Model. 145 tables, 235 relationships from tests. |
|
|
51
51
|
|
|
52
|
-
[View all 14 demos →](https://
|
|
52
|
+
[View all 14 demos →](https://qdbd.dev/demo/)
|
|
53
53
|
<!-- gallery:end -->
|
|
54
54
|
|
|
55
55
|
## Quickstart
|
|
@@ -71,7 +71,7 @@ A browser tab opens with the diagram and an editor. Change the text and the diag
|
|
|
71
71
|
pipx install quickdbd-cli # or: pip install quickdbd-cli / uv tool install quickdbd-cli
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
-
Python 3.11+. See [Install](https://
|
|
74
|
+
Python 3.11+. See [Install](https://qdbd.dev/install/) for other options.
|
|
75
75
|
|
|
76
76
|
#### 2. Write a schema, or generate one from dbt
|
|
77
77
|
|
|
@@ -90,7 +90,7 @@ CustomerId int FK >- Customer.CustomerId
|
|
|
90
90
|
Total decimal(10,2)
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
A table is a name, a line of dashes, then one column per line. `FK >- Customer.CustomerId` means many orders to one customer. The full syntax is in [Schema Syntax](https://
|
|
93
|
+
A table is a name, a line of dashes, then one column per line. `FK >- Customer.CustomerId` means many orders to one customer. The full syntax is in [Schema Syntax](https://qdbd.dev/syntax/).
|
|
94
94
|
|
|
95
95
|
For a dbt project, generate the schema instead:
|
|
96
96
|
|
|
@@ -135,7 +135,7 @@ jobs:
|
|
|
135
135
|
output: site/index.html
|
|
136
136
|
```
|
|
137
137
|
|
|
138
|
-
dbt projects, GitHub Pages, pre-commit and GitLab CI are covered in [CI and Automation](https://
|
|
138
|
+
dbt projects, GitHub Pages, pre-commit and GitLab CI are covered in [CI and Automation](https://qdbd.dev/github-action/).
|
|
139
139
|
|
|
140
140
|
## How qdbd works
|
|
141
141
|
|
|
@@ -209,12 +209,12 @@ You edit the text; the diagram is generated from it. Table positions are the one
|
|
|
209
209
|
|
|
210
210
|
## Learn more
|
|
211
211
|
|
|
212
|
-
- [Install](https://
|
|
213
|
-
- [Schema Syntax](https://
|
|
214
|
-
- [Reading the Diagram](https://
|
|
215
|
-
- [dbt Projects](https://
|
|
216
|
-
- [Schema Diffs](https://
|
|
217
|
-
- [Development](https://
|
|
212
|
+
- [Install](https://qdbd.dev/install/) and [Quick Start](https://qdbd.dev/getting-started/)
|
|
213
|
+
- [Schema Syntax](https://qdbd.dev/syntax/), [many files](https://qdbd.dev/files/), [table positions](https://qdbd.dev/layout/), [tags and colours](https://qdbd.dev/tags/)
|
|
214
|
+
- [Reading the Diagram](https://qdbd.dev/reading-the-diagram/), [selectors](https://qdbd.dev/selectors/), [exports](https://qdbd.dev/exports/), [sharing a link](https://qdbd.dev/sharing/)
|
|
215
|
+
- [dbt Projects](https://qdbd.dev/dbt/), with a [jaffle_shop walkthrough](https://qdbd.dev/example/)
|
|
216
|
+
- [Schema Diffs](https://qdbd.dev/diffs/), the [GitHub Action](https://qdbd.dev/github-action/) and the [CLI reference](https://qdbd.dev/cli/)
|
|
217
|
+
- [Development](https://qdbd.dev/development/): working on qdbd itself, releasing, and adding a demo
|
|
218
218
|
|
|
219
219
|
## License
|
|
220
220
|
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "quickdbd-cli"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.12"
|
|
8
8
|
description = "Compile QuickDBD-syntax schema files into interactive HTML ER diagrams, with no table limit."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = "Apache-2.0"
|
|
@@ -37,7 +37,7 @@ Homepage = "https://github.com/MarkPhamm/quickdbd-cli"
|
|
|
37
37
|
packages = ["src/quickdbd_cli"]
|
|
38
38
|
|
|
39
39
|
[tool.hatch.build.targets.sdist]
|
|
40
|
-
include = ["src", "tests", "examples", "scripts", "README.md", "LICENSE", "NOTICE"]
|
|
40
|
+
include = ["src", "tests", "examples", "scripts", "/README.md", "/LICENSE", "/NOTICE"]
|
|
41
41
|
|
|
42
42
|
[tool.ruff]
|
|
43
43
|
line-length = 120
|
|
@@ -27,7 +27,7 @@ ROOT = Path(__file__).resolve().parent.parent
|
|
|
27
27
|
CATALOG = ROOT / "gallery" / "demos.toml"
|
|
28
28
|
TEMPLATE = ROOT / "gallery" / "index.html"
|
|
29
29
|
README = ROOT / "README.md"
|
|
30
|
-
SITE = "https://
|
|
30
|
+
SITE = "https://qdbd.dev/demo/"
|
|
31
31
|
RAW = "https://raw.githubusercontent.com/MarkPhamm/quickdbd-cli/main/docs/assets/img/"
|
|
32
32
|
README_START = "<!-- gallery:start: generated by `python scripts/build_gallery.py --readme` from gallery/demos.toml -->"
|
|
33
33
|
README_END = "<!-- gallery:end -->"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.12"
|
|
@@ -8,6 +8,8 @@ from pathlib import Path
|
|
|
8
8
|
import pytest
|
|
9
9
|
|
|
10
10
|
ROOT = Path(__file__).resolve().parent.parent
|
|
11
|
+
if not (ROOT / "gallery" / "demos.toml").exists(): # the sdist ships tests but not the gallery
|
|
12
|
+
pytest.skip("needs the git checkout's gallery/", allow_module_level=True)
|
|
11
13
|
sys.path.insert(0, str(ROOT / "scripts"))
|
|
12
14
|
|
|
13
15
|
import build_gallery # noqa: E402
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
Microsoft SQL Server Sample Code
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation
|
|
4
|
-
|
|
5
|
-
All rights reserved.
|
|
6
|
-
|
|
7
|
-
MIT License.
|
|
8
|
-
|
|
9
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
-
in the Software without restriction, including without limitation the rights
|
|
12
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
-
furnished to do so, subject to the following conditions:
|
|
15
|
-
|
|
16
|
-
The above copyright notice and this permission notice shall be included in
|
|
17
|
-
all copies or substantial portions of the Software.
|
|
18
|
-
|
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
25
|
-
THE SOFTWARE.
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Chinook Database
|
|
2
|
-
--------------------------------------
|
|
3
|
-
Copyright (c) 2008-2024 Luis Rocha
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
|
6
|
-
documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
|
7
|
-
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
|
8
|
-
to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
9
|
-
|
|
10
|
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
11
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
Microsoft SQL Server Sample Code
|
|
2
|
-
|
|
3
|
-
Copyright (c) Microsoft Corporation
|
|
4
|
-
|
|
5
|
-
All rights reserved.
|
|
6
|
-
|
|
7
|
-
MIT License.
|
|
8
|
-
|
|
9
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
-
in the Software without restriction, including without limitation the rights
|
|
12
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
-
furnished to do so, subject to the following conditions:
|
|
15
|
-
|
|
16
|
-
The above copyright notice and this permission notice shall be included in
|
|
17
|
-
all copies or substantial portions of the Software.
|
|
18
|
-
|
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
25
|
-
THE SOFTWARE.
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
Sakila Sample Database Schema
|
|
2
|
-
Version 1.5
|
|
3
|
-
|
|
4
|
-
Copyright (c) 2006, 2026, Oracle and/or its affiliates.
|
|
5
|
-
|
|
6
|
-
Redistribution and use in source and binary forms, with or without
|
|
7
|
-
modification, are permitted provided that the following conditions are
|
|
8
|
-
met:
|
|
9
|
-
|
|
10
|
-
* Redistributions of source code must retain the above copyright notice,
|
|
11
|
-
this list of conditions and the following disclaimer.
|
|
12
|
-
* Redistributions in binary form must reproduce the above copyright
|
|
13
|
-
notice, this list of conditions and the following disclaimer in the
|
|
14
|
-
documentation and/or other materials provided with the distribution.
|
|
15
|
-
* Neither the name of Oracle nor the names of its contributors may be used
|
|
16
|
-
to endorse or promote products derived from this software without
|
|
17
|
-
specific prior written permission.
|
|
18
|
-
|
|
19
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
|
|
20
|
-
IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
21
|
-
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
|
22
|
-
PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
|
|
23
|
-
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
|
|
24
|
-
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
|
25
|
-
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
|
26
|
-
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
|
27
|
-
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
|
28
|
-
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
29
|
-
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -1,201 +0,0 @@
|
|
|
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 © 2025 Fivetran Inc.
|
|
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.
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
Trimmed `manifest.json` / `catalog.json` from Fivetran's [dbt_shopify](https://github.com/fivetran/dbt_shopify)
|
|
2
|
-
package (Apache-2.0, see LICENSE) at commit `a455111f911c91be545dd1be2a018e3b53fecca1`, keeping only the
|
|
3
|
-
`shopify` package's nodes and the keys `qdbd import dbt` reads.
|
|
4
|
-
|
|
5
|
-
Made with dbt-core 1.11.11 + dbt-duckdb 1.10.1 from the package's `integration_tests/` project:
|
|
6
|
-
|
|
7
|
-
dbt deps && dbt seed && dbt run && dbt docs generate
|
|
8
|
-
|
|
9
|
-
The gallery imports the REST API models only (`--package shopify --select 'shopify.rest.*'`) with
|
|
10
|
-
`--infer-fks`, since the package declares no relationship tests.
|
|
@@ -1,201 +0,0 @@
|
|
|
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.
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
Trimmed `manifest.json` / `catalog.json` from [OHDSI/dbt-synthea](https://github.com/OHDSI/dbt-synthea)
|
|
2
|
-
(Apache-2.0, see LICENSE) at commit `33fdbfa9b354f00def5ee6e45525cb2da80e0ddf`, keeping only the keys
|
|
3
|
-
`qdbd import dbt` reads. Seeds (Synthea data and the OMOP vocabulary subset) are not included.
|
|
4
|
-
|
|
5
|
-
Made with dbt-core 1.11.11 + dbt-duckdb 1.10.1, using the project's own seeds:
|
|
6
|
-
|
|
7
|
-
dbt deps && dbt seed && dbt run && dbt docs generate
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "0.1.11"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|