platybus 0.1.0__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.
- platybus-0.1.0/.gitignore +46 -0
- platybus-0.1.0/LICENSE +21 -0
- platybus-0.1.0/PKG-INFO +424 -0
- platybus-0.1.0/README.md +329 -0
- platybus-0.1.0/docs/adr/README.md +13 -0
- platybus-0.1.0/docs/connectors/README.md +20 -0
- platybus-0.1.0/docs/plugins/README.md +134 -0
- platybus-0.1.0/docs/stores/README.md +117 -0
- platybus-0.1.0/examples/jaffle-shop/.gitignore +2 -0
- platybus-0.1.0/examples/jaffle-shop/README.md +34 -0
- platybus-0.1.0/examples/jaffle-shop/connections.yml +6 -0
- platybus-0.1.0/examples/jaffle-shop/dashboards/.gitkeep +0 -0
- platybus-0.1.0/examples/jaffle-shop/dashboards/customers.yml +74 -0
- platybus-0.1.0/examples/jaffle-shop/dashboards/overview.yml +141 -0
- platybus-0.1.0/examples/jaffle-shop/dashboards/queries/top_customers.sql +12 -0
- platybus-0.1.0/examples/jaffle-shop/dbt_project.yml +13 -0
- platybus-0.1.0/examples/jaffle-shop/macros/generate_schema_name.sql +15 -0
- platybus-0.1.0/examples/jaffle-shop/models/marts/customers.sql +22 -0
- platybus-0.1.0/examples/jaffle-shop/models/marts/orders.sql +24 -0
- platybus-0.1.0/examples/jaffle-shop/models/marts/orders_daily.sql +13 -0
- platybus-0.1.0/examples/jaffle-shop/models/schema.yml +25 -0
- platybus-0.1.0/examples/jaffle-shop/models/sources.yml +10 -0
- platybus-0.1.0/examples/jaffle-shop/models/staging/stg_customers.sql +6 -0
- platybus-0.1.0/examples/jaffle-shop/models/staging/stg_orders.sql +7 -0
- platybus-0.1.0/examples/jaffle-shop/models/staging/stg_payments.sql +8 -0
- platybus-0.1.0/examples/jaffle-shop/pipelines/jaffle.yml +45 -0
- platybus-0.1.0/examples/jaffle-shop/pipelines/jaffle_pg.yml +37 -0
- platybus-0.1.0/examples/jaffle-shop/platybus.yml +16 -0
- platybus-0.1.0/examples/jaffle-shop/seeds/raw_customers.csv +101 -0
- platybus-0.1.0/examples/jaffle-shop/seeds/raw_orders.csv +1001 -0
- platybus-0.1.0/examples/jaffle-shop/seeds/raw_payments.csv +1138 -0
- platybus-0.1.0/plugins/platybus-assistant/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-assistant/README.md +30 -0
- platybus-0.1.0/plugins/platybus-assistant/tests/test_providers.py +358 -0
- platybus-0.1.0/plugins/platybus-clickhouse/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-clickhouse/README.md +16 -0
- platybus-0.1.0/plugins/platybus-clickhouse/tests/conftest.py +97 -0
- platybus-0.1.0/plugins/platybus-clickhouse/tests/test_clickhouse_connector.py +346 -0
- platybus-0.1.0/plugins/platybus-clickhouse/tests/test_clickhouse_extract.py +186 -0
- platybus-0.1.0/plugins/platybus-clickhouse/tests/test_clickhouse_query.py +180 -0
- platybus-0.1.0/plugins/platybus-clickhouse/tests/test_clickhouse_types.py +105 -0
- platybus-0.1.0/plugins/platybus-dashboards/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-dashboards/README.md +16 -0
- platybus-0.1.0/plugins/platybus-dbt/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-dbt/README.md +16 -0
- platybus-0.1.0/plugins/platybus-dbt/tests/conftest.py +35 -0
- platybus-0.1.0/plugins/platybus-dbt/tests/dbt_testkit.py +130 -0
- platybus-0.1.0/plugins/platybus-dbt/tests/test_dbt_e2e.py +436 -0
- platybus-0.1.0/plugins/platybus-dbt/tests/test_dbt_iceberg.py +237 -0
- platybus-0.1.0/plugins/platybus-dbt/tests/test_dbt_manifest.py +203 -0
- platybus-0.1.0/plugins/platybus-dbt/tests/test_dbt_postgres.py +254 -0
- platybus-0.1.0/plugins/platybus-dbt/tests/test_dbt_profile.py +575 -0
- platybus-0.1.0/plugins/platybus-dbt/tests/test_dbt_projects.py +132 -0
- platybus-0.1.0/plugins/platybus-files/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-files/README.md +16 -0
- platybus-0.1.0/plugins/platybus-iceberg/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-iceberg/README.md +16 -0
- platybus-0.1.0/plugins/platybus-iceberg/tests/test_iceberg_overwrite.py +205 -0
- platybus-0.1.0/plugins/platybus-iceberg/tests/test_iceberg_store.py +347 -0
- platybus-0.1.0/plugins/platybus-iceberg/tests/test_iceberg_types.py +98 -0
- platybus-0.1.0/plugins/platybus-mysql/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-mysql/README.md +16 -0
- platybus-0.1.0/plugins/platybus-postgres/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-postgres/README.md +16 -0
- platybus-0.1.0/plugins/platybus-postgres/tests/test_postgres_store.py +234 -0
- platybus-0.1.0/plugins/platybus-redash/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-redash/README.md +16 -0
- platybus-0.1.0/plugins/platybus-samples/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-samples/README.md +16 -0
- platybus-0.1.0/plugins/platybus-samples/tests/conftest.py +72 -0
- platybus-0.1.0/plugins/platybus-samples/tests/samples_testkit.py +40 -0
- platybus-0.1.0/plugins/platybus-samples/tests/test_benchmark_script.py +58 -0
- platybus-0.1.0/plugins/platybus-samples/tests/test_samples_api.py +112 -0
- platybus-0.1.0/plugins/platybus-samples/tests/test_samples_datasets.py +128 -0
- platybus-0.1.0/plugins/platybus-skills/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-skills/README.md +20 -0
- platybus-0.1.0/plugins/platybus-sqlite/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-sqlite/README.md +16 -0
- platybus-0.1.0/plugins/platybus-sqlmodels/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-sqlmodels/README.md +16 -0
- platybus-0.1.0/plugins/platybus-superset/LICENSE +21 -0
- platybus-0.1.0/plugins/platybus-superset/README.md +16 -0
- platybus-0.1.0/pyproject.toml +210 -0
- platybus-0.1.0/src/platybus/__init__.py +3 -0
- platybus-0.1.0/src/platybus/__main__.py +6 -0
- platybus-0.1.0/src/platybus/assistant/__init__.py +41 -0
- platybus-0.1.0/src/platybus/assistant/agent.py +302 -0
- platybus-0.1.0/src/platybus/assistant/base.py +179 -0
- platybus-0.1.0/src/platybus/assistant/conversations.py +170 -0
- platybus-0.1.0/src/platybus/assistant/mcp.py +162 -0
- platybus-0.1.0/src/platybus/assistant/prompt.py +75 -0
- platybus-0.1.0/src/platybus/assistant/providers.py +120 -0
- platybus-0.1.0/src/platybus/assistant/redaction.py +46 -0
- platybus-0.1.0/src/platybus/assistant/service.py +236 -0
- platybus-0.1.0/src/platybus/assistant/settings.py +192 -0
- platybus-0.1.0/src/platybus/assistant/skills.py +394 -0
- platybus-0.1.0/src/platybus/assistant/sqlguard.py +125 -0
- platybus-0.1.0/src/platybus/assistant/tools.py +666 -0
- platybus-0.1.0/src/platybus/catalog/__init__.py +18 -0
- platybus-0.1.0/src/platybus/catalog/base.py +47 -0
- platybus-0.1.0/src/platybus/catalog/ducklake.py +254 -0
- platybus-0.1.0/src/platybus/catalog/meta.py +91 -0
- platybus-0.1.0/src/platybus/cli/__init__.py +111 -0
- platybus-0.1.0/src/platybus/cli/_context.py +76 -0
- platybus-0.1.0/src/platybus/cli/_output.py +59 -0
- platybus-0.1.0/src/platybus/cli/assistant.py +436 -0
- platybus-0.1.0/src/platybus/cli/connect.py +155 -0
- platybus-0.1.0/src/platybus/cli/datasets.py +128 -0
- platybus-0.1.0/src/platybus/cli/dev.py +63 -0
- platybus-0.1.0/src/platybus/cli/hub.py +256 -0
- platybus-0.1.0/src/platybus/cli/init.py +50 -0
- platybus-0.1.0/src/platybus/cli/lifecycle.py +239 -0
- platybus-0.1.0/src/platybus/cli/pipelines.py +289 -0
- platybus-0.1.0/src/platybus/cli/plugins.py +100 -0
- platybus-0.1.0/src/platybus/cli/sandbox.py +117 -0
- platybus-0.1.0/src/platybus/cli/sql.py +93 -0
- platybus-0.1.0/src/platybus/cli/stores.py +230 -0
- platybus-0.1.0/src/platybus/client.py +458 -0
- platybus-0.1.0/src/platybus/config/__init__.py +14 -0
- platybus-0.1.0/src/platybus/config/assistant.py +60 -0
- platybus-0.1.0/src/platybus/config/base.py +11 -0
- platybus-0.1.0/src/platybus/config/connections.py +68 -0
- platybus-0.1.0/src/platybus/config/env.py +164 -0
- platybus-0.1.0/src/platybus/config/loader.py +184 -0
- platybus-0.1.0/src/platybus/config/pipelines.py +233 -0
- platybus-0.1.0/src/platybus/config/project.py +130 -0
- platybus-0.1.0/src/platybus/config/runtime.py +59 -0
- platybus-0.1.0/src/platybus/config/schema.py +32 -0
- platybus-0.1.0/src/platybus/config/secrets.py +102 -0
- platybus-0.1.0/src/platybus/config/stores.py +87 -0
- platybus-0.1.0/src/platybus/connectors/__init__.py +33 -0
- platybus-0.1.0/src/platybus/connectors/base.py +200 -0
- platybus-0.1.0/src/platybus/connectors/common.py +318 -0
- platybus-0.1.0/src/platybus/connectors/database.py +106 -0
- platybus-0.1.0/src/platybus/connectors/files.py +60 -0
- platybus-0.1.0/src/platybus/connectors/manage.py +340 -0
- platybus-0.1.0/src/platybus/connectors/refs.py +121 -0
- platybus-0.1.0/src/platybus/connectors/registry.py +95 -0
- platybus-0.1.0/src/platybus/datasets.py +138 -0
- platybus-0.1.0/src/platybus/deploy/__init__.py +5 -0
- platybus-0.1.0/src/platybus/deploy/full.py +471 -0
- platybus-0.1.0/src/platybus/deploy/lite.py +146 -0
- platybus-0.1.0/src/platybus/deploy/state.py +154 -0
- platybus-0.1.0/src/platybus/deploy/templates/compose.yml.j2 +123 -0
- platybus-0.1.0/src/platybus/engine/__init__.py +17 -0
- platybus-0.1.0/src/platybus/engine/core.py +588 -0
- platybus-0.1.0/src/platybus/engine/introspect.py +132 -0
- platybus-0.1.0/src/platybus/engine/result.py +43 -0
- platybus-0.1.0/src/platybus/engine/serialize.py +73 -0
- platybus-0.1.0/src/platybus/errors.py +135 -0
- platybus-0.1.0/src/platybus/etl/__init__.py +14 -0
- platybus-0.1.0/src/platybus/etl/checks.py +151 -0
- platybus-0.1.0/src/platybus/etl/extract.py +229 -0
- platybus-0.1.0/src/platybus/etl/history.py +293 -0
- platybus-0.1.0/src/platybus/etl/runner.py +374 -0
- platybus-0.1.0/src/platybus/etl/seeds.py +50 -0
- platybus-0.1.0/src/platybus/etl/service.py +200 -0
- platybus-0.1.0/src/platybus/etl/specs.py +78 -0
- platybus-0.1.0/src/platybus/etl/sql.py +214 -0
- platybus-0.1.0/src/platybus/etl/watermarks.py +113 -0
- platybus-0.1.0/src/platybus/hub/__init__.py +23 -0
- platybus-0.1.0/src/platybus/hub/core.py +353 -0
- platybus-0.1.0/src/platybus/hub/service.py +274 -0
- platybus-0.1.0/src/platybus/log.py +95 -0
- platybus-0.1.0/src/platybus/plugins/__init__.py +65 -0
- platybus-0.1.0/src/platybus/plugins/base.py +155 -0
- platybus-0.1.0/src/platybus/plugins/dashboards.py +57 -0
- platybus-0.1.0/src/platybus/plugins/forms.py +88 -0
- platybus-0.1.0/src/platybus/plugins/manage.py +248 -0
- platybus-0.1.0/src/platybus/plugins/registry.py +180 -0
- platybus-0.1.0/src/platybus/plugins/transform.py +155 -0
- platybus-0.1.0/src/platybus/plugins/webview.py +140 -0
- platybus-0.1.0/src/platybus/projectfiles.py +237 -0
- platybus-0.1.0/src/platybus/py.typed +0 -0
- platybus-0.1.0/src/platybus/sandbox/__init__.py +21 -0
- platybus-0.1.0/src/platybus/sandbox/base.py +65 -0
- platybus-0.1.0/src/platybus/sandbox/builtin.py +234 -0
- platybus-0.1.0/src/platybus/sandbox/manager.py +111 -0
- platybus-0.1.0/src/platybus/sandbox/registry.py +151 -0
- platybus-0.1.0/src/platybus/sandbox/runner.py +503 -0
- platybus-0.1.0/src/platybus/scaffold.py +165 -0
- platybus-0.1.0/src/platybus/scheduler/__init__.py +5 -0
- platybus-0.1.0/src/platybus/scheduler/service.py +226 -0
- platybus-0.1.0/src/platybus/server/__init__.py +5 -0
- platybus-0.1.0/src/platybus/server/app.py +289 -0
- platybus-0.1.0/src/platybus/server/context.py +153 -0
- platybus-0.1.0/src/platybus/server/openapi.py +28 -0
- platybus-0.1.0/src/platybus/server/providers.py +99 -0
- platybus-0.1.0/src/platybus/server/routers/__init__.py +86 -0
- platybus-0.1.0/src/platybus/server/routers/assistant.py +299 -0
- platybus-0.1.0/src/platybus/server/routers/catalog.py +96 -0
- platybus-0.1.0/src/platybus/server/routers/connections.py +119 -0
- platybus-0.1.0/src/platybus/server/routers/datasets.py +33 -0
- platybus-0.1.0/src/platybus/server/routers/files.py +98 -0
- platybus-0.1.0/src/platybus/server/routers/health.py +34 -0
- platybus-0.1.0/src/platybus/server/routers/hub.py +301 -0
- platybus-0.1.0/src/platybus/server/routers/models.py +30 -0
- platybus-0.1.0/src/platybus/server/routers/pipelines.py +95 -0
- platybus-0.1.0/src/platybus/server/routers/plugins.py +157 -0
- platybus-0.1.0/src/platybus/server/routers/runs.py +34 -0
- platybus-0.1.0/src/platybus/server/routers/sandbox.py +69 -0
- platybus-0.1.0/src/platybus/server/routers/sql.py +78 -0
- platybus-0.1.0/src/platybus/server/routers/stores.py +154 -0
- platybus-0.1.0/src/platybus/server/run.py +49 -0
- platybus-0.1.0/src/platybus/server/schemas/__init__.py +1 -0
- platybus-0.1.0/src/platybus/server/schemas/assistant.py +248 -0
- platybus-0.1.0/src/platybus/server/schemas/catalog.py +48 -0
- platybus-0.1.0/src/platybus/server/schemas/common.py +29 -0
- platybus-0.1.0/src/platybus/server/schemas/connections.py +64 -0
- platybus-0.1.0/src/platybus/server/schemas/hub.py +199 -0
- platybus-0.1.0/src/platybus/server/schemas/pipelines.py +105 -0
- platybus-0.1.0/src/platybus/server/schemas/plugins.py +80 -0
- platybus-0.1.0/src/platybus/server/schemas/sandbox.py +52 -0
- platybus-0.1.0/src/platybus/server/schemas/sql.py +47 -0
- platybus-0.1.0/src/platybus/server/schemas/stores.py +71 -0
- platybus-0.1.0/src/platybus/server/static/assets/CodeEditor-vuCQ_kpb.js +1 -0
- platybus-0.1.0/src/platybus/server/static/assets/FilesPage-Bgy22Luj.js +2 -0
- platybus-0.1.0/src/platybus/server/static/assets/SqlPage-BYK9TScl.js +2 -0
- platybus-0.1.0/src/platybus/server/static/assets/codicon-DCmgc-ay.ttf +0 -0
- platybus-0.1.0/src/platybus/server/static/assets/echarts-CP2rjyrQ.js +41 -0
- platybus-0.1.0/src/platybus/server/static/assets/editor.worker-BCzxt1at.js +12 -0
- platybus-0.1.0/src/platybus/server/static/assets/files-BCzKX1TK.js +6 -0
- platybus-0.1.0/src/platybus/server/static/assets/index-BhaxD90p.js +144 -0
- platybus-0.1.0/src/platybus/server/static/assets/index-CUcKNW1-.css +1 -0
- platybus-0.1.0/src/platybus/server/static/assets/markdown-DSZPf7rp.js +6 -0
- platybus-0.1.0/src/platybus/server/static/assets/sql-CCSDG5nI.js +6 -0
- platybus-0.1.0/src/platybus/server/static/assets/themes-BfH__uJv.css +1 -0
- platybus-0.1.0/src/platybus/server/static/assets/themes-C45wmF8v.js +741 -0
- platybus-0.1.0/src/platybus/server/static/assets/yaml-DF2upZAE.js +6 -0
- platybus-0.1.0/src/platybus/server/static/favicon.png +0 -0
- platybus-0.1.0/src/platybus/server/static/index.html +26 -0
- platybus-0.1.0/src/platybus/server/static/logo.png +0 -0
- platybus-0.1.0/src/platybus/server/static/mark.png +0 -0
- platybus-0.1.0/src/platybus/sqlutil.py +48 -0
- platybus-0.1.0/src/platybus/storage/__init__.py +48 -0
- platybus-0.1.0/src/platybus/storage/base.py +82 -0
- platybus-0.1.0/src/platybus/storage/local.py +80 -0
- platybus-0.1.0/src/platybus/storage/s3.py +154 -0
- platybus-0.1.0/src/platybus/stores/__init__.py +32 -0
- platybus-0.1.0/src/platybus/stores/base.py +232 -0
- platybus-0.1.0/src/platybus/stores/builtin.py +219 -0
- platybus-0.1.0/src/platybus/stores/manage.py +249 -0
- platybus-0.1.0/src/platybus/stores/registry.py +65 -0
- platybus-0.1.0/src/platybus/templates/default/.gitignore +2 -0
- platybus-0.1.0/src/platybus/templates/default/README.md +13 -0
- platybus-0.1.0/src/platybus/templates/default/connections.yml +9 -0
- platybus-0.1.0/src/platybus/templates/default/dashboards/sales.yml +24 -0
- platybus-0.1.0/src/platybus/templates/default/models/marts/sales_daily.sql +7 -0
- platybus-0.1.0/src/platybus/templates/default/models/staging/stg_orders.sql +8 -0
- platybus-0.1.0/src/platybus/templates/default/pipelines/demo.yml +10 -0
- platybus-0.1.0/src/platybus/templates/default/platybus.yml +47 -0
- platybus-0.1.0/src/platybus/templates/default/seeds/orders.csv +11 -0
- platybus-0.1.0/src/platybus/templates/empty/.gitignore +2 -0
- platybus-0.1.0/src/platybus/templates/empty/README.md +12 -0
- platybus-0.1.0/src/platybus/templates/empty/connections.yml +9 -0
- platybus-0.1.0/src/platybus/templates/empty/platybus.yml +27 -0
- platybus-0.1.0/tests/__init__.py +0 -0
- platybus-0.1.0/tests/conftest.py +44 -0
- platybus-0.1.0/tests/e2e/__init__.py +0 -0
- platybus-0.1.0/tests/integration/__init__.py +0 -0
- platybus-0.1.0/tests/integration/catalog/__init__.py +0 -0
- platybus-0.1.0/tests/integration/catalog/test_lake_s3_postgres.py +64 -0
- platybus-0.1.0/tests/integration/conftest.py +222 -0
- platybus-0.1.0/tests/integration/connectors/__init__.py +0 -0
- platybus-0.1.0/tests/integration/connectors/test_clickhouse.py +467 -0
- platybus-0.1.0/tests/integration/connectors/test_mysql.py +67 -0
- platybus-0.1.0/tests/integration/connectors/test_postgres.py +105 -0
- platybus-0.1.0/tests/integration/connectors/test_s3.py +66 -0
- platybus-0.1.0/tests/integration/deploy/__init__.py +0 -0
- platybus-0.1.0/tests/integration/deploy/test_full_mode.py +124 -0
- platybus-0.1.0/tests/integration/etl/__init__.py +0 -0
- platybus-0.1.0/tests/integration/etl/test_jaffle_pg.py +127 -0
- platybus-0.1.0/tests/integration/icebergstack.py +137 -0
- platybus-0.1.0/tests/integration/pgstore.py +87 -0
- platybus-0.1.0/tests/integration/sandbox/__init__.py +0 -0
- platybus-0.1.0/tests/integration/sandbox/test_sandbox.py +303 -0
- platybus-0.1.0/tests/integration/stores/__init__.py +0 -0
- platybus-0.1.0/tests/integration/stores/test_iceberg.py +601 -0
- platybus-0.1.0/tests/integration/stores/test_iceberg_polaris.py +287 -0
- platybus-0.1.0/tests/integration/stores/test_postgres_store.py +403 -0
- platybus-0.1.0/tests/unit/__init__.py +0 -0
- platybus-0.1.0/tests/unit/assistant/__init__.py +0 -0
- platybus-0.1.0/tests/unit/assistant/conftest.py +103 -0
- platybus-0.1.0/tests/unit/assistant/test_agent.py +208 -0
- platybus-0.1.0/tests/unit/assistant/test_api.py +246 -0
- platybus-0.1.0/tests/unit/assistant/test_cli.py +76 -0
- platybus-0.1.0/tests/unit/assistant/test_mcp.py +128 -0
- platybus-0.1.0/tests/unit/assistant/test_settings.py +88 -0
- platybus-0.1.0/tests/unit/assistant/test_skills.py +208 -0
- platybus-0.1.0/tests/unit/assistant/test_sqlguard.py +63 -0
- platybus-0.1.0/tests/unit/assistant/test_tools.py +183 -0
- platybus-0.1.0/tests/unit/catalog/__init__.py +0 -0
- platybus-0.1.0/tests/unit/catalog/test_ducklake.py +86 -0
- platybus-0.1.0/tests/unit/cli/__init__.py +0 -0
- platybus-0.1.0/tests/unit/cli/test_connect.py +104 -0
- platybus-0.1.0/tests/unit/cli/test_hub_cli.py +179 -0
- platybus-0.1.0/tests/unit/cli/test_init.py +57 -0
- platybus-0.1.0/tests/unit/cli/test_lifecycle.py +157 -0
- platybus-0.1.0/tests/unit/cli/test_run.py +160 -0
- platybus-0.1.0/tests/unit/cli/test_sql.py +72 -0
- platybus-0.1.0/tests/unit/config/__init__.py +0 -0
- platybus-0.1.0/tests/unit/config/test_env.py +48 -0
- platybus-0.1.0/tests/unit/config/test_loader.py +77 -0
- platybus-0.1.0/tests/unit/config/test_secrets.py +39 -0
- platybus-0.1.0/tests/unit/connectors/__init__.py +0 -0
- platybus-0.1.0/tests/unit/connectors/conftest.py +28 -0
- platybus-0.1.0/tests/unit/connectors/test_common.py +135 -0
- platybus-0.1.0/tests/unit/connectors/test_databases.py +135 -0
- platybus-0.1.0/tests/unit/connectors/test_files.py +130 -0
- platybus-0.1.0/tests/unit/connectors/test_manage.py +120 -0
- platybus-0.1.0/tests/unit/connectors/test_refs.py +46 -0
- platybus-0.1.0/tests/unit/connectors/test_registry.py +81 -0
- platybus-0.1.0/tests/unit/connectors/test_sqlite.py +123 -0
- platybus-0.1.0/tests/unit/dashboards/__init__.py +0 -0
- platybus-0.1.0/tests/unit/dashboards/test_examples.py +116 -0
- platybus-0.1.0/tests/unit/dashboards/test_params.py +144 -0
- platybus-0.1.0/tests/unit/dashboards/test_service.py +224 -0
- platybus-0.1.0/tests/unit/dashboards/test_spec.py +186 -0
- platybus-0.1.0/tests/unit/deploy/__init__.py +0 -0
- platybus-0.1.0/tests/unit/deploy/test_discovery.py +133 -0
- platybus-0.1.0/tests/unit/deploy/test_full.py +366 -0
- platybus-0.1.0/tests/unit/deploy/test_lite_logs.py +39 -0
- platybus-0.1.0/tests/unit/engine/__init__.py +0 -0
- platybus-0.1.0/tests/unit/engine/test_engine.py +146 -0
- platybus-0.1.0/tests/unit/etl/__init__.py +0 -0
- platybus-0.1.0/tests/unit/etl/conftest.py +131 -0
- platybus-0.1.0/tests/unit/etl/test_extract.py +287 -0
- platybus-0.1.0/tests/unit/etl/test_models.py +167 -0
- platybus-0.1.0/tests/unit/etl/test_runner.py +319 -0
- platybus-0.1.0/tests/unit/etl/test_specs.py +122 -0
- platybus-0.1.0/tests/unit/hub/__init__.py +0 -0
- platybus-0.1.0/tests/unit/hub/test_hub.py +308 -0
- platybus-0.1.0/tests/unit/plugins/__init__.py +0 -0
- platybus-0.1.0/tests/unit/plugins/test_manage.py +234 -0
- platybus-0.1.0/tests/unit/plugins/test_registry.py +239 -0
- platybus-0.1.0/tests/unit/sandbox/__init__.py +0 -0
- platybus-0.1.0/tests/unit/sandbox/conftest.py +102 -0
- platybus-0.1.0/tests/unit/sandbox/test_api.py +207 -0
- platybus-0.1.0/tests/unit/sandbox/test_cli.py +81 -0
- platybus-0.1.0/tests/unit/sandbox/test_registry.py +74 -0
- platybus-0.1.0/tests/unit/sandbox/test_runner.py +268 -0
- platybus-0.1.0/tests/unit/scheduler/__init__.py +0 -0
- platybus-0.1.0/tests/unit/scheduler/test_service.py +139 -0
- platybus-0.1.0/tests/unit/server/__init__.py +0 -0
- platybus-0.1.0/tests/unit/server/conftest.py +17 -0
- platybus-0.1.0/tests/unit/server/test_api.py +126 -0
- platybus-0.1.0/tests/unit/server/test_connections.py +75 -0
- platybus-0.1.0/tests/unit/server/test_dashboards.py +112 -0
- platybus-0.1.0/tests/unit/server/test_hub_api.py +313 -0
- platybus-0.1.0/tests/unit/server/test_pipelines.py +192 -0
- platybus-0.1.0/tests/unit/server/test_plugins.py +172 -0
- platybus-0.1.0/tests/unit/server/test_static.py +43 -0
- platybus-0.1.0/tests/unit/storage/__init__.py +0 -0
- platybus-0.1.0/tests/unit/storage/test_storage.py +79 -0
- platybus-0.1.0/tests/unit/stores/__init__.py +0 -0
- platybus-0.1.0/tests/unit/stores/test_stores.py +446 -0
- platybus-0.1.0/tests/unit/test_regressions.py +48 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
.venv/
|
|
5
|
+
dist/
|
|
6
|
+
build/
|
|
7
|
+
*.egg-info/
|
|
8
|
+
.pytest_cache/
|
|
9
|
+
.mypy_cache/
|
|
10
|
+
.ruff_cache/
|
|
11
|
+
.coverage
|
|
12
|
+
htmlcov/
|
|
13
|
+
|
|
14
|
+
# Node
|
|
15
|
+
web/node_modules/
|
|
16
|
+
web/dist/
|
|
17
|
+
src/platybus/server/static/
|
|
18
|
+
web/*.tsbuildinfo
|
|
19
|
+
# Playwright artifacts
|
|
20
|
+
web/playwright-report/
|
|
21
|
+
web/test-results/
|
|
22
|
+
web/blob-report/
|
|
23
|
+
web/playwright/.cache/
|
|
24
|
+
|
|
25
|
+
# Platybus local state and demos
|
|
26
|
+
.platybus/
|
|
27
|
+
.tmp/
|
|
28
|
+
*.duckdb
|
|
29
|
+
*.duckdb.wal
|
|
30
|
+
|
|
31
|
+
# Secrets
|
|
32
|
+
.env
|
|
33
|
+
.env.*
|
|
34
|
+
!.env.example
|
|
35
|
+
|
|
36
|
+
# Editors / OS
|
|
37
|
+
.idea/
|
|
38
|
+
.vscode/
|
|
39
|
+
.DS_Store
|
|
40
|
+
Thumbs.db
|
|
41
|
+
|
|
42
|
+
# Claude Code local settings
|
|
43
|
+
.claude/settings.local.json
|
|
44
|
+
.claude
|
|
45
|
+
# MkDocs output
|
|
46
|
+
site/
|
platybus-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Yaroslav Ozerov
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
platybus-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: platybus
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: A compact data platform in one command: S3 object storage, lakehouse tables, ETL and dashboards.
|
|
5
|
+
Project-URL: Homepage, https://github.com/RobbyTheFish/platybus
|
|
6
|
+
Project-URL: Documentation, https://robbythefish.github.io/platybus/
|
|
7
|
+
Project-URL: Repository, https://github.com/RobbyTheFish/platybus
|
|
8
|
+
Project-URL: Issues, https://github.com/RobbyTheFish/platybus/issues
|
|
9
|
+
Project-URL: Changelog, https://github.com/RobbyTheFish/platybus/blob/main/CHANGELOG.md
|
|
10
|
+
Author: Yaroslav Ozerov
|
|
11
|
+
License-Expression: MIT
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Keywords: dashboards,data-platform,duckdb,ducklake,etl,lakehouse,s3
|
|
14
|
+
Classifier: Development Status :: 3 - Alpha
|
|
15
|
+
Classifier: Environment :: Web Environment
|
|
16
|
+
Classifier: Framework :: FastAPI
|
|
17
|
+
Classifier: Intended Audience :: Developers
|
|
18
|
+
Classifier: Intended Audience :: Science/Research
|
|
19
|
+
Classifier: Operating System :: OS Independent
|
|
20
|
+
Classifier: Programming Language :: Python :: 3
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
23
|
+
Classifier: Topic :: Database
|
|
24
|
+
Classifier: Typing :: Typed
|
|
25
|
+
Requires-Python: >=3.12
|
|
26
|
+
Requires-Dist: apscheduler<4,>=3.10
|
|
27
|
+
Requires-Dist: duckdb<1.6,>=1.5
|
|
28
|
+
Requires-Dist: fastapi>=0.115
|
|
29
|
+
Requires-Dist: httpx>=0.28
|
|
30
|
+
Requires-Dist: jinja2>=3.1
|
|
31
|
+
Requires-Dist: mcp<3,>=2.3
|
|
32
|
+
Requires-Dist: obstore>=0.6
|
|
33
|
+
Requires-Dist: pyarrow>=18
|
|
34
|
+
Requires-Dist: pydantic>=2.10
|
|
35
|
+
Requires-Dist: pytz>=2024.1
|
|
36
|
+
Requires-Dist: pyyaml>=6.0
|
|
37
|
+
Requires-Dist: rich>=13.9
|
|
38
|
+
Requires-Dist: sqlglot>=26
|
|
39
|
+
Requires-Dist: structlog>=24.4
|
|
40
|
+
Requires-Dist: typer>=0.15
|
|
41
|
+
Requires-Dist: uvicorn[standard]>=0.32
|
|
42
|
+
Provides-Extra: all
|
|
43
|
+
Requires-Dist: platybus-assistant; extra == 'all'
|
|
44
|
+
Requires-Dist: platybus-clickhouse; extra == 'all'
|
|
45
|
+
Requires-Dist: platybus-dashboards; extra == 'all'
|
|
46
|
+
Requires-Dist: platybus-dbt; extra == 'all'
|
|
47
|
+
Requires-Dist: platybus-files; extra == 'all'
|
|
48
|
+
Requires-Dist: platybus-iceberg; extra == 'all'
|
|
49
|
+
Requires-Dist: platybus-mysql; extra == 'all'
|
|
50
|
+
Requires-Dist: platybus-postgres; extra == 'all'
|
|
51
|
+
Requires-Dist: platybus-redash; extra == 'all'
|
|
52
|
+
Requires-Dist: platybus-samples; extra == 'all'
|
|
53
|
+
Requires-Dist: platybus-skills; extra == 'all'
|
|
54
|
+
Requires-Dist: platybus-sqlite; extra == 'all'
|
|
55
|
+
Requires-Dist: platybus-sqlmodels; extra == 'all'
|
|
56
|
+
Requires-Dist: platybus-superset; extra == 'all'
|
|
57
|
+
Provides-Extra: assistant
|
|
58
|
+
Requires-Dist: platybus-assistant; extra == 'assistant'
|
|
59
|
+
Requires-Dist: platybus-skills; extra == 'assistant'
|
|
60
|
+
Provides-Extra: clickhouse
|
|
61
|
+
Requires-Dist: platybus-clickhouse; extra == 'clickhouse'
|
|
62
|
+
Provides-Extra: dashboards
|
|
63
|
+
Requires-Dist: platybus-dashboards; extra == 'dashboards'
|
|
64
|
+
Provides-Extra: dbt
|
|
65
|
+
Requires-Dist: platybus-dbt; extra == 'dbt'
|
|
66
|
+
Provides-Extra: files
|
|
67
|
+
Requires-Dist: platybus-files; extra == 'files'
|
|
68
|
+
Provides-Extra: iceberg
|
|
69
|
+
Requires-Dist: platybus-iceberg; extra == 'iceberg'
|
|
70
|
+
Provides-Extra: mysql
|
|
71
|
+
Requires-Dist: platybus-mysql; extra == 'mysql'
|
|
72
|
+
Provides-Extra: postgres
|
|
73
|
+
Requires-Dist: platybus-postgres; extra == 'postgres'
|
|
74
|
+
Provides-Extra: redash
|
|
75
|
+
Requires-Dist: platybus-redash; extra == 'redash'
|
|
76
|
+
Provides-Extra: samples
|
|
77
|
+
Requires-Dist: platybus-samples; extra == 'samples'
|
|
78
|
+
Provides-Extra: skills
|
|
79
|
+
Requires-Dist: platybus-skills; extra == 'skills'
|
|
80
|
+
Provides-Extra: sql
|
|
81
|
+
Requires-Dist: platybus-sqlmodels; extra == 'sql'
|
|
82
|
+
Provides-Extra: sqlite
|
|
83
|
+
Requires-Dist: platybus-sqlite; extra == 'sqlite'
|
|
84
|
+
Provides-Extra: standard
|
|
85
|
+
Requires-Dist: platybus-assistant; extra == 'standard'
|
|
86
|
+
Requires-Dist: platybus-dashboards; extra == 'standard'
|
|
87
|
+
Requires-Dist: platybus-dbt; extra == 'standard'
|
|
88
|
+
Requires-Dist: platybus-files; extra == 'standard'
|
|
89
|
+
Requires-Dist: platybus-postgres; extra == 'standard'
|
|
90
|
+
Requires-Dist: platybus-samples; extra == 'standard'
|
|
91
|
+
Requires-Dist: platybus-skills; extra == 'standard'
|
|
92
|
+
Provides-Extra: superset
|
|
93
|
+
Requires-Dist: platybus-superset; extra == 'superset'
|
|
94
|
+
Description-Content-Type: text/markdown
|
|
95
|
+
|
|
96
|
+
<p align="center">
|
|
97
|
+
<img src="https://raw.githubusercontent.com/RobbyTheFish/platybus/main/assets/logo.png" alt="Platybus" width="420">
|
|
98
|
+
</p>
|
|
99
|
+
|
|
100
|
+
<p align="center">
|
|
101
|
+
<a href="https://github.com/RobbyTheFish/platybus/actions/workflows/ci.yml"><img src="https://github.com/RobbyTheFish/platybus/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
|
|
102
|
+
<a href="https://robbythefish.github.io/platybus/"><img src="https://github.com/RobbyTheFish/platybus/actions/workflows/docs.yml/badge.svg" alt="Docs"></a>
|
|
103
|
+
<a href="https://pypi.org/project/platybus/"><img src="https://img.shields.io/pypi/v/platybus" alt="PyPI version"></a>
|
|
104
|
+
<a href="https://pypi.org/project/platybus/"><img src="https://img.shields.io/pypi/pyversions/platybus" alt="Python versions"></a>
|
|
105
|
+
<a href="https://github.com/RobbyTheFish/platybus/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" alt="License: MIT"></a>
|
|
106
|
+
</p>
|
|
107
|
+
|
|
108
|
+
<p align="center">
|
|
109
|
+
<b>A hub for small data platforms.</b><br>
|
|
110
|
+
Create a project, pick where its tables live, connect sources, build models —
|
|
111
|
+
from a cloud-console-style UI, the CLI or plain YAML.
|
|
112
|
+
</p>
|
|
113
|
+
|
|
114
|
+
> **`v0.1.0` — first release.** Install it from PyPI, run it with one command, keep everything
|
|
115
|
+
> it builds in git. See the [CHANGELOG](https://github.com/RobbyTheFish/platybus/blob/main/CHANGELOG.md) for what is in it.
|
|
116
|
+
|
|
117
|
+
<p align="center">
|
|
118
|
+
<img src="https://raw.githubusercontent.com/RobbyTheFish/platybus/main/docs/assets/demo.gif" alt="Creating a project, running SQL and browsing the catalog in the Platybus UI" width="820">
|
|
119
|
+
</p>
|
|
120
|
+
|
|
121
|
+
---
|
|
122
|
+
|
|
123
|
+
## Contents
|
|
124
|
+
|
|
125
|
+
- [What it is](#what-it-is)
|
|
126
|
+
- [Install](#install)
|
|
127
|
+
- [Quick start](#quick-start)
|
|
128
|
+
- [Features](#features)
|
|
129
|
+
- [Stores](#stores)
|
|
130
|
+
- [Plugins](#plugins)
|
|
131
|
+
- [Architecture](#architecture)
|
|
132
|
+
- [Development](#development)
|
|
133
|
+
- [Roadmap](#roadmap)
|
|
134
|
+
- [Documentation](#documentation)
|
|
135
|
+
|
|
136
|
+
## What it is
|
|
137
|
+
|
|
138
|
+
Standing up even a small analytics stack usually means wiring object storage, a warehouse,
|
|
139
|
+
an orchestrator, dbt and a BI tool together. Platybus packs that into one process with a small
|
|
140
|
+
core and everything optional as a plugin.
|
|
141
|
+
|
|
142
|
+
One Platybus server is a **hub** of **projects**. Each project is a data platform of its own,
|
|
143
|
+
built from three kinds of services — the same idea as a Google Cloud project:
|
|
144
|
+
|
|
145
|
+
| Service | What it does | Options |
|
|
146
|
+
|---|---|---|
|
|
147
|
+
| **Store** | Where the tables live. Every store is attached to DuckDB as a catalog, so one project can have several and query across them | DuckLake (default, zero config), DuckDB file, Apache Iceberg (REST catalog), PostgreSQL |
|
|
148
|
+
| **Ingestion** | Sources by URL and ingestion jobs: `full`, `append`, `incremental` (cursor) or `merge` (key), on a cron schedule | PostgreSQL, MySQL, SQLite, ClickHouse, S3, GCS, HTTP and local files |
|
|
149
|
+
| **Transform** | Models, data quality checks, run history | dbt (default) or a lightweight dbt-style SQL engine |
|
|
150
|
+
|
|
151
|
+
Around them: a SQL editor, a catalog browser with snapshots and time travel, dashboards as
|
|
152
|
+
code, a **sandbox** of local test containers and ready-made **sample datasets**.
|
|
153
|
+
|
|
154
|
+
Everything a project is made of is a file you can keep in git: `platybus.yml`, `stores.yml`,
|
|
155
|
+
`connections.yml`, `pipelines/*.yml`, `models/**/*.sql`, `dashboards/*.yml`. Secrets live only
|
|
156
|
+
in `.env` and are masked in logs, the API and the UI.
|
|
157
|
+
|
|
158
|
+
## Install
|
|
159
|
+
|
|
160
|
+
```bash
|
|
161
|
+
pip install "platybus[standard]" # or: uv tool install "platybus[standard]"
|
|
162
|
+
platybus --version
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Python 3.12+. The `standard` extra brings what a new project expects: dbt, native dashboards,
|
|
166
|
+
PostgreSQL, file sources, sample datasets and the AI assistant; `platybus[all]` installs every
|
|
167
|
+
plugin, and single plugins are extras too (`platybus[iceberg]`, `platybus[clickhouse]`, …).
|
|
168
|
+
Docker is needed only for the sandbox and for `platybus up` in full mode, which runs the
|
|
169
|
+
image `ghcr.io/robbythefish/platybus`.
|
|
170
|
+
|
|
171
|
+
## Quick start
|
|
172
|
+
|
|
173
|
+
### 1. Start a hub
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
platybus hub init myhub && cd myhub
|
|
177
|
+
platybus up -d # http://127.0.0.1:8765
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
Open <http://127.0.0.1:8765> and click **Create project**. The wizard goes
|
|
181
|
+
**Basics → Store → Transform → Ingestion → Review**: for a first try pick the *Demo pipeline*
|
|
182
|
+
template, the DuckLake store, the dbt engine and the *Jaffle shop* sample dataset. Then run the
|
|
183
|
+
`demo` pipeline and look at the result in **Catalog** and the **SQL editor**.
|
|
184
|
+
|
|
185
|
+
The same from the CLI:
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
platybus projects create shop
|
|
189
|
+
platybus -P shop datasets load jaffle_shop
|
|
190
|
+
platybus -P shop sql "select count(*) from jaffle_shop.orders"
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### 2. Ask the assistant
|
|
194
|
+
|
|
195
|
+
In a project open **Settings → Assistant**, choose a provider (Anthropic, an OpenAI-compatible
|
|
196
|
+
API or a local Ollama) and enter its API key (it is saved to the project's `.env`). Then ask in **Assistant** or in the side panel
|
|
197
|
+
(Ctrl/Cmd+I), for example *"which customers ordered most last month? make a dashboard"*: it looks up the
|
|
198
|
+
catalog, runs read-only SQL and saves a dashboard. Install more skills from **Marketplace**.
|
|
199
|
+
The same tools are available to Claude Desktop, Cursor and other MCP clients:
|
|
200
|
+
|
|
201
|
+
```bash
|
|
202
|
+
platybus mcp -P shop # stdio; or http://127.0.0.1:8765/mcp/shop
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### 3. Try Iceberg or PostgreSQL with the sandbox
|
|
206
|
+
|
|
207
|
+
```bash
|
|
208
|
+
platybus sandbox up # S3, Postgres, ClickHouse, Iceberg REST catalog (first start pulls images)
|
|
209
|
+
platybus sandbox status
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
In the wizard choose **Apache Iceberg** or **PostgreSQL** and click **Use sandbox**; the store
|
|
213
|
+
settings are filled in for the local containers. The sandbox Postgres also has a `shop`
|
|
214
|
+
database with source data for ingestion jobs. Details: [docs/sandbox.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/sandbox.md).
|
|
215
|
+
|
|
216
|
+
### 4. Stop
|
|
217
|
+
|
|
218
|
+
```bash
|
|
219
|
+
platybus down
|
|
220
|
+
platybus sandbox down # --volumes also deletes the sandbox data
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
### A single project without a hub
|
|
224
|
+
|
|
225
|
+
```bash
|
|
226
|
+
platybus init demo --example jaffle-shop && cd demo
|
|
227
|
+
platybus up --lite -d # no Docker: local files + SQLite catalog
|
|
228
|
+
platybus run jaffle # seeds -> models -> checks
|
|
229
|
+
platybus sql "select * from marts.orders_daily order by day desc limit 7"
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
`platybus up` without `--lite` runs the project with Docker Compose (SeaweedFS + Postgres +
|
|
233
|
+
Platybus): see [docs/deployment.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/deployment.md).
|
|
234
|
+
|
|
235
|
+
## Features
|
|
236
|
+
|
|
237
|
+
- **Hub of projects** — create, list, rename, label and delete projects in the UI, the CLI
|
|
238
|
+
(`platybus projects`) or the API (`/api/projects`); every project resource lives under
|
|
239
|
+
`/api/projects/{id}/…`. See [docs/hub.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/hub.md).
|
|
240
|
+
- **Stores on demand** — DuckLake, DuckDB, [Apache Iceberg](https://github.com/RobbyTheFish/platybus/blob/main/docs/stores/iceberg.md) and
|
|
241
|
+
[PostgreSQL](https://github.com/RobbyTheFish/platybus/blob/main/docs/stores/postgres.md); several stores per project and queries across them
|
|
242
|
+
(`lake.raw.orders join wh.public.customers`). See [Stores](#stores).
|
|
243
|
+
- **Connect anything by URL** — `postgres://`, `mysql://`, `sqlite:///`, `clickhouse://`,
|
|
244
|
+
`s3://`, `gs://`, `https://…csv|parquet`, `file://`.
|
|
245
|
+
- **ETL as code** — YAML pipelines with seeds, extracts in four load modes, models, checks and
|
|
246
|
+
cron schedules; incremental watermarks are committed right after each extract.
|
|
247
|
+
- **Models with dbt or plain SQL** — [dbt](https://github.com/RobbyTheFish/platybus/blob/main/docs/plugins/dbt.md) runs in a persistent worker
|
|
248
|
+
process against the project's stores (DuckLake and PostgreSQL), passwords never touch the
|
|
249
|
+
disk; the `sql` engine starts instantly and needs no dbt.
|
|
250
|
+
- **Dashboards as code** — YAML + SQL rendered with ECharts, or existing Superset / Redash
|
|
251
|
+
embedded as [web views](https://github.com/RobbyTheFish/platybus/blob/main/docs/plugins/webview-dashboards.md).
|
|
252
|
+
- **Sandbox** — local S3, Postgres (with seeded source data), ClickHouse and Iceberg REST
|
|
253
|
+
containers with one command, bound to `127.0.0.1` only.
|
|
254
|
+
- **Sample datasets** — `tpch` (scale 0.01 / 0.1 / 1), `jaffle_shop`, `web_events`,
|
|
255
|
+
`taxi_trips`, loadable into any store. See [docs/datasets.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/datasets.md).
|
|
256
|
+
- **Cloud-console UI** — project picker, create-project wizard, per-project Overview,
|
|
257
|
+
Ingestion, Transform, Store, SQL, Dashboards, Sample data, Files and Settings pages; compact,
|
|
258
|
+
light and dark, down to phone width. See [docs/ui.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/ui.md).
|
|
259
|
+
- **AI assistant** — a chat in every project (and a side panel, Ctrl/Cmd+I) that browses the
|
|
260
|
+
catalog, runs read-only SQL, reads run and server logs and builds native dashboards. Works
|
|
261
|
+
with Anthropic, any OpenAI-compatible API (OpenAI, OpenRouter, vLLM, LM Studio) and Ollama.
|
|
262
|
+
See [docs/assistant.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/assistant.md).
|
|
263
|
+
- **Skills marketplace** — instruction packs for the assistant (SQL analyst, dashboard
|
|
264
|
+
builder, data quality, pipeline debugging, dbt modeling) installed per project, plus your
|
|
265
|
+
own or a remote index. See [docs/skills.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/skills.md).
|
|
266
|
+
- **MCP server** — the same tools for Claude Desktop, Cursor and other MCP clients:
|
|
267
|
+
`platybus mcp` (stdio) or `/mcp/<project>` on the running server. See [docs/mcp.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/mcp.md).
|
|
268
|
+
- **Modular** — stores, connectors, transform engines, dashboard providers, datasets and
|
|
269
|
+
sandbox services are plugins discovered through entry points.
|
|
270
|
+
|
|
271
|
+
## Stores
|
|
272
|
+
|
|
273
|
+
| Type | Kind | Plugin | Views | Atomic replace | MERGE | Snapshots | Engines |
|
|
274
|
+
|---|---|---|---|---|---|---|---|
|
|
275
|
+
| `ducklake` | lakehouse (Parquet + SQLite/Postgres catalog) | core | ✅ | ✅ | ✅ | ✅ | sql, dbt |
|
|
276
|
+
| `duckdb` | warehouse (one local file) | core | ✅ | ✅ | ✅ | — | sql |
|
|
277
|
+
| `iceberg` | lakehouse (REST catalog + S3) | `platybus-iceberg` | — | ✅¹ | ✅ | ✅ | sql, dbt |
|
|
278
|
+
| `postgres` | warehouse | `platybus-postgres` | — | ✅ | ✅ | — | sql, dbt |
|
|
279
|
+
|
|
280
|
+
¹ One atomic catalog commit that keeps the table's history (through pyiceberg); not with
|
|
281
|
+
SigV4-signed catalogs, and not for dbt `table` models. See [docs/stores/iceberg.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/stores/iceberg.md).
|
|
282
|
+
|
|
283
|
+
Pipelines and models adapt to what a store lacks: a `view` model becomes a table (the run
|
|
284
|
+
log says so), MERGE falls back to DELETE + INSERT in one transaction. Configuration is
|
|
285
|
+
`stores.yml` in the project:
|
|
286
|
+
|
|
287
|
+
```yaml
|
|
288
|
+
default: lake
|
|
289
|
+
stores:
|
|
290
|
+
lake:
|
|
291
|
+
type: ducklake
|
|
292
|
+
wh:
|
|
293
|
+
type: postgres
|
|
294
|
+
host: db.internal
|
|
295
|
+
database: dwh
|
|
296
|
+
user: dwh
|
|
297
|
+
password: ${WH_PASSWORD} # the value is in .env
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
More: [docs/stores/README.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/stores/README.md).
|
|
301
|
+
|
|
302
|
+
## Plugins
|
|
303
|
+
|
|
304
|
+
| Plugin | Provides |
|
|
305
|
+
|---|---|
|
|
306
|
+
| `platybus-dbt` | dbt transform engine (default) |
|
|
307
|
+
| `platybus-sqlmodels` | built-in-style SQL transform engine |
|
|
308
|
+
| `platybus-iceberg` | Apache Iceberg store, Iceberg REST sandbox service |
|
|
309
|
+
| `platybus-postgres` | PostgreSQL connector and warehouse store |
|
|
310
|
+
| `platybus-clickhouse` | ClickHouse connector and sandbox service |
|
|
311
|
+
| `platybus-mysql`, `platybus-sqlite`, `platybus-files` | MySQL, SQLite, S3/GCS/HTTP/local file connectors |
|
|
312
|
+
| `platybus-samples` | sample datasets |
|
|
313
|
+
| `platybus-assistant` | assistant providers: Anthropic, OpenAI-compatible, Ollama |
|
|
314
|
+
| `platybus-skills` | bundled assistant skills |
|
|
315
|
+
| `platybus-dashboards` | native YAML dashboards |
|
|
316
|
+
| `platybus-superset`, `platybus-redash` | web-view dashboards |
|
|
317
|
+
|
|
318
|
+
Extras: `platybus[standard]` (dbt, native dashboards, Postgres, files, samples) and
|
|
319
|
+
`platybus[all]`. Writing a plugin: [docs/plugins/README.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/plugins/README.md).
|
|
320
|
+
|
|
321
|
+
## Architecture
|
|
322
|
+
|
|
323
|
+
```
|
|
324
|
+
web UI (React) ── CLI (Typer)
|
|
325
|
+
│ │
|
|
326
|
+
▼ ▼
|
|
327
|
+
hub ── FastAPI server: /api/projects/{id}/… · scheduler · sandbox runner
|
|
328
|
+
│
|
|
329
|
+
┌───────────┼──────────────────────────────┐
|
|
330
|
+
▼ ▼ ▼
|
|
331
|
+
connectors ─▶ ETL runner ─▶ transform plugin (dbt | sql)
|
|
332
|
+
(plugins) │
|
|
333
|
+
▼
|
|
334
|
+
DuckDB engine ── attaches every store of the project as a catalog
|
|
335
|
+
│
|
|
336
|
+
┌───────────┬───┴──────────┬──────────────┐
|
|
337
|
+
▼ ▼ ▼ ▼
|
|
338
|
+
DuckLake DuckDB file Iceberg REST PostgreSQL
|
|
339
|
+
(S3/local) (+ S3)
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
Module boundaries: [docs/ARCHITECTURE.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/ARCHITECTURE.md) · decisions:
|
|
343
|
+
[docs/adr/](https://github.com/RobbyTheFish/platybus/blob/main/docs/adr/) · full map of the code (in Russian):
|
|
344
|
+
[docs/PROJECT_OVERVIEW.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/PROJECT_OVERVIEW.md).
|
|
345
|
+
|
|
346
|
+
## Development
|
|
347
|
+
|
|
348
|
+
From a checkout — [uv](https://docs.astral.sh/uv/), Node.js ≥ 20.18 for the UI:
|
|
349
|
+
|
|
350
|
+
```bash
|
|
351
|
+
git clone https://github.com/RobbyTheFish/platybus.git && cd platybus
|
|
352
|
+
uv sync --all-packages --all-extras # core + every plugin in plugins/
|
|
353
|
+
cd web && npm ci && npm run build && cd .. # web UI, bundled into the Python package
|
|
354
|
+
uv run platybus --version # in a checkout, prefix commands with `uv run`
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
Checks:
|
|
358
|
+
|
|
359
|
+
```bash
|
|
360
|
+
uv run ruff check . && uv run ruff format --check .
|
|
361
|
+
uv run mypy src plugins/*/src
|
|
362
|
+
uv run pytest -m "not integration" # ~850 unit tests, no Docker
|
|
363
|
+
uv run pytest -m integration # needs Docker (testcontainers)
|
|
364
|
+
cd web && npm ci && npm run lint && npm run typecheck && npm test
|
|
365
|
+
cd web && npm run build && npm run e2e # Playwright tests against a real hub
|
|
366
|
+
cd web && npm run dev # UI dev server, proxies /api to :8765
|
|
367
|
+
uv run --only-group docs mkdocs serve # documentation site
|
|
368
|
+
uv run python scripts/benchmark.py --scale 0.1 # TPC-H benchmark (docs/benchmark.md)
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
Conventions (Conventional Commits, ADRs, secrets handling, tests for every fix) are in
|
|
372
|
+
[AGENTS.md](https://github.com/RobbyTheFish/platybus/blob/main/AGENTS.md).
|
|
373
|
+
|
|
374
|
+
## Roadmap
|
|
375
|
+
|
|
376
|
+
`v0.1.0` completes milestones M0–M7 and the first part of M8 (assistant, skills, MCP). The
|
|
377
|
+
full plan with checkpoints (in Russian) is [docs/PLAN.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/PLAN.md).
|
|
378
|
+
|
|
379
|
+
| | Milestone |
|
|
380
|
+
|---|---|
|
|
381
|
+
| ✅ | **M0–M6** Foundation, DuckLake lakehouse, engine and HTTP API, connectors by URL, ETL, web UI and dashboards, one-command deployment |
|
|
382
|
+
| ✅ | **M6.5–M6.6** Plugin architecture; hub of projects, Iceberg and PostgreSQL stores, sandbox, sample datasets |
|
|
383
|
+
| ✅ | **M7** First release: docs site, TPC-H benchmark, PyPI packages and GHCR image |
|
|
384
|
+
| ✅ | **M8.1** AI assistant, skills marketplace, MCP server |
|
|
385
|
+
| ⬜ | **M8** Next — see below |
|
|
386
|
+
|
|
387
|
+
**Next**
|
|
388
|
+
|
|
389
|
+
- [ ] Authentication with tokens and read-only roles.
|
|
390
|
+
- [ ] Column-level lineage graph of models in the UI.
|
|
391
|
+
- [ ] Postgres wire protocol or Arrow Flight SQL for external BI tools.
|
|
392
|
+
- [ ] Python steps in pipelines, `dlt` integration for SaaS sources.
|
|
393
|
+
- [ ] Helm chart for Kubernetes.
|
|
394
|
+
|
|
395
|
+
**Known limitations**
|
|
396
|
+
|
|
397
|
+
- Iceberg: DuckDB cannot read Iceberg views, so `view` models stay tables; AWS Glue / SigV4
|
|
398
|
+
catalogs are unverified and fall back to non-atomic rebuilds; sandbox projects share one
|
|
399
|
+
Iceberg catalog.
|
|
400
|
+
- dbt on PostgreSQL: types Postgres cannot hold must be cast in the model.
|
|
401
|
+
- Assistant providers are tested against mocked API streams; report issues with
|
|
402
|
+
live APIs.
|
|
403
|
+
- Integration tests run in CI on demand (`workflow_dispatch`), unit and e2e tests on every push.
|
|
404
|
+
|
|
405
|
+
## Documentation
|
|
406
|
+
|
|
407
|
+
| Topic | Where |
|
|
408
|
+
|---|---|
|
|
409
|
+
| Hub and projects | [docs/hub.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/hub.md) |
|
|
410
|
+
| Stores, Iceberg, PostgreSQL | [docs/stores/](https://github.com/RobbyTheFish/platybus/blob/main/docs/stores/README.md) |
|
|
411
|
+
| Sandbox and sample data | [docs/sandbox.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/sandbox.md), [docs/datasets.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/datasets.md) |
|
|
412
|
+
| Pipelines, models, dashboards | [docs/pipelines.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/pipelines.md), [docs/models.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/models.md), [docs/dashboards.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/dashboards.md) |
|
|
413
|
+
| Connectors | [docs/connectors/](https://github.com/RobbyTheFish/platybus/blob/main/docs/connectors/) |
|
|
414
|
+
| Plugins, dbt, web-view dashboards | [docs/plugins/](https://github.com/RobbyTheFish/platybus/blob/main/docs/plugins/README.md) |
|
|
415
|
+
| Web UI | [docs/ui.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/ui.md) |
|
|
416
|
+
| AI assistant, skills, MCP | [docs/assistant.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/assistant.md), [docs/skills.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/skills.md), [docs/mcp.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/mcp.md) |
|
|
417
|
+
| CLI reference | [docs/cli.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/cli.md) |
|
|
418
|
+
| Deployment | [docs/deployment.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/deployment.md) |
|
|
419
|
+
| Benchmark | [docs/benchmark.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/benchmark.md) |
|
|
420
|
+
| Releasing | [docs/releasing.md](https://github.com/RobbyTheFish/platybus/blob/main/docs/releasing.md) |
|
|
421
|
+
|
|
422
|
+
## License
|
|
423
|
+
|
|
424
|
+
[MIT](https://github.com/RobbyTheFish/platybus/blob/main/LICENSE)
|