├── .github └── workflows │ └── build.yaml ├── .gitignore ├── .pre-commit-config.yaml ├── .readthedocs.yaml ├── CHANGELOG.md ├── LICENSE ├── Makefile ├── README.md ├── docs ├── Makefile ├── _static │ ├── example-dimensional-database-schema.svg │ ├── favicon.ico │ ├── mara-animal.jpg │ ├── mara-schema-data-set-visualization.png │ ├── mara-schema-sql-generation.gif │ └── mara-schema.png ├── api.rst ├── artifact-generation.rst ├── changes.md ├── conf.py ├── config.rst ├── design.rst ├── example.rst ├── index.rst ├── installation.rst ├── license.rst └── requirements.txt ├── mara_schema ├── __init__.py ├── attribute.py ├── config.py ├── data_set.py ├── entity.py ├── example │ ├── __init__.py │ ├── data_sets │ │ ├── customers.py │ │ ├── order_items.py │ │ └── products.py │ ├── dimensional-schema.sql │ └── entities │ │ ├── customer.py │ │ ├── order.py │ │ ├── order_item.py │ │ ├── product.py │ │ └── product_category.py ├── metric.py ├── sql_generation.py └── ui │ ├── __init__.py │ ├── graph.py │ ├── static │ ├── data-set-sql-query.js │ └── mara-schema.css │ └── views.py ├── pyproject.toml ├── setup.cfg └── setup.py /.github/workflows/build.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/.github/workflows/build.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /.readthedocs.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/.readthedocs.yaml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/README.md -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/_static/example-dimensional-database-schema.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/_static/example-dimensional-database-schema.svg -------------------------------------------------------------------------------- /docs/_static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/_static/favicon.ico -------------------------------------------------------------------------------- /docs/_static/mara-animal.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/_static/mara-animal.jpg -------------------------------------------------------------------------------- /docs/_static/mara-schema-data-set-visualization.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/_static/mara-schema-data-set-visualization.png -------------------------------------------------------------------------------- /docs/_static/mara-schema-sql-generation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/_static/mara-schema-sql-generation.gif -------------------------------------------------------------------------------- /docs/_static/mara-schema.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/_static/mara-schema.png -------------------------------------------------------------------------------- /docs/api.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/api.rst -------------------------------------------------------------------------------- /docs/artifact-generation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/artifact-generation.rst -------------------------------------------------------------------------------- /docs/changes.md: -------------------------------------------------------------------------------- 1 | ```{include} ../CHANGELOG.md 2 | ``` 3 | -------------------------------------------------------------------------------- /docs/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/conf.py -------------------------------------------------------------------------------- /docs/config.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/config.rst -------------------------------------------------------------------------------- /docs/design.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/design.rst -------------------------------------------------------------------------------- /docs/example.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/example.rst -------------------------------------------------------------------------------- /docs/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/index.rst -------------------------------------------------------------------------------- /docs/installation.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/installation.rst -------------------------------------------------------------------------------- /docs/license.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/docs/license.rst -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- 1 | sphinx==4.5.0 2 | myst-parser==0.18.0 3 | -------------------------------------------------------------------------------- /mara_schema/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/__init__.py -------------------------------------------------------------------------------- /mara_schema/attribute.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/attribute.py -------------------------------------------------------------------------------- /mara_schema/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/config.py -------------------------------------------------------------------------------- /mara_schema/data_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/data_set.py -------------------------------------------------------------------------------- /mara_schema/entity.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/entity.py -------------------------------------------------------------------------------- /mara_schema/example/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/example/__init__.py -------------------------------------------------------------------------------- /mara_schema/example/data_sets/customers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/example/data_sets/customers.py -------------------------------------------------------------------------------- /mara_schema/example/data_sets/order_items.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/example/data_sets/order_items.py -------------------------------------------------------------------------------- /mara_schema/example/data_sets/products.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/example/data_sets/products.py -------------------------------------------------------------------------------- /mara_schema/example/dimensional-schema.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/example/dimensional-schema.sql -------------------------------------------------------------------------------- /mara_schema/example/entities/customer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/example/entities/customer.py -------------------------------------------------------------------------------- /mara_schema/example/entities/order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/example/entities/order.py -------------------------------------------------------------------------------- /mara_schema/example/entities/order_item.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/example/entities/order_item.py -------------------------------------------------------------------------------- /mara_schema/example/entities/product.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/example/entities/product.py -------------------------------------------------------------------------------- /mara_schema/example/entities/product_category.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/example/entities/product_category.py -------------------------------------------------------------------------------- /mara_schema/metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/metric.py -------------------------------------------------------------------------------- /mara_schema/sql_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/sql_generation.py -------------------------------------------------------------------------------- /mara_schema/ui/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mara_schema/ui/graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/ui/graph.py -------------------------------------------------------------------------------- /mara_schema/ui/static/data-set-sql-query.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/ui/static/data-set-sql-query.js -------------------------------------------------------------------------------- /mara_schema/ui/static/mara-schema.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/ui/static/mara-schema.css -------------------------------------------------------------------------------- /mara_schema/ui/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/mara_schema/ui/views.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mara/mara-schema/HEAD/setup.py --------------------------------------------------------------------------------