ciaren 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.
Files changed (663) hide show
  1. ciaren-0.1.0/.env.example +15 -0
  2. ciaren-0.1.0/.gitignore +266 -0
  3. ciaren-0.1.0/PKG-INFO +396 -0
  4. ciaren-0.1.0/README.md +304 -0
  5. ciaren-0.1.0/alembic.ini +38 -0
  6. ciaren-0.1.0/app/README.md +104 -0
  7. ciaren-0.1.0/app/__init__.py +1 -0
  8. ciaren-0.1.0/app/api/__init__.py +1 -0
  9. ciaren-0.1.0/app/api/deps.py +72 -0
  10. ciaren-0.1.0/app/api/errors.py +63 -0
  11. ciaren-0.1.0/app/api/middleware.py +30 -0
  12. ciaren-0.1.0/app/api/routers.py +52 -0
  13. ciaren-0.1.0/app/api/routes/__init__.py +1 -0
  14. ciaren-0.1.0/app/api/routes/catalog.py +55 -0
  15. ciaren-0.1.0/app/api/routes/connections.py +105 -0
  16. ciaren-0.1.0/app/api/routes/datasets.py +142 -0
  17. ciaren-0.1.0/app/api/routes/flows.py +83 -0
  18. ciaren-0.1.0/app/api/routes/health.py +37 -0
  19. ciaren-0.1.0/app/api/routes/marketplace.py +213 -0
  20. ciaren-0.1.0/app/api/routes/ml.py +67 -0
  21. ciaren-0.1.0/app/api/routes/plugins.py +491 -0
  22. ciaren-0.1.0/app/api/routes/projects.py +32 -0
  23. ciaren-0.1.0/app/api/routes/runs.py +180 -0
  24. ciaren-0.1.0/app/api/routes/schedules.py +63 -0
  25. ciaren-0.1.0/app/api/routes/settings.py +39 -0
  26. ciaren-0.1.0/app/api/routes/transformations.py +48 -0
  27. ciaren-0.1.0/app/api/routes/webhooks.py +97 -0
  28. ciaren-0.1.0/app/bootstrap/__init__.py +4 -0
  29. ciaren-0.1.0/app/bootstrap/frontend.py +114 -0
  30. ciaren-0.1.0/app/bootstrap/lifespan.py +100 -0
  31. ciaren-0.1.0/app/bootstrap/seeding.py +99 -0
  32. ciaren-0.1.0/app/bundled_plugins/__init__.py +2 -0
  33. ciaren-0.1.0/app/bundled_plugins/community.hello-0.1.0-alpha.1.ciarenplugin +0 -0
  34. ciaren-0.1.0/app/bundled_plugins/community.mlp-classifier-0.2.0.ciarenplugin +0 -0
  35. ciaren-0.1.0/app/bundled_plugins/marketplace.json +57 -0
  36. ciaren-0.1.0/app/cli.py +828 -0
  37. ciaren-0.1.0/app/cli_plugin.py +495 -0
  38. ciaren-0.1.0/app/connectors/__init__.py +48 -0
  39. ciaren-0.1.0/app/connectors/azure_blob.py +120 -0
  40. ciaren-0.1.0/app/connectors/base.py +70 -0
  41. ciaren-0.1.0/app/connectors/confinement.py +55 -0
  42. ciaren-0.1.0/app/connectors/gcs.py +120 -0
  43. ciaren-0.1.0/app/connectors/local_storage.py +135 -0
  44. ciaren-0.1.0/app/connectors/mongo.py +112 -0
  45. ciaren-0.1.0/app/connectors/providers.py +239 -0
  46. ciaren-0.1.0/app/connectors/rest_api.py +351 -0
  47. ciaren-0.1.0/app/connectors/s3.py +114 -0
  48. ciaren-0.1.0/app/connectors/sql.py +212 -0
  49. ciaren-0.1.0/app/connectors/ssrf.py +96 -0
  50. ciaren-0.1.0/app/connectors/storage_base.py +115 -0
  51. ciaren-0.1.0/app/core/__init__.py +1 -0
  52. ciaren-0.1.0/app/core/auth.py +94 -0
  53. ciaren-0.1.0/app/core/config.py +234 -0
  54. ciaren-0.1.0/app/core/csrf.py +88 -0
  55. ciaren-0.1.0/app/core/database.py +135 -0
  56. ciaren-0.1.0/app/core/enums.py +102 -0
  57. ciaren-0.1.0/app/core/exceptions.py +56 -0
  58. ciaren-0.1.0/app/core/logging.py +95 -0
  59. ciaren-0.1.0/app/core/notifications.py +113 -0
  60. ciaren-0.1.0/app/core/runtime_settings.py +384 -0
  61. ciaren-0.1.0/app/core/secrets.py +419 -0
  62. ciaren-0.1.0/app/db/__init__.py +1 -0
  63. ciaren-0.1.0/app/db/migrations.py +135 -0
  64. ciaren-0.1.0/app/db/models/__init__.py +1 -0
  65. ciaren-0.1.0/app/db/models/app_setting.py +27 -0
  66. ciaren-0.1.0/app/db/models/connection.py +41 -0
  67. ciaren-0.1.0/app/db/models/dataset.py +59 -0
  68. ciaren-0.1.0/app/db/models/dataset_version.py +51 -0
  69. ciaren-0.1.0/app/db/models/flow.py +56 -0
  70. ciaren-0.1.0/app/db/models/project.py +31 -0
  71. ciaren-0.1.0/app/db/models/run.py +61 -0
  72. ciaren-0.1.0/app/db/models/schedule.py +66 -0
  73. ciaren-0.1.0/app/demo/__init__.py +13 -0
  74. ciaren-0.1.0/app/demo/datasets.py +360 -0
  75. ciaren-0.1.0/app/demo/loader.py +220 -0
  76. ciaren-0.1.0/app/demo/resources/etl/01_clean_customers.flow.json +85 -0
  77. ciaren-0.1.0/app/demo/resources/etl/02_order_revenue_by_month.flow.json +127 -0
  78. ciaren-0.1.0/app/demo/resources/etl/03_customer_orders_join.flow.json +153 -0
  79. ciaren-0.1.0/app/demo/resources/etl/04_full_sales_mart.flow.json +195 -0
  80. ciaren-0.1.0/app/demo/resources/etl/05_lead_intake_cleanup.flow.json +231 -0
  81. ciaren-0.1.0/app/demo/resources/etl/06_web_event_engagement.flow.json +223 -0
  82. ciaren-0.1.0/app/demo/resources/etl/07_survey_quality_contracts.flow.json +209 -0
  83. ciaren-0.1.0/app/demo/resources/etl/08_regional_target_variance.flow.json +182 -0
  84. ciaren-0.1.0/app/demo/resources/etl/09_product_catalog_scoring.flow.json +118 -0
  85. ciaren-0.1.0/app/demo/resources/ml/01_iris_quick_classifier.flow.json +61 -0
  86. ciaren-0.1.0/app/demo/resources/ml/02_iris_train_validate_evaluate.flow.json +169 -0
  87. ciaren-0.1.0/app/demo/resources/ml/03_house_prices_regression.flow.json +115 -0
  88. ciaren-0.1.0/app/demo/resources/ml/04_iris_pca_explore.flow.json +77 -0
  89. ciaren-0.1.0/app/demo/resources/ml/05_iris_cross_validation_report.flow.json +119 -0
  90. ciaren-0.1.0/app/demo/resources/ml/06_iris_knn_encoded_species.flow.json +136 -0
  91. ciaren-0.1.0/app/demo/resources/ml/07_house_price_feature_selection.flow.json +128 -0
  92. ciaren-0.1.0/app/demo/resources/ml/08_house_price_customer_segments.flow.json +66 -0
  93. ciaren-0.1.0/app/demo/resources/ml/09_house_price_pca_model.flow.json +66 -0
  94. ciaren-0.1.0/app/demo/seed.py +167 -0
  95. ciaren-0.1.0/app/engine/__init__.py +1 -0
  96. ciaren-0.1.0/app/engine/backends/__init__.py +30 -0
  97. ciaren-0.1.0/app/engine/backends/base.py +263 -0
  98. ciaren-0.1.0/app/engine/backends/pandas_engine.py +655 -0
  99. ciaren-0.1.0/app/engine/backends/polars_engine.py +742 -0
  100. ciaren-0.1.0/app/engine/cancellation.py +104 -0
  101. ciaren-0.1.0/app/engine/codegen.py +292 -0
  102. ciaren-0.1.0/app/engine/codegen_common.py +535 -0
  103. ciaren-0.1.0/app/engine/codegen_params.py +123 -0
  104. ciaren-0.1.0/app/engine/executor.py +462 -0
  105. ciaren-0.1.0/app/engine/graph.py +355 -0
  106. ciaren-0.1.0/app/engine/ingest.py +213 -0
  107. ciaren-0.1.0/app/engine/node_kinds.py +311 -0
  108. ciaren-0.1.0/app/engine/node_metadata.py +658 -0
  109. ciaren-0.1.0/app/engine/parameters.py +219 -0
  110. ciaren-0.1.0/app/engine/polars_codegen.py +466 -0
  111. ciaren-0.1.0/app/engine/preview_context.py +30 -0
  112. ciaren-0.1.0/app/engine/process_pool.py +223 -0
  113. ciaren-0.1.0/app/engine/profile.py +87 -0
  114. ciaren-0.1.0/app/engine/registry.py +233 -0
  115. ciaren-0.1.0/app/engine/run_context.py +44 -0
  116. ciaren-0.1.0/app/engine/script_guard.py +238 -0
  117. ciaren-0.1.0/app/engine/sql_codegen.py +142 -0
  118. ciaren-0.1.0/app/engine/transformations/__init__.py +1 -0
  119. ciaren-0.1.0/app/engine/transformations/base.py +210 -0
  120. ciaren-0.1.0/app/engine/transformations/charts.py +696 -0
  121. ciaren-0.1.0/app/engine/transformations/columns.py +255 -0
  122. ciaren-0.1.0/app/engine/transformations/conditional.py +145 -0
  123. ciaren-0.1.0/app/engine/transformations/join.py +92 -0
  124. ciaren-0.1.0/app/engine/transformations/ml/__init__.py +9 -0
  125. ciaren-0.1.0/app/engine/transformations/ml/base.py +253 -0
  126. ciaren-0.1.0/app/engine/transformations/ml/cross_validation.py +455 -0
  127. ciaren-0.1.0/app/engine/transformations/ml/evaluate.py +268 -0
  128. ciaren-0.1.0/app/engine/transformations/ml/feature_engineering.py +330 -0
  129. ciaren-0.1.0/app/engine/transformations/ml/importance.py +135 -0
  130. ciaren-0.1.0/app/engine/transformations/ml/predict.py +150 -0
  131. ciaren-0.1.0/app/engine/transformations/ml/split.py +128 -0
  132. ciaren-0.1.0/app/engine/transformations/ml/train.py +513 -0
  133. ciaren-0.1.0/app/engine/transformations/nulls.py +219 -0
  134. ciaren-0.1.0/app/engine/transformations/numeric.py +232 -0
  135. ciaren-0.1.0/app/engine/transformations/quality.py +489 -0
  136. ciaren-0.1.0/app/engine/transformations/reshape.py +408 -0
  137. ciaren-0.1.0/app/engine/transformations/rows.py +308 -0
  138. ciaren-0.1.0/app/engine/transformations/script.py +113 -0
  139. ciaren-0.1.0/app/engine/transformations/text.py +253 -0
  140. ciaren-0.1.0/app/engine/transformations/window.py +342 -0
  141. ciaren-0.1.0/app/flow_schema/__init__.py +57 -0
  142. ciaren-0.1.0/app/flow_schema/document.py +186 -0
  143. ciaren-0.1.0/app/flow_schema/migrations.py +84 -0
  144. ciaren-0.1.0/app/flow_schema/validate.py +102 -0
  145. ciaren-0.1.0/app/main.py +52 -0
  146. ciaren-0.1.0/app/migrations/env.py +69 -0
  147. ciaren-0.1.0/app/migrations/script.py.mako +26 -0
  148. ciaren-0.1.0/app/migrations/versions/013616b14a34_baseline_schema.py +173 -0
  149. ciaren-0.1.0/app/migrations/versions/a1f2c3d4e5b6_dataset_version_parse_options.py +30 -0
  150. ciaren-0.1.0/app/migrations/versions/a7b8c9d0e1f2_disabled_by_project_id.py +58 -0
  151. ciaren-0.1.0/app/migrations/versions/b8c9d0e1f2a3_webhook_idempotency_key.py +42 -0
  152. ciaren-0.1.0/app/migrations/versions/c8d2e4f6a1b7_app_settings.py +36 -0
  153. ciaren-0.1.0/app/migrations/versions/d4e5f6a7b8c9_dataset_name_unique_per_project.py +91 -0
  154. ciaren-0.1.0/app/migrations/versions/e5f6a7b8c9d0_flow_disabled_reason.py +65 -0
  155. ciaren-0.1.0/app/migrations/versions/f6a7b8c9d0e1_connection_test_result.py +34 -0
  156. ciaren-0.1.0/app/ml/__init__.py +7 -0
  157. ciaren-0.1.0/app/ml/availability.py +117 -0
  158. ciaren-0.1.0/app/ml/loader.py +72 -0
  159. ciaren-0.1.0/app/ml/models.py +333 -0
  160. ciaren-0.1.0/app/ml/registry_deps.py +67 -0
  161. ciaren-0.1.0/app/ml/security.py +124 -0
  162. ciaren-0.1.0/app/ml/tracking.py +127 -0
  163. ciaren-0.1.0/app/plugin_api/LICENSE +202 -0
  164. ciaren-0.1.0/app/plugin_api/README.md +27 -0
  165. ciaren-0.1.0/app/plugin_api/__init__.py +140 -0
  166. ciaren-0.1.0/app/plugin_api/connector_runtime.py +79 -0
  167. ciaren-0.1.0/app/plugin_api/events.py +117 -0
  168. ciaren-0.1.0/app/plugin_api/manifest.py +156 -0
  169. ciaren-0.1.0/app/plugin_api/model_ref.py +142 -0
  170. ciaren-0.1.0/app/plugin_api/node_runtime.py +153 -0
  171. ciaren-0.1.0/app/plugin_api/providers.py +157 -0
  172. ciaren-0.1.0/app/plugin_api/registry.py +274 -0
  173. ciaren-0.1.0/app/plugin_api/signing.py +89 -0
  174. ciaren-0.1.0/app/plugin_api/specs.py +368 -0
  175. ciaren-0.1.0/app/plugins/__init__.py +31 -0
  176. ciaren-0.1.0/app/plugins/adapter.py +133 -0
  177. ciaren-0.1.0/app/plugins/authoring.py +130 -0
  178. ciaren-0.1.0/app/plugins/builtin.py +289 -0
  179. ciaren-0.1.0/app/plugins/connectors.py +205 -0
  180. ciaren-0.1.0/app/plugins/install.py +252 -0
  181. ciaren-0.1.0/app/plugins/license_scan.py +74 -0
  182. ciaren-0.1.0/app/plugins/licensing.py +208 -0
  183. ciaren-0.1.0/app/plugins/loader.py +399 -0
  184. ciaren-0.1.0/app/plugins/marketplace.py +236 -0
  185. ciaren-0.1.0/app/plugins/model_store.py +189 -0
  186. ciaren-0.1.0/app/plugins/package.py +369 -0
  187. ciaren-0.1.0/app/plugins/permission_audit.py +171 -0
  188. ciaren-0.1.0/app/plugins/runtime.py +221 -0
  189. ciaren-0.1.0/app/plugins/state.py +236 -0
  190. ciaren-0.1.0/app/scheduler/__init__.py +5 -0
  191. ciaren-0.1.0/app/scheduler/cron.py +45 -0
  192. ciaren-0.1.0/app/scheduler/runner.py +297 -0
  193. ciaren-0.1.0/app/schemas/__init__.py +1 -0
  194. ciaren-0.1.0/app/schemas/app_setting.py +38 -0
  195. ciaren-0.1.0/app/schemas/connection.py +212 -0
  196. ciaren-0.1.0/app/schemas/dataset.py +52 -0
  197. ciaren-0.1.0/app/schemas/flow.py +100 -0
  198. ciaren-0.1.0/app/schemas/parameter.py +20 -0
  199. ciaren-0.1.0/app/schemas/preview.py +36 -0
  200. ciaren-0.1.0/app/schemas/project.py +32 -0
  201. ciaren-0.1.0/app/schemas/run.py +127 -0
  202. ciaren-0.1.0/app/schemas/schedule.py +73 -0
  203. ciaren-0.1.0/app/services/__init__.py +1 -0
  204. ciaren-0.1.0/app/services/app_setting_service.py +88 -0
  205. ciaren-0.1.0/app/services/codegen_service.py +187 -0
  206. ciaren-0.1.0/app/services/connection_service.py +539 -0
  207. ciaren-0.1.0/app/services/dataset_resolver.py +133 -0
  208. ciaren-0.1.0/app/services/dataset_service.py +705 -0
  209. ciaren-0.1.0/app/services/execution_service.py +666 -0
  210. ciaren-0.1.0/app/services/flow_service.py +375 -0
  211. ciaren-0.1.0/app/services/ml_service.py +386 -0
  212. ciaren-0.1.0/app/services/preview_service.py +191 -0
  213. ciaren-0.1.0/app/services/project_service.py +203 -0
  214. ciaren-0.1.0/app/services/run_recovery.py +56 -0
  215. ciaren-0.1.0/app/services/schedule_service.py +192 -0
  216. ciaren-0.1.0/app/services/sql_resolver.py +172 -0
  217. ciaren-0.1.0/app/services/storage_resolver.py +175 -0
  218. ciaren-0.1.0/app/version.py +25 -0
  219. ciaren-0.1.0/conftest.py +87 -0
  220. ciaren-0.1.0/frontend/index.html +32 -0
  221. ciaren-0.1.0/frontend/package-lock.json +6953 -0
  222. ciaren-0.1.0/frontend/package.json +61 -0
  223. ciaren-0.1.0/frontend/postcss.config.js +6 -0
  224. ciaren-0.1.0/frontend/public/apple-touch-icon-180.png +0 -0
  225. ciaren-0.1.0/frontend/public/favicon.ico +0 -0
  226. ciaren-0.1.0/frontend/public/favicon.svg +7 -0
  227. ciaren-0.1.0/frontend/src/App.tsx +77 -0
  228. ciaren-0.1.0/frontend/src/assets/symbol-white.svg +6 -0
  229. ciaren-0.1.0/frontend/src/components/ErrorBoundary.tsx +73 -0
  230. ciaren-0.1.0/frontend/src/components/data/ColumnProfileList.tsx +106 -0
  231. ciaren-0.1.0/frontend/src/components/filters/FilterBar.tsx +111 -0
  232. ciaren-0.1.0/frontend/src/components/filters/SearchableSelect.tsx +142 -0
  233. ciaren-0.1.0/frontend/src/components/filters/ViewToggle.tsx +43 -0
  234. ciaren-0.1.0/frontend/src/components/filters/__tests__/FilterBar.test.tsx +69 -0
  235. ciaren-0.1.0/frontend/src/components/flow/ChartPreview.tsx +566 -0
  236. ciaren-0.1.0/frontend/src/components/flow/DataTable.tsx +54 -0
  237. ciaren-0.1.0/frontend/src/components/flow/EmptyCanvasHint.tsx +20 -0
  238. ciaren-0.1.0/frontend/src/components/flow/FlowCanvas.tsx +452 -0
  239. ciaren-0.1.0/frontend/src/components/flow/FlowEdge.tsx +105 -0
  240. ciaren-0.1.0/frontend/src/components/flow/FlowNode.tsx +263 -0
  241. ciaren-0.1.0/frontend/src/components/flow/KeyboardShortcutsHelp.tsx +116 -0
  242. ciaren-0.1.0/frontend/src/components/flow/MlCrossValidateConfig.tsx +153 -0
  243. ciaren-0.1.0/frontend/src/components/flow/MlTrainConfig.tsx +399 -0
  244. ciaren-0.1.0/frontend/src/components/flow/NodeConfigForm.tsx +396 -0
  245. ciaren-0.1.0/frontend/src/components/flow/NodeContextMenu.tsx +55 -0
  246. ciaren-0.1.0/frontend/src/components/flow/NodeGuide.tsx +57 -0
  247. ciaren-0.1.0/frontend/src/components/flow/NodePalette.tsx +372 -0
  248. ciaren-0.1.0/frontend/src/components/flow/NodeSidebar.tsx +256 -0
  249. ciaren-0.1.0/frontend/src/components/flow/PreviewPanel.tsx +483 -0
  250. ciaren-0.1.0/frontend/src/components/flow/SchemaConfigFields.tsx +165 -0
  251. ciaren-0.1.0/frontend/src/components/flow/ValidationSummary.tsx +61 -0
  252. ciaren-0.1.0/frontend/src/components/flow/__tests__/EmptyCanvasHint.test.tsx +19 -0
  253. ciaren-0.1.0/frontend/src/components/flow/__tests__/FlowEdge.test.tsx +186 -0
  254. ciaren-0.1.0/frontend/src/components/flow/__tests__/FlowNode.test.tsx +148 -0
  255. ciaren-0.1.0/frontend/src/components/flow/__tests__/KeyboardShortcutsHelp.test.tsx +126 -0
  256. ciaren-0.1.0/frontend/src/components/flow/__tests__/MlConfigForm.test.tsx +237 -0
  257. ciaren-0.1.0/frontend/src/components/flow/__tests__/NodeConfigForm.io.test.tsx +141 -0
  258. ciaren-0.1.0/frontend/src/components/flow/__tests__/NodeConfigForm.test.tsx +683 -0
  259. ciaren-0.1.0/frontend/src/components/flow/__tests__/NodeContextMenu.test.tsx +68 -0
  260. ciaren-0.1.0/frontend/src/components/flow/__tests__/NodeSidebar.staleColumns.test.tsx +146 -0
  261. ciaren-0.1.0/frontend/src/components/flow/__tests__/NodeSidebar.test.tsx +139 -0
  262. ciaren-0.1.0/frontend/src/components/flow/__tests__/SchemaConfigFields.test.tsx +100 -0
  263. ciaren-0.1.0/frontend/src/components/flow/__tests__/nodeTypes.test.ts +17 -0
  264. ciaren-0.1.0/frontend/src/components/flow/__tests__/undoableToast.test.ts +71 -0
  265. ciaren-0.1.0/frontend/src/components/flow/chartChrome.tsx +88 -0
  266. ciaren-0.1.0/frontend/src/components/flow/config/charts.tsx +250 -0
  267. ciaren-0.1.0/frontend/src/components/flow/config/cleaning.tsx +465 -0
  268. ciaren-0.1.0/frontend/src/components/flow/config/io.tsx +319 -0
  269. ciaren-0.1.0/frontend/src/components/flow/config/ml.tsx +291 -0
  270. ciaren-0.1.0/frontend/src/components/flow/config/quality.tsx +327 -0
  271. ciaren-0.1.0/frontend/src/components/flow/config/reshape.tsx +845 -0
  272. ciaren-0.1.0/frontend/src/components/flow/config/shared.ts +19 -0
  273. ciaren-0.1.0/frontend/src/components/flow/configFields.tsx +531 -0
  274. ciaren-0.1.0/frontend/src/components/flow/edgeTypes.ts +11 -0
  275. ciaren-0.1.0/frontend/src/components/flow/mlModelOptions.ts +14 -0
  276. ciaren-0.1.0/frontend/src/components/flow/nodeTypes.ts +20 -0
  277. ciaren-0.1.0/frontend/src/components/flow/undoableToast.ts +26 -0
  278. ciaren-0.1.0/frontend/src/components/layout/AppFooter.tsx +52 -0
  279. ciaren-0.1.0/frontend/src/components/layout/AppHeader.tsx +128 -0
  280. ciaren-0.1.0/frontend/src/components/parameters/ParameterValueFields.tsx +64 -0
  281. ciaren-0.1.0/frontend/src/components/run/RunChart.tsx +690 -0
  282. ciaren-0.1.0/frontend/src/components/run/RunDag.tsx +102 -0
  283. ciaren-0.1.0/frontend/src/components/run/RunDagNode.tsx +116 -0
  284. ciaren-0.1.0/frontend/src/components/run/__tests__/RunChart.test.tsx +125 -0
  285. ciaren-0.1.0/frontend/src/components/schedules/CronBuilder.tsx +192 -0
  286. ciaren-0.1.0/frontend/src/components/ui/CollapsibleSection.tsx +56 -0
  287. ciaren-0.1.0/frontend/src/components/ui/ConfirmDialog.tsx +64 -0
  288. ciaren-0.1.0/frontend/src/components/ui/PageState.tsx +81 -0
  289. ciaren-0.1.0/frontend/src/components/ui/SortableHeader.tsx +78 -0
  290. ciaren-0.1.0/frontend/src/components/ui/StatusBadge.tsx +64 -0
  291. ciaren-0.1.0/frontend/src/components/ui/Toaster.tsx +83 -0
  292. ciaren-0.1.0/frontend/src/components/ui/__tests__/CollapsibleSection.test.tsx +37 -0
  293. ciaren-0.1.0/frontend/src/components/ui/__tests__/SortableHeader.test.tsx +60 -0
  294. ciaren-0.1.0/frontend/src/components/ui/__tests__/Toaster.test.tsx +82 -0
  295. ciaren-0.1.0/frontend/src/components/ui/button.tsx +55 -0
  296. ciaren-0.1.0/frontend/src/components/ui/card.tsx +82 -0
  297. ciaren-0.1.0/frontend/src/components/ui/dialog.tsx +99 -0
  298. ciaren-0.1.0/frontend/src/components/ui/input.tsx +23 -0
  299. ciaren-0.1.0/frontend/src/components/ui/label.tsx +20 -0
  300. ciaren-0.1.0/frontend/src/components/ui/select.tsx +22 -0
  301. ciaren-0.1.0/frontend/src/components/ui/tabs.tsx +52 -0
  302. ciaren-0.1.0/frontend/src/components/ui/textarea.tsx +20 -0
  303. ciaren-0.1.0/frontend/src/components/ui/tooltip.tsx +46 -0
  304. ciaren-0.1.0/frontend/src/features/connections/ConnectionsPage.tsx +236 -0
  305. ciaren-0.1.0/frontend/src/features/connections/__tests__/ConnectionsPage.test.tsx +327 -0
  306. ciaren-0.1.0/frontend/src/features/connections/__tests__/hooks.test.ts +46 -0
  307. ciaren-0.1.0/frontend/src/features/connections/api.ts +45 -0
  308. ciaren-0.1.0/frontend/src/features/connections/components/ApiFields.tsx +241 -0
  309. ciaren-0.1.0/frontend/src/features/connections/components/ConnectionDialog.tsx +393 -0
  310. ciaren-0.1.0/frontend/src/features/connections/components/ConnectionProviderPicker.tsx +103 -0
  311. ciaren-0.1.0/frontend/src/features/connections/components/Field.tsx +20 -0
  312. ciaren-0.1.0/frontend/src/features/connections/components/PluginProviderFields.tsx +82 -0
  313. ciaren-0.1.0/frontend/src/features/connections/components/SecretRefField.tsx +195 -0
  314. ciaren-0.1.0/frontend/src/features/connections/components/SnowflakeFields.tsx +68 -0
  315. ciaren-0.1.0/frontend/src/features/connections/components/StorageFields.tsx +158 -0
  316. ciaren-0.1.0/frontend/src/features/connections/components/TestButton.tsx +99 -0
  317. ciaren-0.1.0/frontend/src/features/connections/components/__tests__/ApiFields.test.tsx +92 -0
  318. ciaren-0.1.0/frontend/src/features/connections/components/__tests__/ConnectionProviderPicker.test.tsx +75 -0
  319. ciaren-0.1.0/frontend/src/features/connections/components/__tests__/SecretRefField.test.tsx +159 -0
  320. ciaren-0.1.0/frontend/src/features/connections/components/__tests__/StorageFields.test.tsx +95 -0
  321. ciaren-0.1.0/frontend/src/features/connections/components/providerMeta.tsx +165 -0
  322. ciaren-0.1.0/frontend/src/features/connections/hooks.ts +127 -0
  323. ciaren-0.1.0/frontend/src/features/connections/types.ts +91 -0
  324. ciaren-0.1.0/frontend/src/features/datasets/DatasetDetailDialog.tsx +262 -0
  325. ciaren-0.1.0/frontend/src/features/datasets/DatasetsPage.tsx +10 -0
  326. ciaren-0.1.0/frontend/src/features/datasets/DatasetsPanel.tsx +293 -0
  327. ciaren-0.1.0/frontend/src/features/datasets/__tests__/DatasetActionDialog.test.tsx +76 -0
  328. ciaren-0.1.0/frontend/src/features/datasets/__tests__/DatasetsPanel.deleteDialog.test.tsx +68 -0
  329. ciaren-0.1.0/frontend/src/features/datasets/__tests__/DatasetsPanel.test.tsx +95 -0
  330. ciaren-0.1.0/frontend/src/features/datasets/__tests__/NewVersionDialog.test.tsx +75 -0
  331. ciaren-0.1.0/frontend/src/features/datasets/__tests__/datasetMeta.test.ts +20 -0
  332. ciaren-0.1.0/frontend/src/features/datasets/__tests__/hooks.test.ts +65 -0
  333. ciaren-0.1.0/frontend/src/features/datasets/api.ts +49 -0
  334. ciaren-0.1.0/frontend/src/features/datasets/components/DatasetActionDialog.tsx +89 -0
  335. ciaren-0.1.0/frontend/src/features/datasets/components/DatasetCard.tsx +119 -0
  336. ciaren-0.1.0/frontend/src/features/datasets/components/DatasetTable.tsx +105 -0
  337. ciaren-0.1.0/frontend/src/features/datasets/components/ImportOptionsRow.tsx +76 -0
  338. ciaren-0.1.0/frontend/src/features/datasets/components/NewVersionDialog.tsx +49 -0
  339. ciaren-0.1.0/frontend/src/features/datasets/components/UploadDropzone.tsx +82 -0
  340. ciaren-0.1.0/frontend/src/features/datasets/components/datasetMeta.ts +31 -0
  341. ciaren-0.1.0/frontend/src/features/datasets/hooks.ts +128 -0
  342. ciaren-0.1.0/frontend/src/features/datasets/types.ts +51 -0
  343. ciaren-0.1.0/frontend/src/features/flows/ExportCodeDialog.tsx +146 -0
  344. ciaren-0.1.0/frontend/src/features/flows/FlowEditDialog.tsx +85 -0
  345. ciaren-0.1.0/frontend/src/features/flows/FlowEditorPage.tsx +377 -0
  346. ciaren-0.1.0/frontend/src/features/flows/FlowListPage.tsx +485 -0
  347. ciaren-0.1.0/frontend/src/features/flows/MigrateFlowDialog.tsx +131 -0
  348. ciaren-0.1.0/frontend/src/features/flows/ParametersDialog.tsx +166 -0
  349. ciaren-0.1.0/frontend/src/features/flows/QuickRunDialog.tsx +133 -0
  350. ciaren-0.1.0/frontend/src/features/flows/RunParametersDialog.tsx +92 -0
  351. ciaren-0.1.0/frontend/src/features/flows/__tests__/CreateFlowDialog.test.tsx +174 -0
  352. ciaren-0.1.0/frontend/src/features/flows/__tests__/DisabledFlowBanner.test.tsx +18 -0
  353. ciaren-0.1.0/frontend/src/features/flows/__tests__/EditorToolbar.test.tsx +158 -0
  354. ciaren-0.1.0/frontend/src/features/flows/__tests__/ExportCodeDialog.test.tsx +114 -0
  355. ciaren-0.1.0/frontend/src/features/flows/__tests__/FlowListPage.test.tsx +159 -0
  356. ciaren-0.1.0/frontend/src/features/flows/__tests__/ImportFlowDialog.test.tsx +63 -0
  357. ciaren-0.1.0/frontend/src/features/flows/__tests__/MigrateFlowDialog.test.tsx +90 -0
  358. ciaren-0.1.0/frontend/src/features/flows/__tests__/ParametersDialog.test.tsx +70 -0
  359. ciaren-0.1.0/frontend/src/features/flows/__tests__/QuickRunDialog.test.tsx +90 -0
  360. ciaren-0.1.0/frontend/src/features/flows/__tests__/RunParametersDialog.test.tsx +72 -0
  361. ciaren-0.1.0/frontend/src/features/flows/api.ts +85 -0
  362. ciaren-0.1.0/frontend/src/features/flows/components/CreateFlowDialog.tsx +166 -0
  363. ciaren-0.1.0/frontend/src/features/flows/components/DisabledFlowBanner.tsx +17 -0
  364. ciaren-0.1.0/frontend/src/features/flows/components/EditorToolbar.tsx +237 -0
  365. ciaren-0.1.0/frontend/src/features/flows/components/FlowCard.tsx +107 -0
  366. ciaren-0.1.0/frontend/src/features/flows/components/FlowTable.tsx +150 -0
  367. ciaren-0.1.0/frontend/src/features/flows/components/GatedButton.tsx +39 -0
  368. ciaren-0.1.0/frontend/src/features/flows/components/ImportFlowDialog.tsx +76 -0
  369. ciaren-0.1.0/frontend/src/features/flows/editor/__tests__/backendNodeCatalog.snapshot.json +2152 -0
  370. ciaren-0.1.0/frontend/src/features/flows/editor/__tests__/connectionRules.test.ts +236 -0
  371. ciaren-0.1.0/frontend/src/features/flows/editor/__tests__/flowGraph.cloneSelection.test.ts +65 -0
  372. ciaren-0.1.0/frontend/src/features/flows/editor/__tests__/flowGraph.columnPropagation.gaps.test.ts +91 -0
  373. ciaren-0.1.0/frontend/src/features/flows/editor/__tests__/flowGraph.test.ts +729 -0
  374. ciaren-0.1.0/frontend/src/features/flows/editor/__tests__/flowValidation.test.ts +377 -0
  375. ciaren-0.1.0/frontend/src/features/flows/editor/__tests__/nodeCatalog.contract.test.ts +57 -0
  376. ciaren-0.1.0/frontend/src/features/flows/editor/__tests__/paletteCategories.test.ts +62 -0
  377. ciaren-0.1.0/frontend/src/features/flows/editor/connectionRules.ts +152 -0
  378. ciaren-0.1.0/frontend/src/features/flows/editor/createNode.ts +33 -0
  379. ciaren-0.1.0/frontend/src/features/flows/editor/flowGraph.ts +559 -0
  380. ciaren-0.1.0/frontend/src/features/flows/editor/flowValidation.ts +354 -0
  381. ciaren-0.1.0/frontend/src/features/flows/editor/nodeCatalog.ts +1083 -0
  382. ciaren-0.1.0/frontend/src/features/flows/editor/nodeDocs.ts +712 -0
  383. ciaren-0.1.0/frontend/src/features/flows/graphMapper.ts +55 -0
  384. ciaren-0.1.0/frontend/src/features/flows/hooks.ts +168 -0
  385. ciaren-0.1.0/frontend/src/features/flows/types.ts +139 -0
  386. ciaren-0.1.0/frontend/src/features/flows/useNodeCatalog.ts +32 -0
  387. ciaren-0.1.0/frontend/src/features/landing/LandingPage.tsx +163 -0
  388. ciaren-0.1.0/frontend/src/features/models/ModelsPage.tsx +78 -0
  389. ciaren-0.1.0/frontend/src/features/models/__tests__/ModelsPage.test.tsx +181 -0
  390. ciaren-0.1.0/frontend/src/features/models/__tests__/mlFormat.test.ts +61 -0
  391. ciaren-0.1.0/frontend/src/features/models/api.ts +36 -0
  392. ciaren-0.1.0/frontend/src/features/models/components/ExperimentsTab.tsx +244 -0
  393. ciaren-0.1.0/frontend/src/features/models/components/RegisteredModelsTab.tsx +289 -0
  394. ciaren-0.1.0/frontend/src/features/models/components/mlFormat.ts +32 -0
  395. ciaren-0.1.0/frontend/src/features/models/components/shared.tsx +81 -0
  396. ciaren-0.1.0/frontend/src/features/models/hooks.ts +56 -0
  397. ciaren-0.1.0/frontend/src/features/models/types.ts +86 -0
  398. ciaren-0.1.0/frontend/src/features/plugins/PluginsPage.tsx +99 -0
  399. ciaren-0.1.0/frontend/src/features/plugins/__tests__/PluginsPage.test.tsx +495 -0
  400. ciaren-0.1.0/frontend/src/features/plugins/api.ts +70 -0
  401. ciaren-0.1.0/frontend/src/features/plugins/components/InstallButton.tsx +157 -0
  402. ciaren-0.1.0/frontend/src/features/plugins/components/LicenseDialog.tsx +87 -0
  403. ciaren-0.1.0/frontend/src/features/plugins/components/MarketplaceSection.tsx +218 -0
  404. ciaren-0.1.0/frontend/src/features/plugins/components/PluginCard.tsx +110 -0
  405. ciaren-0.1.0/frontend/src/features/plugins/components/PluginDetailDialog.tsx +328 -0
  406. ciaren-0.1.0/frontend/src/features/plugins/components/chips.tsx +60 -0
  407. ciaren-0.1.0/frontend/src/features/plugins/components/statusMeta.tsx +137 -0
  408. ciaren-0.1.0/frontend/src/features/plugins/hooks.ts +152 -0
  409. ciaren-0.1.0/frontend/src/features/plugins/types.ts +122 -0
  410. ciaren-0.1.0/frontend/src/features/projects/ProjectDetailPage.tsx +207 -0
  411. ciaren-0.1.0/frontend/src/features/projects/ProjectFormDialog.tsx +114 -0
  412. ciaren-0.1.0/frontend/src/features/projects/ProjectsPage.tsx +388 -0
  413. ciaren-0.1.0/frontend/src/features/projects/__tests__/ProjectDetailPage.test.tsx +69 -0
  414. ciaren-0.1.0/frontend/src/features/projects/api.ts +12 -0
  415. ciaren-0.1.0/frontend/src/features/projects/hooks.ts +72 -0
  416. ciaren-0.1.0/frontend/src/features/projects/types.ts +26 -0
  417. ciaren-0.1.0/frontend/src/features/runs/MlMetricsPanel.tsx +266 -0
  418. ciaren-0.1.0/frontend/src/features/runs/RunDetailPage.tsx +375 -0
  419. ciaren-0.1.0/frontend/src/features/runs/RunsPage.tsx +532 -0
  420. ciaren-0.1.0/frontend/src/features/runs/__tests__/MlMetricsPanel.test.tsx +75 -0
  421. ciaren-0.1.0/frontend/src/features/runs/__tests__/RunsPage.test.tsx +228 -0
  422. ciaren-0.1.0/frontend/src/features/runs/api.ts +12 -0
  423. ciaren-0.1.0/frontend/src/features/runs/hooks.ts +59 -0
  424. ciaren-0.1.0/frontend/src/features/runs/types.ts +143 -0
  425. ciaren-0.1.0/frontend/src/features/schedules/ScheduleDetailPage.tsx +265 -0
  426. ciaren-0.1.0/frontend/src/features/schedules/ScheduleFormDialog.tsx +409 -0
  427. ciaren-0.1.0/frontend/src/features/schedules/SchedulesPage.tsx +526 -0
  428. ciaren-0.1.0/frontend/src/features/schedules/__tests__/ScheduleFormDialog.test.tsx +206 -0
  429. ciaren-0.1.0/frontend/src/features/schedules/__tests__/SchedulesPage.test.tsx +164 -0
  430. ciaren-0.1.0/frontend/src/features/schedules/api.ts +26 -0
  431. ciaren-0.1.0/frontend/src/features/schedules/hooks.ts +87 -0
  432. ciaren-0.1.0/frontend/src/features/schedules/types.ts +72 -0
  433. ciaren-0.1.0/frontend/src/features/settings/SettingsPage.tsx +206 -0
  434. ciaren-0.1.0/frontend/src/features/settings/__tests__/SettingsPage.test.tsx +210 -0
  435. ciaren-0.1.0/frontend/src/features/settings/api.ts +13 -0
  436. ciaren-0.1.0/frontend/src/features/settings/hooks.ts +53 -0
  437. ciaren-0.1.0/frontend/src/features/settings/types.ts +22 -0
  438. ciaren-0.1.0/frontend/src/features/transformations/api.ts +12 -0
  439. ciaren-0.1.0/frontend/src/features/transformations/hooks.ts +18 -0
  440. ciaren-0.1.0/frontend/src/features/transformations/types.ts +7 -0
  441. ciaren-0.1.0/frontend/src/index.css +196 -0
  442. ciaren-0.1.0/frontend/src/lib/__tests__/autoLayout.test.ts +207 -0
  443. ciaren-0.1.0/frontend/src/lib/__tests__/catalogMerge.test.ts +201 -0
  444. ciaren-0.1.0/frontend/src/lib/__tests__/chartData.test.ts +283 -0
  445. ciaren-0.1.0/frontend/src/lib/__tests__/cron.malformedStep.test.ts +17 -0
  446. ciaren-0.1.0/frontend/src/lib/__tests__/cron.test.ts +94 -0
  447. ciaren-0.1.0/frontend/src/lib/__tests__/errors.test.ts +51 -0
  448. ciaren-0.1.0/frontend/src/lib/__tests__/flowImport.test.ts +40 -0
  449. ciaren-0.1.0/frontend/src/lib/__tests__/flowTemplates.test.ts +49 -0
  450. ciaren-0.1.0/frontend/src/lib/__tests__/format.test.ts +36 -0
  451. ciaren-0.1.0/frontend/src/lib/__tests__/mlFoundation.test.ts +187 -0
  452. ciaren-0.1.0/frontend/src/lib/__tests__/mlMetrics.test.ts +47 -0
  453. ciaren-0.1.0/frontend/src/lib/__tests__/nodeContextMenuPosition.test.ts +26 -0
  454. ciaren-0.1.0/frontend/src/lib/__tests__/nodeSummary.test.ts +164 -0
  455. ciaren-0.1.0/frontend/src/lib/__tests__/parameters.test.ts +199 -0
  456. ciaren-0.1.0/frontend/src/lib/__tests__/validators.test.ts +890 -0
  457. ciaren-0.1.0/frontend/src/lib/api/__tests__/client.token.test.ts +49 -0
  458. ciaren-0.1.0/frontend/src/lib/api/client.ts +141 -0
  459. ciaren-0.1.0/frontend/src/lib/autoLayout.ts +317 -0
  460. ciaren-0.1.0/frontend/src/lib/catalogMerge.ts +75 -0
  461. ciaren-0.1.0/frontend/src/lib/chartData.ts +560 -0
  462. ciaren-0.1.0/frontend/src/lib/chartTheme.ts +98 -0
  463. ciaren-0.1.0/frontend/src/lib/cron.ts +202 -0
  464. ciaren-0.1.0/frontend/src/lib/errors.ts +35 -0
  465. ciaren-0.1.0/frontend/src/lib/flowImport.ts +31 -0
  466. ciaren-0.1.0/frontend/src/lib/flowTemplates.ts +78 -0
  467. ciaren-0.1.0/frontend/src/lib/format.ts +44 -0
  468. ciaren-0.1.0/frontend/src/lib/mlMetrics.ts +72 -0
  469. ciaren-0.1.0/frontend/src/lib/mlModels.ts +318 -0
  470. ciaren-0.1.0/frontend/src/lib/nodeContextMenuPosition.ts +21 -0
  471. ciaren-0.1.0/frontend/src/lib/nodeSummary.ts +426 -0
  472. ciaren-0.1.0/frontend/src/lib/nodeVisuals.ts +269 -0
  473. ciaren-0.1.0/frontend/src/lib/parameters.ts +209 -0
  474. ciaren-0.1.0/frontend/src/lib/projectColors.ts +28 -0
  475. ciaren-0.1.0/frontend/src/lib/queryClient.ts +80 -0
  476. ciaren-0.1.0/frontend/src/lib/types/shared.ts +90 -0
  477. ciaren-0.1.0/frontend/src/lib/useFormatDateTime.ts +8 -0
  478. ciaren-0.1.0/frontend/src/lib/useLayoutPreference.ts +24 -0
  479. ciaren-0.1.0/frontend/src/lib/utils.ts +6 -0
  480. ciaren-0.1.0/frontend/src/lib/validators.ts +859 -0
  481. ciaren-0.1.0/frontend/src/main.tsx +28 -0
  482. ciaren-0.1.0/frontend/src/stores/__tests__/flowEditorStore.test.ts +479 -0
  483. ciaren-0.1.0/frontend/src/stores/__tests__/toastStore.test.ts +52 -0
  484. ciaren-0.1.0/frontend/src/stores/flowEditorStore.ts +399 -0
  485. ciaren-0.1.0/frontend/src/stores/themeStore.ts +32 -0
  486. ciaren-0.1.0/frontend/src/stores/timezoneStore.ts +84 -0
  487. ciaren-0.1.0/frontend/src/stores/toastStore.ts +68 -0
  488. ciaren-0.1.0/frontend/src/test/setup.ts +1 -0
  489. ciaren-0.1.0/frontend/src/vite-env.d.ts +1 -0
  490. ciaren-0.1.0/frontend/tailwind.config.js +100 -0
  491. ciaren-0.1.0/frontend/tsconfig.app.json +26 -0
  492. ciaren-0.1.0/frontend/tsconfig.json +7 -0
  493. ciaren-0.1.0/frontend/tsconfig.node.json +18 -0
  494. ciaren-0.1.0/frontend/vite.config.ts +40 -0
  495. ciaren-0.1.0/hatch_build.py +89 -0
  496. ciaren-0.1.0/hatch_metadata.py +62 -0
  497. ciaren-0.1.0/pyproject.toml +239 -0
  498. ciaren-0.1.0/tests/__init__.py +0 -0
  499. ciaren-0.1.0/tests/_keyring_fake.py +62 -0
  500. ciaren-0.1.0/tests/api/__init__.py +0 -0
  501. ciaren-0.1.0/tests/api/test_api_auth.py +117 -0
  502. ciaren-0.1.0/tests/api/test_audit_edge_cases.py +196 -0
  503. ciaren-0.1.0/tests/api/test_catalog.py +98 -0
  504. ciaren-0.1.0/tests/api/test_connections.py +551 -0
  505. ciaren-0.1.0/tests/api/test_csrf_origin.py +110 -0
  506. ciaren-0.1.0/tests/api/test_dataset_active_run_guard.py +112 -0
  507. ciaren-0.1.0/tests/api/test_dataset_import_options.py +202 -0
  508. ciaren-0.1.0/tests/api/test_dataset_production_guard.py +86 -0
  509. ciaren-0.1.0/tests/api/test_dataset_resolver_guard.py +145 -0
  510. ciaren-0.1.0/tests/api/test_dataset_soft_delete.py +121 -0
  511. ciaren-0.1.0/tests/api/test_dataset_version_race.py +114 -0
  512. ciaren-0.1.0/tests/api/test_datasets.py +670 -0
  513. ciaren-0.1.0/tests/api/test_event_loop_responsiveness.py +64 -0
  514. ciaren-0.1.0/tests/api/test_export.py +300 -0
  515. ciaren-0.1.0/tests/api/test_export_parameters.py +124 -0
  516. ciaren-0.1.0/tests/api/test_failure_notifications.py +174 -0
  517. ciaren-0.1.0/tests/api/test_flow_duplicate.py +177 -0
  518. ciaren-0.1.0/tests/api/test_flow_import_export.py +348 -0
  519. ciaren-0.1.0/tests/api/test_flow_migrate_document.py +98 -0
  520. ciaren-0.1.0/tests/api/test_flows.py +323 -0
  521. ciaren-0.1.0/tests/api/test_ml_endpoints.py +264 -0
  522. ciaren-0.1.0/tests/api/test_ml_experiments.py +93 -0
  523. ciaren-0.1.0/tests/api/test_ml_gating.py +117 -0
  524. ciaren-0.1.0/tests/api/test_parameter_injection_risk.py +149 -0
  525. ciaren-0.1.0/tests/api/test_plugin_connectors.py +439 -0
  526. ciaren-0.1.0/tests/api/test_plugin_install_and_marketplace.py +715 -0
  527. ciaren-0.1.0/tests/api/test_plugin_management.py +117 -0
  528. ciaren-0.1.0/tests/api/test_plugin_run.py +93 -0
  529. ciaren-0.1.0/tests/api/test_plugins_endpoint.py +79 -0
  530. ciaren-0.1.0/tests/api/test_preview.py +261 -0
  531. ciaren-0.1.0/tests/api/test_project_flow_disable_cascade.py +260 -0
  532. ciaren-0.1.0/tests/api/test_projects.py +188 -0
  533. ciaren-0.1.0/tests/api/test_run_cancellation.py +359 -0
  534. ciaren-0.1.0/tests/api/test_run_parameters.py +110 -0
  535. ciaren-0.1.0/tests/api/test_run_pool_recycle.py +325 -0
  536. ciaren-0.1.0/tests/api/test_run_shutdown_finalization.py +124 -0
  537. ciaren-0.1.0/tests/api/test_run_snapshot_timeout.py +122 -0
  538. ciaren-0.1.0/tests/api/test_runs.py +439 -0
  539. ciaren-0.1.0/tests/api/test_schedules.py +223 -0
  540. ciaren-0.1.0/tests/api/test_settings.py +281 -0
  541. ciaren-0.1.0/tests/api/test_sql_nodes.py +137 -0
  542. ciaren-0.1.0/tests/api/test_sse_logs.py +256 -0
  543. ciaren-0.1.0/tests/api/test_webhooks.py +361 -0
  544. ciaren-0.1.0/tests/conftest.py +72 -0
  545. ciaren-0.1.0/tests/engine/__init__.py +0 -0
  546. ciaren-0.1.0/tests/engine/test_chart_nodes.py +544 -0
  547. ciaren-0.1.0/tests/engine/test_codegen_common.py +177 -0
  548. ciaren-0.1.0/tests/engine/test_codegen_equivalence.py +358 -0
  549. ciaren-0.1.0/tests/engine/test_codegen_fluent.py +415 -0
  550. ciaren-0.1.0/tests/engine/test_codegen_free_intermediates.py +198 -0
  551. ciaren-0.1.0/tests/engine/test_codegen_params.py +162 -0
  552. ciaren-0.1.0/tests/engine/test_codegen_placeholders.py +75 -0
  553. ciaren-0.1.0/tests/engine/test_codegen_readability.py +363 -0
  554. ciaren-0.1.0/tests/engine/test_codegen_var_reuse.py +232 -0
  555. ciaren-0.1.0/tests/engine/test_engine_backends.py +545 -0
  556. ciaren-0.1.0/tests/engine/test_engine_parity.py +172 -0
  557. ciaren-0.1.0/tests/engine/test_engines.py +172 -0
  558. ciaren-0.1.0/tests/engine/test_executor.py +218 -0
  559. ciaren-0.1.0/tests/engine/test_executor_registry_race.py +122 -0
  560. ciaren-0.1.0/tests/engine/test_file_output.py +70 -0
  561. ciaren-0.1.0/tests/engine/test_free_tier_nodes.py +532 -0
  562. ciaren-0.1.0/tests/engine/test_graph_validation.py +396 -0
  563. ciaren-0.1.0/tests/engine/test_ingest.py +178 -0
  564. ciaren-0.1.0/tests/engine/test_multi_output.py +226 -0
  565. ciaren-0.1.0/tests/engine/test_new_nodes.py +1031 -0
  566. ciaren-0.1.0/tests/engine/test_node_contract.py +225 -0
  567. ciaren-0.1.0/tests/engine/test_parameters.py +181 -0
  568. ciaren-0.1.0/tests/engine/test_polars_codegen.py +309 -0
  569. ciaren-0.1.0/tests/engine/test_polars_lazy_safety.py +156 -0
  570. ciaren-0.1.0/tests/engine/test_process_pool.py +111 -0
  571. ciaren-0.1.0/tests/engine/test_profile.py +78 -0
  572. ciaren-0.1.0/tests/engine/test_python_transform.py +331 -0
  573. ciaren-0.1.0/tests/engine/test_quality_nodes.py +790 -0
  574. ciaren-0.1.0/tests/engine/test_script_guard.py +156 -0
  575. ciaren-0.1.0/tests/engine/test_transformation_codegen.py +362 -0
  576. ciaren-0.1.0/tests/engine/test_transformations.py +213 -0
  577. ciaren-0.1.0/tests/engine/test_worker_plugin_sync.py +98 -0
  578. ciaren-0.1.0/tests/flow_schema/__init__.py +0 -0
  579. ciaren-0.1.0/tests/flow_schema/test_canonical_graph.py +184 -0
  580. ciaren-0.1.0/tests/flow_schema/test_cli_flow.py +98 -0
  581. ciaren-0.1.0/tests/flow_schema/test_document.py +126 -0
  582. ciaren-0.1.0/tests/flow_schema/test_migrations.py +79 -0
  583. ciaren-0.1.0/tests/integration/__init__.py +0 -0
  584. ciaren-0.1.0/tests/integration/test_azure_connector.py +136 -0
  585. ciaren-0.1.0/tests/integration/test_complex_flows.py +860 -0
  586. ciaren-0.1.0/tests/integration/test_gcs_connector.py +128 -0
  587. ciaren-0.1.0/tests/integration/test_mongo_connector.py +149 -0
  588. ciaren-0.1.0/tests/integration/test_s3_connector.py +149 -0
  589. ciaren-0.1.0/tests/integration/test_storage_flow.py +151 -0
  590. ciaren-0.1.0/tests/ml/__init__.py +0 -0
  591. ciaren-0.1.0/tests/ml/conftest.py +41 -0
  592. ciaren-0.1.0/tests/ml/test_audit_fixes.py +155 -0
  593. ciaren-0.1.0/tests/ml/test_availability.py +105 -0
  594. ciaren-0.1.0/tests/ml/test_codegen.py +315 -0
  595. ciaren-0.1.0/tests/ml/test_cross_validation.py +294 -0
  596. ciaren-0.1.0/tests/ml/test_evaluate.py +157 -0
  597. ciaren-0.1.0/tests/ml/test_feature_engineering.py +291 -0
  598. ciaren-0.1.0/tests/ml/test_importance.py +178 -0
  599. ciaren-0.1.0/tests/ml/test_integration.py +95 -0
  600. ciaren-0.1.0/tests/ml/test_model_catalog.py +87 -0
  601. ciaren-0.1.0/tests/ml/test_model_topology.py +341 -0
  602. ciaren-0.1.0/tests/ml/test_predict.py +120 -0
  603. ciaren-0.1.0/tests/ml/test_security.py +139 -0
  604. ciaren-0.1.0/tests/ml/test_tracking_lock.py +174 -0
  605. ciaren-0.1.0/tests/ml/test_train.py +305 -0
  606. ciaren-0.1.0/tests/ml/test_train_test_split.py +201 -0
  607. ciaren-0.1.0/tests/openapi_snapshot.json +2700 -0
  608. ciaren-0.1.0/tests/plugin_api/__init__.py +0 -0
  609. ciaren-0.1.0/tests/plugin_api/test_contract_v11.py +216 -0
  610. ciaren-0.1.0/tests/plugin_api/test_decoupling.py +51 -0
  611. ciaren-0.1.0/tests/plugin_api/test_events.py +109 -0
  612. ciaren-0.1.0/tests/plugin_api/test_manifest.py +163 -0
  613. ciaren-0.1.0/tests/plugin_api/test_model_ref.py +87 -0
  614. ciaren-0.1.0/tests/plugin_api/test_registry.py +182 -0
  615. ciaren-0.1.0/tests/plugin_api/test_signing.py +43 -0
  616. ciaren-0.1.0/tests/plugin_api/test_specs.py +67 -0
  617. ciaren-0.1.0/tests/plugins/__init__.py +0 -0
  618. ciaren-0.1.0/tests/plugins/test_adapter.py +148 -0
  619. ciaren-0.1.0/tests/plugins/test_authoring.py +105 -0
  620. ciaren-0.1.0/tests/plugins/test_builtin.py +150 -0
  621. ciaren-0.1.0/tests/plugins/test_events_wiring.py +103 -0
  622. ciaren-0.1.0/tests/plugins/test_example_signed_package.py +42 -0
  623. ciaren-0.1.0/tests/plugins/test_execution.py +107 -0
  624. ciaren-0.1.0/tests/plugins/test_install.py +398 -0
  625. ciaren-0.1.0/tests/plugins/test_license_scan.py +46 -0
  626. ciaren-0.1.0/tests/plugins/test_licensing.py +231 -0
  627. ciaren-0.1.0/tests/plugins/test_loader.py +312 -0
  628. ciaren-0.1.0/tests/plugins/test_loader_gating.py +241 -0
  629. ciaren-0.1.0/tests/plugins/test_marketplace.py +94 -0
  630. ciaren-0.1.0/tests/plugins/test_ml_provider.py +71 -0
  631. ciaren-0.1.0/tests/plugins/test_mlp_example_plugin.py +330 -0
  632. ciaren-0.1.0/tests/plugins/test_model_provider_e2e.py +409 -0
  633. ciaren-0.1.0/tests/plugins/test_model_store.py +184 -0
  634. ciaren-0.1.0/tests/plugins/test_package.py +238 -0
  635. ciaren-0.1.0/tests/plugins/test_permission_audit.py +147 -0
  636. ciaren-0.1.0/tests/plugins/test_runtime_concurrency.py +52 -0
  637. ciaren-0.1.0/tests/plugins/test_runtime_context.py +47 -0
  638. ciaren-0.1.0/tests/plugins/test_security_extensions.py +243 -0
  639. ciaren-0.1.0/tests/plugins/test_state.py +170 -0
  640. ciaren-0.1.0/tests/route_snapshot.txt +92 -0
  641. ciaren-0.1.0/tests/scheduler/test_cron.py +44 -0
  642. ciaren-0.1.0/tests/scheduler/test_run_recovery.py +100 -0
  643. ciaren-0.1.0/tests/scheduler/test_runner.py +409 -0
  644. ciaren-0.1.0/tests/test_app_composition.py +118 -0
  645. ciaren-0.1.0/tests/test_architecture_boundaries.py +118 -0
  646. ciaren-0.1.0/tests/test_cli.py +464 -0
  647. ciaren-0.1.0/tests/test_cli_ml.py +186 -0
  648. ciaren-0.1.0/tests/test_cli_plugin.py +210 -0
  649. ciaren-0.1.0/tests/test_connectors.py +287 -0
  650. ciaren-0.1.0/tests/test_connectors_rest_api.py +449 -0
  651. ciaren-0.1.0/tests/test_core_infra.py +152 -0
  652. ciaren-0.1.0/tests/test_demo_flow_documents.py +263 -0
  653. ciaren-0.1.0/tests/test_demo_seed.py +308 -0
  654. ciaren-0.1.0/tests/test_input_node_scan.py +125 -0
  655. ciaren-0.1.0/tests/test_node_catalog_contract.py +80 -0
  656. ciaren-0.1.0/tests/test_openapi_snapshot.py +302 -0
  657. ciaren-0.1.0/tests/test_route_snapshot.py +60 -0
  658. ciaren-0.1.0/tests/test_runtime_settings.py +130 -0
  659. ciaren-0.1.0/tests/test_secret_refs.py +228 -0
  660. ciaren-0.1.0/tests/test_serve_app.py +156 -0
  661. ciaren-0.1.0/tests/test_ssrf.py +102 -0
  662. ciaren-0.1.0/tests/test_storage_formats.py +62 -0
  663. ciaren-0.1.0/uv.lock +3906 -0
@@ -0,0 +1,15 @@
1
+ # All env vars are prefixed with CIAREN_
2
+ # Copy this file to .env and fill in real values.
3
+
4
+ CIAREN_ENVIRONMENT=development
5
+ CIAREN_DEBUG=true
6
+
7
+ # SQLite (default, no setup required)
8
+ CIAREN_DATABASE_URL=sqlite+aiosqlite:///./ciaren.db
9
+
10
+ # PostgreSQL example
11
+ # CIAREN_DATABASE_URL=postgresql+asyncpg://user:password@localhost:5432/ciaren
12
+
13
+ CIAREN_DATA_DIR=.data
14
+ CIAREN_CORS_ORIGINS=["http://localhost:5173"]
15
+ CIAREN_MAX_UPLOAD_SIZE_MB=100
@@ -0,0 +1,266 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[codz]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ # …but keep the committed example signed plugin artifact (reproducible demo).
15
+ !examples/plugins/dist/
16
+ !examples/plugins/dist/*.ciarenplugin
17
+ downloads/
18
+ eggs/
19
+ .eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ wheels/
26
+ share/python-wheels/
27
+ *.egg-info/
28
+ .installed.cfg
29
+ *.egg
30
+ MANIFEST
31
+
32
+ # PyInstaller
33
+ # Usually these files are written by a python script from a template
34
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
35
+ *.manifest
36
+ *.spec
37
+
38
+ # Installer logs
39
+ pip-log.txt
40
+ pip-delete-this-directory.txt
41
+
42
+ # Unit test / coverage reports
43
+ htmlcov/
44
+ .tox/
45
+ .nox/
46
+ .coverage
47
+ .coverage.*
48
+ .cache
49
+ nosetests.xml
50
+ coverage.xml
51
+ *.cover
52
+ *.py.cover
53
+ .hypothesis/
54
+ .pytest_cache/
55
+ cover/
56
+
57
+ # Translations
58
+ *.mo
59
+ *.pot
60
+
61
+ # Django stuff:
62
+ *.log
63
+ local_settings.py
64
+ db.sqlite3
65
+ db.sqlite3-journal
66
+
67
+ # Flask stuff:
68
+ instance/
69
+ .webassets-cache
70
+
71
+ # Scrapy stuff:
72
+ .scrapy
73
+
74
+ # Sphinx documentation
75
+ docs/_build/
76
+
77
+ # Generated from the root CHANGELOG.md by docs/scripts/sync-changelog.js
78
+ # (npm run predev / prebuild) — root file is the source of truth.
79
+ docs/guide/changelog.md
80
+
81
+ # PyBuilder
82
+ .pybuilder/
83
+ target/
84
+
85
+ # Jupyter Notebook
86
+ .ipynb_checkpoints
87
+
88
+ # IPython
89
+ profile_default/
90
+ ipython_config.py
91
+
92
+ # pyenv
93
+ # For a library or package, you might want to ignore these files since the code is
94
+ # intended to run in multiple environments; otherwise, check them in:
95
+ # .python-version
96
+
97
+ # pipenv
98
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
99
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
100
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
101
+ # install all needed dependencies.
102
+ # Pipfile.lock
103
+
104
+ # UV
105
+ # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
106
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
107
+ # commonly ignored for libraries.
108
+ # uv.lock
109
+
110
+ # poetry
111
+ # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
112
+ # This is especially recommended for binary packages to ensure reproducibility, and is more
113
+ # commonly ignored for libraries.
114
+ # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
115
+ # poetry.lock
116
+ # poetry.toml
117
+
118
+ # pdm
119
+ # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
120
+ # pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
121
+ # https://pdm-project.org/en/latest/usage/project/#working-with-version-control
122
+ # pdm.lock
123
+ # pdm.toml
124
+ .pdm-python
125
+ .pdm-build/
126
+
127
+ # pixi
128
+ # Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
129
+ # pixi.lock
130
+ # Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
131
+ # in the .venv directory. It is recommended not to include this directory in version control.
132
+ .pixi
133
+
134
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
135
+ __pypackages__/
136
+
137
+ # Celery stuff
138
+ celerybeat-schedule
139
+ celerybeat.pid
140
+
141
+ # Redis
142
+ *.rdb
143
+ *.aof
144
+ *.pid
145
+
146
+ # RabbitMQ
147
+ mnesia/
148
+ rabbitmq/
149
+ rabbitmq-data/
150
+
151
+ # ActiveMQ
152
+ activemq-data/
153
+
154
+ # SageMath parsed files
155
+ *.sage.py
156
+
157
+ # Environments
158
+ .env
159
+ .envrc
160
+ .venv
161
+ env/
162
+ venv/
163
+ ENV/
164
+ env.bak/
165
+ venv.bak/
166
+
167
+ # Spyder project settings
168
+ .spyderproject
169
+ .spyproject
170
+
171
+ # Rope project settings
172
+ .ropeproject
173
+
174
+ # mkdocs documentation
175
+ /site
176
+
177
+ # mypy
178
+ .mypy_cache/
179
+ .dmypy.json
180
+ dmypy.json
181
+
182
+ # Pyre type checker
183
+ .pyre/
184
+
185
+ # pytype static type analyzer
186
+ .pytype/
187
+
188
+ # Cython debug symbols
189
+ cython_debug/
190
+
191
+ # PyCharm
192
+ # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
193
+ # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
194
+ # and can be added to the global gitignore or merged into this file. For a more nuclear
195
+ # option (not recommended) you can uncomment the following to ignore the entire idea folder.
196
+ # .idea/
197
+
198
+ # Abstra
199
+ # Abstra is an AI-powered process automation framework.
200
+ # Ignore directories containing user credentials, local state, and settings.
201
+ # Learn more at https://abstra.io/docs
202
+ .abstra/
203
+
204
+ # Visual Studio Code
205
+ # Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
206
+ # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
207
+ # and can be added to the global gitignore or merged into this file. However, if you prefer,
208
+ # you could uncomment the following to ignore the entire vscode folder
209
+ # .vscode/
210
+ # Temporary file for partial code execution
211
+ tempCodeRunnerFile.py
212
+
213
+ # Ruff stuff:
214
+ .ruff_cache/
215
+
216
+ # PyPI configuration file
217
+ .pypirc
218
+
219
+ # Marimo
220
+ marimo/_static/
221
+ marimo/_lsp/
222
+ __marimo__/
223
+
224
+ # Streamlit
225
+ .streamlit/secrets.toml
226
+
227
+ .idea/
228
+ .CLAUDE.md
229
+ .architecture.md
230
+
231
+ # Local AI assistant/tooling state (personal workspace only)
232
+ .claude/
233
+ .codex/
234
+ .codex_tmp/
235
+ .agents/
236
+ backend/.claude/
237
+ local.claude.md
238
+
239
+ # Local-only maintainer notes/planning docs (not for VCS)
240
+ internal/
241
+ BRAND_GUIDELINES.md
242
+
243
+ # Local dev databases / data dirs (SQLite default; not for VCS)
244
+ *.db
245
+ *.db-journal
246
+ *.sqlite
247
+ *.sqlite3
248
+ *.sqlite-journal
249
+ .data/
250
+ backend/*.db
251
+ backend/.dev_data/
252
+ backend/.data/
253
+
254
+ # MLflow local store + model artifacts (created by `ciaren init` / training)
255
+ mlruns/
256
+ mlartifacts/
257
+ backend/mlruns/
258
+ backend/mlartifacts/
259
+
260
+ # Web UI bundled into the wheel at build time (generated from frontend/dist)
261
+ backend/app/web/
262
+
263
+ # Node (frontend/ and docs/ have their own ignores; this covers any root-level
264
+ # node_modules created by running npm/vitest from the repo root)
265
+ node_modules/
266
+ .vite/
ciaren-0.1.0/PKG-INFO ADDED
@@ -0,0 +1,396 @@
1
+ Metadata-Version: 2.4
2
+ Name: ciaren
3
+ Version: 0.1.0
4
+ Summary: Local-first visual builder for data and ML workflows that exports clean pandas/polars Python
5
+ Project-URL: Homepage, https://ciaren.com
6
+ Project-URL: Repository, https://github.com/ciaren-labs/Ciaren
7
+ Project-URL: Documentation, https://ciaren.com/docs
8
+ Project-URL: Issues, https://github.com/ciaren-labs/Ciaren/issues
9
+ Project-URL: Author, https://www.linkedin.com/in/rodrigo-arenas-gomez/
10
+ Author-email: Rodrigo Arenas <31422766+rodrigo-arenas@users.noreply.github.com>
11
+ License: AGPL-3.0-only
12
+ Keywords: code-generation,data-engineering,data-pipeline,etl,local-first,machine-learning,pandas,polars,visual-programming,workflow
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: GNU Affero General Public License v3
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.12
19
+ Classifier: Programming Language :: Python :: 3.13
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
22
+ Requires-Python: >=3.12
23
+ Requires-Dist: aiofiles>=24.0
24
+ Requires-Dist: aiosqlite>=0.20
25
+ Requires-Dist: alembic>=1.14
26
+ Requires-Dist: croniter>=3.0
27
+ Requires-Dist: fastapi>=0.138.0
28
+ Requires-Dist: joblib>=1.3
29
+ Requires-Dist: mlflow>=3.0
30
+ Requires-Dist: openpyxl>=3.1
31
+ Requires-Dist: packaging>=23
32
+ Requires-Dist: pandas>=2.2
33
+ Requires-Dist: polars>=1.21
34
+ Requires-Dist: pyarrow>=17
35
+ Requires-Dist: pydantic-settings>=2.0
36
+ Requires-Dist: pydantic>=2.0
37
+ Requires-Dist: python-dotenv>=1.0
38
+ Requires-Dist: python-multipart>=0.0.9
39
+ Requires-Dist: scikit-learn>=1.5
40
+ Requires-Dist: sqlalchemy[asyncio]>=2.0
41
+ Requires-Dist: uvicorn[standard]>=0.34
42
+ Requires-Dist: xlsxwriter>=3.1
43
+ Provides-Extra: all
44
+ Requires-Dist: asyncpg>=0.30; extra == 'all'
45
+ Requires-Dist: azure-storage-blob>=12.19; extra == 'all'
46
+ Requires-Dist: boto3>=1.34; extra == 'all'
47
+ Requires-Dist: duckdb>=0.10; extra == 'all'
48
+ Requires-Dist: google-cloud-storage>=2.16; extra == 'all'
49
+ Requires-Dist: psycopg[binary]>=3.1; extra == 'all'
50
+ Requires-Dist: pymongo>=4.6; extra == 'all'
51
+ Requires-Dist: pymysql>=1.1; extra == 'all'
52
+ Requires-Dist: pyodbc>=5.3.0; extra == 'all'
53
+ Requires-Dist: snowflake-sqlalchemy>=1.5.1; extra == 'all'
54
+ Provides-Extra: all-connectors
55
+ Requires-Dist: asyncpg>=0.30; extra == 'all-connectors'
56
+ Requires-Dist: azure-storage-blob>=12.19; extra == 'all-connectors'
57
+ Requires-Dist: boto3>=1.34; extra == 'all-connectors'
58
+ Requires-Dist: duckdb>=0.10; extra == 'all-connectors'
59
+ Requires-Dist: google-cloud-storage>=2.16; extra == 'all-connectors'
60
+ Requires-Dist: psycopg[binary]>=3.1; extra == 'all-connectors'
61
+ Requires-Dist: pymongo>=4.6; extra == 'all-connectors'
62
+ Requires-Dist: pymysql>=1.1; extra == 'all-connectors'
63
+ Requires-Dist: pyodbc>=5.3.0; extra == 'all-connectors'
64
+ Requires-Dist: snowflake-sqlalchemy>=1.5.1; extra == 'all-connectors'
65
+ Provides-Extra: azure
66
+ Requires-Dist: azure-storage-blob>=12.19; extra == 'azure'
67
+ Provides-Extra: duckdb
68
+ Requires-Dist: duckdb>=0.10; extra == 'duckdb'
69
+ Provides-Extra: gcs
70
+ Requires-Dist: google-cloud-storage>=2.16; extra == 'gcs'
71
+ Provides-Extra: keyring
72
+ Requires-Dist: keyring>=25; extra == 'keyring'
73
+ Provides-Extra: ml
74
+ Requires-Dist: lightgbm>=4.0; extra == 'ml'
75
+ Requires-Dist: xgboost>=3.3.0; extra == 'ml'
76
+ Provides-Extra: mongo
77
+ Requires-Dist: pymongo>=4.6; extra == 'mongo'
78
+ Provides-Extra: mssql
79
+ Requires-Dist: pyodbc>=5.3.0; extra == 'mssql'
80
+ Provides-Extra: mysql
81
+ Requires-Dist: pymysql>=1.1; extra == 'mysql'
82
+ Provides-Extra: postgres
83
+ Requires-Dist: asyncpg>=0.30; extra == 'postgres'
84
+ Requires-Dist: psycopg[binary]>=3.1; extra == 'postgres'
85
+ Provides-Extra: s3
86
+ Requires-Dist: boto3>=1.34; extra == 's3'
87
+ Provides-Extra: signing
88
+ Requires-Dist: cryptography>=42; extra == 'signing'
89
+ Provides-Extra: snowflake
90
+ Requires-Dist: snowflake-sqlalchemy>=1.5.1; extra == 'snowflake'
91
+ Description-Content-Type: text/markdown
92
+
93
+ <p align="center">
94
+ <img src="https://raw.githubusercontent.com/ciaren-labs/Ciaren/main/brand-assets/wordmark-light-800.png" alt="Ciaren" width="320">
95
+ </p>
96
+
97
+ <p align="center">
98
+ <strong>Local-first visual data and ML workflows that export clean Python.</strong>
99
+ </p>
100
+
101
+ <p align="center">
102
+ Build on a canvas. Preview every step. Run locally. Export readable pandas,
103
+ Polars, or lazy Polars code with no proprietary runtime.
104
+ </p>
105
+
106
+ <p align="center">
107
+ <a href="https://ciaren.com/docs/">Docs</a>
108
+ · <a href="https://ciaren.com/docs/guide/quick-start">Quick Start</a>
109
+ · <a href="https://ciaren.com/docs/plugins/overview">Plugins</a>
110
+ · <a href="https://github.com/ciaren-labs/Ciaren/discussions">Discussions</a>
111
+ · <a href="CONTRIBUTING.md">Contributing</a>
112
+ </p>
113
+
114
+ <p align="center">
115
+ <a href="https://pypi.org/project/ciaren/"><img alt="PyPI" src="https://img.shields.io/pypi/v/ciaren.svg"></a>
116
+ <a href="https://github.com/ciaren-labs/Ciaren/actions/workflows/backend-tests.yml"><img alt="Backend Tests" src="https://github.com/ciaren-labs/Ciaren/actions/workflows/backend-tests.yml/badge.svg"></a>
117
+ <a href="https://github.com/ciaren-labs/Ciaren/actions/workflows/frontend-tests.yml"><img alt="Frontend CI" src="https://github.com/ciaren-labs/Ciaren/actions/workflows/frontend-tests.yml/badge.svg"></a>
118
+ <a href="https://github.com/ciaren-labs/Ciaren/actions/workflows/docker.yml"><img alt="Docker" src="https://github.com/ciaren-labs/Ciaren/actions/workflows/docker.yml/badge.svg"></a>
119
+ <a href="LICENSE"><img alt="License: AGPL-3.0" src="https://img.shields.io/badge/License-AGPL--3.0-blue.svg"></a>
120
+ <a href="backend/app/plugin_api/"><img alt="Plugin API: Apache-2.0" src="https://img.shields.io/badge/Plugin%20API-Apache--2.0-green.svg"></a>
121
+ <img alt="Python 3.12+" src="https://img.shields.io/badge/Python-3.12%2B-blue">
122
+ <img alt="Status: Alpha" src="https://img.shields.io/badge/Status-Alpha-orange">
123
+ <a href="https://github.com/ciaren-labs/Ciaren/stargazers"><img alt="GitHub stars" src="https://img.shields.io/github/stars/ciaren-labs/Ciaren?style=social"></a>
124
+ </p>
125
+
126
+ ![Ciaren editor: a File Input (CSV) and a SQL Input joined, cleaned, and fed through Scale Features, Train/Test Split, a Random Forest classifier and Predict — previewed on real data and exported to clean Polars code](https://raw.githubusercontent.com/ciaren-labs/Ciaren/main/docs/public/screenshots/hero-ml-pipeline.gif)
127
+
128
+ <p align="center">
129
+ If this looks like something you'd use, a ⭐ on GitHub genuinely helps an alpha project like this get discovered.
130
+ </p>
131
+
132
+ ## What Is Ciaren?
133
+
134
+ Ciaren is an open-core, plugin-first platform for building data engineering and
135
+ lightweight machine-learning workflows visually, then exporting them as ordinary
136
+ Python.
137
+
138
+ It is built for people who want the speed of a visual tool without giving up the
139
+ clarity, portability, and reviewability of code.
140
+
141
+ ```bash
142
+ python -m pip install ciaren
143
+ ciaren serve
144
+ ```
145
+
146
+ Open `http://localhost:8055`. The PyPI wheel bundles the React editor, so users
147
+ do **not** install a separate frontend package. One install starts the API,
148
+ scheduler, and web UI.
149
+
150
+ > **Alpha software.** Ciaren is under active development. APIs, workflow
151
+ > formats, generated code, plugin interfaces, and internal data models may
152
+ > change before `1.0.0`. Use it for learning, prototypes, and controlled
153
+ > internal workflows before relying on it for critical production jobs.
154
+
155
+ ## Why It Feels Different
156
+
157
+ | You get | Why it matters |
158
+ | --- | --- |
159
+ | **Visual workflow building** | Design pipelines faster than writing every dataframe step by hand. |
160
+ | **Live node previews** | Inspect data samples and schema changes before running the full flow. |
161
+ | **Clean Python export** | Generate standalone pandas, Polars, or lazy Polars scripts you can review and run outside Ciaren. |
162
+ | **Local-first execution** | SQLite works out of the box, and your data does not need to leave your machine. |
163
+ | **Data engineering + ML** | Ingest, clean, validate, engineer features, train, evaluate, predict, and export from one canvas. |
164
+ | **Plugin-first architecture** | Add custom nodes, connectors, engines, model providers, validators, and exporters outside core. |
165
+
166
+ Ciaren is not a hosted no-code black box. Every node maps to understandable
167
+ dataframe behavior, every run leaves inspectable results, and every flow can
168
+ become code.
169
+
170
+ ## Quickstart
171
+
172
+ ### Install From PyPI
173
+
174
+ ```bash
175
+ python -m pip install --upgrade pip
176
+ python -m pip install ciaren
177
+ ciaren serve
178
+ ```
179
+
180
+ Open `http://localhost:8055`, then open **Projects -> Demo**. The first start
181
+ seeds sample datasets and working example flows, so you can preview, run, and
182
+ export something real before uploading your own data.
183
+
184
+ For repeatable evaluation, pin the release version:
185
+
186
+ ```bash
187
+ python -m pip install "ciaren==0.1.0"
188
+ ```
189
+
190
+ ### Run With Docker
191
+
192
+ ```bash
193
+ git clone https://github.com/ciaren-labs/Ciaren.git
194
+ cd Ciaren
195
+ docker compose up --build
196
+ ```
197
+
198
+ Open `http://localhost:8055`.
199
+
200
+ ### Run From Source
201
+
202
+ Use this path when contributing to the backend, frontend, docs, or plugin SDK.
203
+
204
+ Requirements: Python 3.12+, Node.js 18+, and Git.
205
+
206
+ ```bash
207
+ git clone https://github.com/ciaren-labs/Ciaren.git
208
+ cd Ciaren/backend
209
+
210
+ python -m venv .venv
211
+ source .venv/bin/activate # Windows: .venv\Scripts\activate
212
+
213
+ pip install -e .
214
+ ciaren serve
215
+ ```
216
+
217
+ In a second terminal:
218
+
219
+ ```bash
220
+ cd Ciaren/frontend
221
+ npm install
222
+ npm run dev
223
+ ```
224
+
225
+ Open `http://localhost:5173` for the live development frontend. The backend API
226
+ and Swagger docs stay on `http://localhost:8055`.
227
+
228
+ ## What You Can Build
229
+
230
+ ![Ciaren editor with a canvas of connected nodes and a live data preview table](https://raw.githubusercontent.com/ciaren-labs/Ciaren/main/docs/public/screenshots/editor-data-preview.png)
231
+
232
+ - **Input and output:** CSV, TSV, Excel, Parquet, JSON/JSONL, text, SQL
233
+ databases, S3, GCS, and Azure Blob.
234
+ - **Cleaning:** drop/fill nulls, remove duplicates, rename/select/drop columns,
235
+ cast types, replace values.
236
+ - **Transformation:** filters, joins, group by, aggregate, calculated columns,
237
+ maps, pivots, windows, sorting, sampling.
238
+ - **Data quality:** assert not-null, unique, value ranges, row count,
239
+ expressions, and allowed values.
240
+ - **Machine learning:** split, train, cross-validate, predict, evaluate,
241
+ feature engineering, importance, and MLflow tracking.
242
+ - **Operations:** run history, scheduling, REST API, CLI, webhook trigger, and
243
+ Python SDK.
244
+
245
+ ## Exported Code Is the Escape Hatch
246
+
247
+ A simple read -> clean -> aggregate -> write flow can export to code like this:
248
+
249
+ ```python
250
+ import polars as pl
251
+
252
+ df_1 = pl.read_csv("sales.csv")
253
+ df_1 = df_1.drop_nulls(subset=["amount"])
254
+ df_1 = df_1.group_by(["region"]).agg([pl.col("amount").sum().alias("amount")])
255
+ df_1.write_csv("summary.csv")
256
+ ```
257
+
258
+ The same flow can also export pandas or lazy Polars variants where supported.
259
+ That makes Ciaren useful for prototyping, teaching, code review, and migration
260
+ from visual exploration into normal Python projects.
261
+
262
+ ## Built for Extension
263
+
264
+ Ciaren's open core stays focused on the shared workflow platform. Specialized
265
+ integrations should usually be plugins, not one-off patches to core.
266
+
267
+ | Extension point | Examples |
268
+ | --- | --- |
269
+ | **Nodes** | Custom transforms, validators, AI-assisted steps, domain-specific operations |
270
+ | **Connectors and storage** | Internal APIs, SaaS tools, warehouses, object stores, document databases |
271
+ | **Model providers** | Local models, scikit-learn estimators, organization-specific training logic |
272
+ | **Execution engines** | Alternative dataframe engines and future runtime targets |
273
+ | **Exporters** | Code targets, deployment bundles, validation reports |
274
+
275
+ Plugins can be packaged as `.ciarenplugin` files, signed, inspected, installed,
276
+ enabled, disabled, and distributed independently.
277
+
278
+ Start here:
279
+
280
+ - [Plugins Overview](https://ciaren.com/docs/plugins/overview)
281
+ - [Build Your First Plugin](https://ciaren.com/docs/plugins/first-plugin)
282
+ - [Plugin API Reference](https://ciaren.com/docs/plugins/api-reference)
283
+
284
+ ## Who It Is For
285
+
286
+ - **Data analysts:** clean, reshape, validate, and export datasets without
287
+ writing every step by hand.
288
+ - **Data engineers:** prototype repeatable local pipelines, inspect generated
289
+ code, then automate with CLI/API/SDK workflows.
290
+ - **Python learners:** see how visual dataframe operations become pandas and
291
+ Polars code.
292
+ - **ML practitioners:** try lightweight ML flows with local MLflow tracking.
293
+ - **Plugin authors:** ship custom nodes, connectors, engines, and model
294
+ providers without maintaining a fork.
295
+ - **Open-source contributors:** help polish the editor, execution engine,
296
+ transformations, docs, tests, and plugin SDK.
297
+
298
+ ## Documentation
299
+
300
+ - [Installation](https://ciaren.com/docs/guide/installation) - PyPI, Docker,
301
+ source installs, extras, and troubleshooting.
302
+ - [Quick Start](https://ciaren.com/docs/guide/quick-start) - build your first
303
+ flow in five minutes.
304
+ - [Demo Project & Tutorials](https://ciaren.com/docs/guide/demo-project) - walk
305
+ through the seeded example flows.
306
+ - [Examples](https://ciaren.com/docs/examples/sales-analysis) - end-to-end
307
+ workflow walkthroughs.
308
+ - [Machine Learning Quick Start](https://ciaren.com/docs/guide/ml-quickstart) -
309
+ train and evaluate a model on the canvas.
310
+ - [Plugin Guide](https://ciaren.com/docs/plugins/first-plugin) - build your
311
+ first plugin.
312
+ - [Roadmap](https://ciaren.com/docs/guide/roadmap)
313
+ - [Security](https://github.com/ciaren-labs/Ciaren/blob/main/SECURITY.md)
314
+ - [Contributing](https://github.com/ciaren-labs/Ciaren/blob/main/CONTRIBUTING.md)
315
+
316
+ ## Optional Extras
317
+
318
+ The base install includes the core app, pandas, Polars, scikit-learn models,
319
+ MLflow tracking, and the bundled web UI.
320
+
321
+ Install extras only when you need specific drivers or optional model families:
322
+
323
+ ```bash
324
+ python -m pip install "ciaren[postgres]"
325
+ python -m pip install "ciaren[s3]"
326
+ python -m pip install "ciaren[ml]" # XGBoost and LightGBM choices
327
+ python -m pip install "ciaren[keyring]" # recommended: store connection secrets in the OS keychain
328
+ python -m pip install "ciaren[signing]" # plugin signing support
329
+ ```
330
+
331
+ On a desktop install, `ciaren[keyring]` is the **recommended** way to hold
332
+ database and API secrets: the connection form (and the `ciaren secret set`
333
+ command) stores the value in your OS keychain — Windows Credential Manager,
334
+ macOS Keychain, or Secret Service on Linux — and the connection keeps only a
335
+ `keyring:NAME` reference. Ciaren never writes the secret to its database.
336
+ Without the extra, connections still work with environment-variable
337
+ (`env:`/`PG_PASSWORD`) or secret-file (`file:/run/secrets/...`) references.
338
+
339
+ The separate `ciaren-client` package is only for scripts that need to call a
340
+ running Ciaren server. It is not required to use the visual app.
341
+
342
+ ## Contributing
343
+
344
+ Ciaren is early, and useful contributions are welcome: reproducible bugs,
345
+ example flows, docs improvements, transformation nodes, plugin SDK improvements,
346
+ frontend workflow polish, tests, and focused core fixes.
347
+
348
+ The open core is intentionally lightweight. New niche databases, SaaS products,
349
+ internal APIs, proprietary storage systems, and organization-specific model
350
+ logic should normally be built as plugins. If the SDK blocks that work, open an
351
+ SDK-focused issue or discussion.
352
+
353
+ Start with [CONTRIBUTING.md](https://github.com/ciaren-labs/Ciaren/blob/main/CONTRIBUTING.md). Questions and ideas can go to
354
+ [GitHub Discussions](https://github.com/ciaren-labs/Ciaren/discussions), and
355
+ reproducible bugs or focused feature requests can go to
356
+ [GitHub Issues](https://github.com/ciaren-labs/Ciaren/issues).
357
+
358
+ ## Security
359
+
360
+ Ciaren is alpha software intended for local-first experimentation, prototyping,
361
+ and controlled self-hosted workflows. Review exported Python code, test flows
362
+ before using important data, and add appropriate operational controls before
363
+ using Ciaren in sensitive or critical environments.
364
+
365
+ Please report vulnerabilities using the process in [SECURITY.md](https://github.com/ciaren-labs/Ciaren/blob/main/SECURITY.md).
366
+
367
+ ## Licensing
368
+
369
+ - **Ciaren Core:** AGPL-3.0-only.
370
+ - **Public Plugin API / SDK:** Apache-2.0.
371
+ - **Plugins:** may use their own compatible license, depending on the plugin
372
+ author and distribution model.
373
+ - **Future cloud or hosted services:** not necessarily covered by this open
374
+ source repository license.
375
+
376
+ In plain language: using Ciaren — locally or self-hosted inside your
377
+ organization — does not obligate you to open-source anything, your flows and
378
+ exported Python are yours, and the Apache-2.0 SDK means plugin authors choose
379
+ their own license. And a standing commitment: **capabilities that ship in the
380
+ open core stay in the open core** — commercial offerings, if they ever exist,
381
+ add on top rather than carving features out.
382
+
383
+ See [LICENSE](https://github.com/ciaren-labs/Ciaren/blob/main/LICENSE), [NOTICE](https://github.com/ciaren-labs/Ciaren/blob/main/NOTICE), and [LICENSES/](https://github.com/ciaren-labs/Ciaren/blob/main/LICENSES/) for the
384
+ complete license texts and notices, and the
385
+ [licensing FAQ](https://ciaren.com/docs/faq) for common questions.
386
+
387
+ ## Project Status
388
+
389
+ - Current stage: **Alpha** (pre-1.0) — the API and data model may change
390
+ before `1.0.0`. Pin a version for production use.
391
+ - First public release: `0.1.0` — see the [CHANGELOG](CHANGELOG.md) for
392
+ what's included.
393
+ - Breaking changes are expected before `1.0.0`
394
+
395
+ Made for data practitioners who value local workflows, transparent execution,
396
+ and Python they can actually read.