pycharter 0.0.25__py3-none-any.whl → 0.0.26__py3-none-any.whl
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.
- pycharter/__init__.py +6 -0
- pycharter/api/README.md +1 -1
- pycharter/api/dependencies/auth.py +158 -0
- pycharter/api/main.py +30 -2
- pycharter/api/models/etl.py +66 -0
- pycharter/api/routes/v1/__init__.py +4 -0
- pycharter/api/routes/v1/auth.py +97 -0
- pycharter/api/routes/v1/contracts.py +10 -8
- pycharter/api/routes/v1/etl.py +131 -0
- pycharter/cli.py +1 -1
- pycharter/config.py +69 -0
- pycharter/contract_builder/builder.py +32 -37
- pycharter/data/seed/compliance_frameworks.yaml +22 -0
- pycharter/data/seed/contracts.yaml +130 -0
- pycharter/data/seed/data_feeds.yaml +22 -0
- pycharter/data/seed/domains.yaml +13 -0
- pycharter/data/seed/environments.yaml +19 -0
- pycharter/data/seed/owners.yaml +21 -0
- pycharter/data/seed/systems.yaml +13 -0
- pycharter/data/seed/tags.yaml +25 -0
- pycharter/data/templates/contract/README.md +31 -14
- pycharter/data/templates/contract/template_contract.yaml +37 -0
- pycharter/data/templates/etl/README.md +1 -1
- pycharter/data/templates/etl/extract_with_validation.yaml +86 -0
- pycharter/data/templates/etl/load_with_validation.yaml +111 -0
- pycharter/data/templates/etl/settings.yaml +55 -0
- pycharter/db/cli.py +126 -4
- pycharter/db/migrations/versions/20260122000000_change_artifact_unique_constraints_to_title_version.py +2 -2
- pycharter/etl_generator/INTERFACES.md +6 -7
- pycharter/etl_generator/__init__.py +47 -11
- pycharter/etl_generator/config_models.py +673 -0
- pycharter/etl_generator/config_validator.py +133 -157
- pycharter/etl_generator/context.py +3 -0
- pycharter/etl_generator/database.py +5 -1
- pycharter/etl_generator/extractors/__init__.py +4 -2
- pycharter/etl_generator/extractors/cloud_storage.py +9 -9
- pycharter/etl_generator/extractors/database.py +2 -2
- pycharter/etl_generator/extractors/factory.py +15 -33
- pycharter/etl_generator/extractors/file.py +2 -2
- pycharter/etl_generator/extractors/http.py +2 -2
- pycharter/etl_generator/extractors/mongodb.py +393 -0
- pycharter/etl_generator/extractors/streaming.py +2 -2
- pycharter/etl_generator/loaders/__init__.py +15 -9
- pycharter/etl_generator/loaders/{cloud_storage_loader.py → cloud_storage.py} +95 -2
- pycharter/etl_generator/loaders/factory.py +16 -29
- pycharter/etl_generator/loaders/file.py +135 -1
- pycharter/etl_generator/loaders/mongodb.py +416 -0
- pycharter/etl_generator/pipeline.py +283 -164
- pycharter/etl_generator/result.py +16 -0
- pycharter/etl_generator/schemas/__init__.py +71 -42
- pycharter/etl_generator/transformers/config.py +3 -2
- pycharter/etl_generator/transformers/simple_operations.py +57 -4
- pycharter/etl_generator/validation.py +551 -0
- pycharter/runtime_validator/__init__.py +7 -0
- pycharter/runtime_validator/utils.py +33 -0
- pycharter/runtime_validator/validator.py +13 -10
- pycharter/ui/package-lock.json +50 -41
- pycharter/ui/package.json +2 -1
- pycharter/ui/static/404/index.html +1 -1
- pycharter/ui/static/404.html +1 -1
- pycharter/ui/static/__next.__PAGE__.txt +2 -2
- pycharter/ui/static/__next._full.txt +7 -7
- pycharter/ui/static/__next._head.txt +1 -1
- pycharter/ui/static/__next._index.txt +6 -6
- pycharter/ui/static/__next._tree.txt +2 -2
- pycharter/ui/static/_next/static/chunks/0fc1f70b787b8845.js +1 -0
- pycharter/ui/static/_next/static/chunks/17bb8075d7b75663.css +1 -0
- pycharter/ui/static/_next/static/chunks/381932864dcbfdb8.js +1 -0
- pycharter/ui/static/_next/static/chunks/4c951b8e4507e2b3.js +1 -0
- pycharter/ui/static/_next/static/chunks/68b87a6f65abd3ed.js +1 -0
- pycharter/ui/static/_next/static/chunks/78572617b8fae189.js +1 -0
- pycharter/ui/static/_next/static/chunks/8b7be2803e3fe184.js +1 -0
- pycharter/ui/static/_next/static/chunks/a8e529fd1e67f121.js +1 -0
- pycharter/ui/static/_next/static/chunks/c35d998f80be3ff5.js +1 -0
- pycharter/ui/static/_next/static/chunks/e453aa5d01c32c17.js +1 -0
- pycharter/ui/static/_next/static/chunks/f2d240eb057f898a.js +970 -0
- pycharter/ui/static/_next/static/chunks/f7722448f6040846.js +1 -0
- pycharter/ui/static/_not-found/__next._full.txt +12 -12
- pycharter/ui/static/_not-found/__next._head.txt +3 -3
- pycharter/ui/static/_not-found/__next._index.txt +8 -8
- pycharter/ui/static/_not-found/__next._not-found.__PAGE__.txt +2 -2
- pycharter/ui/static/_not-found/__next._not-found.txt +3 -3
- pycharter/ui/static/_not-found/__next._tree.txt +2 -2
- pycharter/ui/static/_not-found/index.html +1 -1
- pycharter/ui/static/_not-found/index.txt +12 -12
- pycharter/ui/static/contracts/__next._full.txt +7 -7
- pycharter/ui/static/contracts/__next._head.txt +1 -1
- pycharter/ui/static/contracts/__next._index.txt +6 -6
- pycharter/ui/static/contracts/__next._tree.txt +2 -2
- pycharter/ui/static/contracts/__next.contracts.__PAGE__.txt +2 -2
- pycharter/ui/static/contracts/__next.contracts.txt +1 -1
- pycharter/ui/static/contracts/index.html +1 -1
- pycharter/ui/static/contracts/index.txt +7 -7
- pycharter/ui/static/documentation/__next._full.txt +7 -7
- pycharter/ui/static/documentation/__next._head.txt +1 -1
- pycharter/ui/static/documentation/__next._index.txt +6 -6
- pycharter/ui/static/documentation/__next._tree.txt +2 -2
- pycharter/ui/static/documentation/__next.documentation.__PAGE__.txt +2 -2
- pycharter/ui/static/documentation/__next.documentation.txt +1 -1
- pycharter/ui/static/documentation/index.html +3 -3
- pycharter/ui/static/documentation/index.txt +7 -7
- pycharter/ui/static/etl/__next._full.txt +21 -0
- pycharter/ui/static/etl/__next._head.txt +7 -0
- pycharter/ui/static/etl/__next._index.txt +9 -0
- pycharter/ui/static/etl/__next._tree.txt +2 -0
- pycharter/ui/static/etl/__next.etl.__PAGE__.txt +9 -0
- pycharter/ui/static/etl/__next.etl.txt +4 -0
- pycharter/ui/static/etl/index.html +2 -0
- pycharter/ui/static/etl/index.txt +21 -0
- pycharter/ui/static/index.html +1 -1
- pycharter/ui/static/index.txt +7 -7
- pycharter/ui/static/metadata/__next._full.txt +7 -7
- pycharter/ui/static/metadata/__next._head.txt +1 -1
- pycharter/ui/static/metadata/__next._index.txt +6 -6
- pycharter/ui/static/metadata/__next._tree.txt +2 -2
- pycharter/ui/static/metadata/__next.metadata.__PAGE__.txt +2 -2
- pycharter/ui/static/metadata/__next.metadata.txt +1 -1
- pycharter/ui/static/metadata/index.html +1 -1
- pycharter/ui/static/metadata/index.txt +7 -7
- pycharter/ui/static/quality/__next._full.txt +7 -7
- pycharter/ui/static/quality/__next._head.txt +1 -1
- pycharter/ui/static/quality/__next._index.txt +6 -6
- pycharter/ui/static/quality/__next._tree.txt +2 -2
- pycharter/ui/static/quality/__next.quality.__PAGE__.txt +2 -2
- pycharter/ui/static/quality/__next.quality.txt +1 -1
- pycharter/ui/static/quality/index.html +2 -2
- pycharter/ui/static/quality/index.txt +7 -7
- pycharter/ui/static/rules/__next._full.txt +7 -7
- pycharter/ui/static/rules/__next._head.txt +1 -1
- pycharter/ui/static/rules/__next._index.txt +6 -6
- pycharter/ui/static/rules/__next._tree.txt +2 -2
- pycharter/ui/static/rules/__next.rules.__PAGE__.txt +2 -2
- pycharter/ui/static/rules/__next.rules.txt +1 -1
- pycharter/ui/static/rules/index.html +1 -1
- pycharter/ui/static/rules/index.txt +7 -7
- pycharter/ui/static/schemas/__next._full.txt +7 -7
- pycharter/ui/static/schemas/__next._head.txt +1 -1
- pycharter/ui/static/schemas/__next._index.txt +6 -6
- pycharter/ui/static/schemas/__next._tree.txt +2 -2
- pycharter/ui/static/schemas/__next.schemas.__PAGE__.txt +2 -2
- pycharter/ui/static/schemas/__next.schemas.txt +1 -1
- pycharter/ui/static/schemas/index.html +1 -1
- pycharter/ui/static/schemas/index.txt +7 -7
- pycharter/ui/static/settings/__next._full.txt +7 -7
- pycharter/ui/static/settings/__next._head.txt +1 -1
- pycharter/ui/static/settings/__next._index.txt +6 -6
- pycharter/ui/static/settings/__next._tree.txt +2 -2
- pycharter/ui/static/settings/__next.settings.__PAGE__.txt +2 -2
- pycharter/ui/static/settings/__next.settings.txt +1 -1
- pycharter/ui/static/settings/index.html +1 -1
- pycharter/ui/static/settings/index.txt +7 -7
- pycharter/ui/static/static/404/index.html +1 -1
- pycharter/ui/static/static/404.html +1 -1
- pycharter/ui/static/static/__next.__PAGE__.txt +1 -1
- pycharter/ui/static/static/__next._full.txt +1 -1
- pycharter/ui/static/static/__next._head.txt +1 -1
- pycharter/ui/static/static/__next._index.txt +1 -1
- pycharter/ui/static/static/__next._tree.txt +1 -1
- pycharter/ui/static/static/_not-found/__next._full.txt +1 -1
- pycharter/ui/static/static/_not-found/__next._head.txt +1 -1
- pycharter/ui/static/static/_not-found/__next._index.txt +1 -1
- pycharter/ui/static/static/_not-found/__next._not-found.__PAGE__.txt +1 -1
- pycharter/ui/static/static/_not-found/__next._not-found.txt +1 -1
- pycharter/ui/static/static/_not-found/__next._tree.txt +1 -1
- pycharter/ui/static/static/_not-found/index.html +1 -1
- pycharter/ui/static/static/_not-found/index.txt +1 -1
- pycharter/ui/static/static/contracts/__next._full.txt +2 -2
- pycharter/ui/static/static/contracts/__next._head.txt +1 -1
- pycharter/ui/static/static/contracts/__next._index.txt +1 -1
- pycharter/ui/static/static/contracts/__next._tree.txt +1 -1
- pycharter/ui/static/static/contracts/__next.contracts.__PAGE__.txt +2 -2
- pycharter/ui/static/static/contracts/__next.contracts.txt +1 -1
- pycharter/ui/static/static/contracts/index.html +1 -1
- pycharter/ui/static/static/contracts/index.txt +2 -2
- pycharter/ui/static/static/documentation/__next._full.txt +1 -1
- pycharter/ui/static/static/documentation/__next._head.txt +1 -1
- pycharter/ui/static/static/documentation/__next._index.txt +1 -1
- pycharter/ui/static/static/documentation/__next._tree.txt +1 -1
- pycharter/ui/static/static/documentation/__next.documentation.__PAGE__.txt +1 -1
- pycharter/ui/static/static/documentation/__next.documentation.txt +1 -1
- pycharter/ui/static/static/documentation/index.html +2 -2
- pycharter/ui/static/static/documentation/index.txt +1 -1
- pycharter/ui/static/static/index.html +1 -1
- pycharter/ui/static/static/index.txt +1 -1
- pycharter/ui/static/static/metadata/__next._full.txt +1 -1
- pycharter/ui/static/static/metadata/__next._head.txt +1 -1
- pycharter/ui/static/static/metadata/__next._index.txt +1 -1
- pycharter/ui/static/static/metadata/__next._tree.txt +1 -1
- pycharter/ui/static/static/metadata/__next.metadata.__PAGE__.txt +1 -1
- pycharter/ui/static/static/metadata/__next.metadata.txt +1 -1
- pycharter/ui/static/static/metadata/index.html +1 -1
- pycharter/ui/static/static/metadata/index.txt +1 -1
- pycharter/ui/static/static/quality/__next._full.txt +2 -2
- pycharter/ui/static/static/quality/__next._head.txt +1 -1
- pycharter/ui/static/static/quality/__next._index.txt +1 -1
- pycharter/ui/static/static/quality/__next._tree.txt +1 -1
- pycharter/ui/static/static/quality/__next.quality.__PAGE__.txt +2 -2
- pycharter/ui/static/static/quality/__next.quality.txt +1 -1
- pycharter/ui/static/static/quality/index.html +2 -2
- pycharter/ui/static/static/quality/index.txt +2 -2
- pycharter/ui/static/static/rules/__next._full.txt +1 -1
- pycharter/ui/static/static/rules/__next._head.txt +1 -1
- pycharter/ui/static/static/rules/__next._index.txt +1 -1
- pycharter/ui/static/static/rules/__next._tree.txt +1 -1
- pycharter/ui/static/static/rules/__next.rules.__PAGE__.txt +1 -1
- pycharter/ui/static/static/rules/__next.rules.txt +1 -1
- pycharter/ui/static/static/rules/index.html +1 -1
- pycharter/ui/static/static/rules/index.txt +1 -1
- pycharter/ui/static/static/schemas/__next._full.txt +1 -1
- pycharter/ui/static/static/schemas/__next._head.txt +1 -1
- pycharter/ui/static/static/schemas/__next._index.txt +1 -1
- pycharter/ui/static/static/schemas/__next._tree.txt +1 -1
- pycharter/ui/static/static/schemas/__next.schemas.__PAGE__.txt +1 -1
- pycharter/ui/static/static/schemas/__next.schemas.txt +1 -1
- pycharter/ui/static/static/schemas/index.html +1 -1
- pycharter/ui/static/static/schemas/index.txt +1 -1
- pycharter/ui/static/static/settings/__next._full.txt +1 -1
- pycharter/ui/static/static/settings/__next._head.txt +1 -1
- pycharter/ui/static/static/settings/__next._index.txt +1 -1
- pycharter/ui/static/static/settings/__next._tree.txt +1 -1
- pycharter/ui/static/static/settings/__next.settings.__PAGE__.txt +1 -1
- pycharter/ui/static/static/settings/__next.settings.txt +1 -1
- pycharter/ui/static/static/settings/index.html +1 -1
- pycharter/ui/static/static/settings/index.txt +1 -1
- pycharter/ui/static/static/static/404/index.html +1 -1
- pycharter/ui/static/static/static/404.html +1 -1
- pycharter/ui/static/static/static/__next.__PAGE__.txt +1 -1
- pycharter/ui/static/static/static/__next._full.txt +2 -2
- pycharter/ui/static/static/static/__next._head.txt +1 -1
- pycharter/ui/static/static/static/__next._index.txt +2 -2
- pycharter/ui/static/static/static/__next._tree.txt +2 -2
- pycharter/ui/static/static/static/_next/static/chunks/f7d1a90dd75d2572.js +1 -0
- pycharter/ui/static/static/static/_not-found/__next._full.txt +2 -2
- pycharter/ui/static/static/static/_not-found/__next._head.txt +1 -1
- pycharter/ui/static/static/static/_not-found/__next._index.txt +2 -2
- pycharter/ui/static/static/static/_not-found/__next._not-found.__PAGE__.txt +1 -1
- pycharter/ui/static/static/static/_not-found/__next._not-found.txt +1 -1
- pycharter/ui/static/static/static/_not-found/__next._tree.txt +2 -2
- pycharter/ui/static/static/static/_not-found/index.html +1 -1
- pycharter/ui/static/static/static/_not-found/index.txt +2 -2
- pycharter/ui/static/static/static/contracts/__next._full.txt +3 -3
- pycharter/ui/static/static/static/contracts/__next._head.txt +1 -1
- pycharter/ui/static/static/static/contracts/__next._index.txt +2 -2
- pycharter/ui/static/static/static/contracts/__next._tree.txt +2 -2
- pycharter/ui/static/static/static/contracts/__next.contracts.__PAGE__.txt +2 -2
- pycharter/ui/static/static/static/contracts/__next.contracts.txt +1 -1
- pycharter/ui/static/static/static/contracts/index.html +1 -1
- pycharter/ui/static/static/static/contracts/index.txt +3 -3
- pycharter/ui/static/static/static/documentation/__next._full.txt +3 -3
- pycharter/ui/static/static/static/documentation/__next._head.txt +1 -1
- pycharter/ui/static/static/static/documentation/__next._index.txt +2 -2
- pycharter/ui/static/static/static/documentation/__next._tree.txt +2 -2
- pycharter/ui/static/static/static/documentation/__next.documentation.__PAGE__.txt +2 -2
- pycharter/ui/static/static/static/documentation/__next.documentation.txt +1 -1
- pycharter/ui/static/static/static/documentation/index.html +2 -2
- pycharter/ui/static/static/static/documentation/index.txt +3 -3
- pycharter/ui/static/static/static/index.html +1 -1
- pycharter/ui/static/static/static/index.txt +2 -2
- pycharter/ui/static/static/static/metadata/__next._full.txt +2 -2
- pycharter/ui/static/static/static/metadata/__next._head.txt +1 -1
- pycharter/ui/static/static/static/metadata/__next._index.txt +2 -2
- pycharter/ui/static/static/static/metadata/__next._tree.txt +2 -2
- pycharter/ui/static/static/static/metadata/__next.metadata.__PAGE__.txt +1 -1
- pycharter/ui/static/static/static/metadata/__next.metadata.txt +1 -1
- pycharter/ui/static/static/static/metadata/index.html +1 -1
- pycharter/ui/static/static/static/metadata/index.txt +2 -2
- pycharter/ui/static/static/static/quality/__next._full.txt +2 -2
- pycharter/ui/static/static/static/quality/__next._head.txt +1 -1
- pycharter/ui/static/static/static/quality/__next._index.txt +2 -2
- pycharter/ui/static/static/static/quality/__next._tree.txt +2 -2
- pycharter/ui/static/static/static/quality/__next.quality.__PAGE__.txt +1 -1
- pycharter/ui/static/static/static/quality/__next.quality.txt +1 -1
- pycharter/ui/static/static/static/quality/index.html +2 -2
- pycharter/ui/static/static/static/quality/index.txt +2 -2
- pycharter/ui/static/static/static/rules/__next._full.txt +2 -2
- pycharter/ui/static/static/static/rules/__next._head.txt +1 -1
- pycharter/ui/static/static/static/rules/__next._index.txt +2 -2
- pycharter/ui/static/static/static/rules/__next._tree.txt +2 -2
- pycharter/ui/static/static/static/rules/__next.rules.__PAGE__.txt +1 -1
- pycharter/ui/static/static/static/rules/__next.rules.txt +1 -1
- pycharter/ui/static/static/static/rules/index.html +1 -1
- pycharter/ui/static/static/static/rules/index.txt +2 -2
- pycharter/ui/static/static/static/schemas/__next._full.txt +2 -2
- pycharter/ui/static/static/static/schemas/__next._head.txt +1 -1
- pycharter/ui/static/static/static/schemas/__next._index.txt +2 -2
- pycharter/ui/static/static/static/schemas/__next._tree.txt +2 -2
- pycharter/ui/static/static/static/schemas/__next.schemas.__PAGE__.txt +1 -1
- pycharter/ui/static/static/static/schemas/__next.schemas.txt +1 -1
- pycharter/ui/static/static/static/schemas/index.html +1 -1
- pycharter/ui/static/static/static/schemas/index.txt +2 -2
- pycharter/ui/static/static/static/settings/__next._full.txt +2 -2
- pycharter/ui/static/static/static/settings/__next._head.txt +1 -1
- pycharter/ui/static/static/static/settings/__next._index.txt +2 -2
- pycharter/ui/static/static/static/settings/__next._tree.txt +2 -2
- pycharter/ui/static/static/static/settings/__next.settings.__PAGE__.txt +1 -1
- pycharter/ui/static/static/static/settings/__next.settings.txt +1 -1
- pycharter/ui/static/static/static/settings/index.html +1 -1
- pycharter/ui/static/static/static/settings/index.txt +2 -2
- pycharter/ui/static/static/static/static/.gitkeep +0 -0
- pycharter/ui/static/static/static/static/404/index.html +1 -0
- pycharter/ui/static/static/static/static/404.html +1 -0
- pycharter/ui/static/static/static/static/__next.__PAGE__.txt +10 -0
- pycharter/ui/static/static/static/static/__next._full.txt +30 -0
- pycharter/ui/static/static/static/static/__next._head.txt +7 -0
- pycharter/ui/static/static/static/static/__next._index.txt +9 -0
- pycharter/ui/static/static/static/static/__next._tree.txt +2 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/222442f6da32302a.js +1 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/247eb132b7f7b574.js +1 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/297d55555b71baba.js +1 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/414e77373f8ff61c.js +1 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/652ad0aa26265c47.js +2 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/9c23f44fff36548a.js +1 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/a6dad97d9634a72d.js +1 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/b32a0963684b9933.js +4 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/db913959c675cea6.js +1 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/f2e7afeab1178138.js +1 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/ff1a16fafef87110.js +1 -0
- pycharter/ui/static/static/static/static/_next/static/chunks/turbopack-ffcb7ab6794027ef.js +3 -0
- pycharter/ui/static/static/static/static/_next/static/tNTkVW6puVXC4bAm4WrHl/_buildManifest.js +11 -0
- pycharter/ui/static/static/static/static/_next/static/tNTkVW6puVXC4bAm4WrHl/_clientMiddlewareManifest.json +1 -0
- pycharter/ui/static/static/static/static/_next/static/tNTkVW6puVXC4bAm4WrHl/_ssgManifest.js +1 -0
- pycharter/ui/static/static/static/static/_not-found/__next._full.txt +17 -0
- pycharter/ui/static/static/static/static/_not-found/__next._head.txt +7 -0
- pycharter/ui/static/static/static/static/_not-found/__next._index.txt +9 -0
- pycharter/ui/static/static/static/static/_not-found/__next._not-found.__PAGE__.txt +5 -0
- pycharter/ui/static/static/static/static/_not-found/__next._not-found.txt +4 -0
- pycharter/ui/static/static/static/static/_not-found/__next._tree.txt +2 -0
- pycharter/ui/static/static/static/static/_not-found/index.html +1 -0
- pycharter/ui/static/static/static/static/_not-found/index.txt +17 -0
- pycharter/ui/static/static/static/static/contracts/__next._full.txt +21 -0
- pycharter/ui/static/static/static/static/contracts/__next._head.txt +7 -0
- pycharter/ui/static/static/static/static/contracts/__next._index.txt +9 -0
- pycharter/ui/static/static/static/static/contracts/__next._tree.txt +2 -0
- pycharter/ui/static/static/static/static/contracts/__next.contracts.__PAGE__.txt +9 -0
- pycharter/ui/static/static/static/static/contracts/__next.contracts.txt +4 -0
- pycharter/ui/static/static/static/static/contracts/index.html +1 -0
- pycharter/ui/static/static/static/static/contracts/index.txt +21 -0
- pycharter/ui/static/static/static/static/documentation/__next._full.txt +21 -0
- pycharter/ui/static/static/static/static/documentation/__next._head.txt +7 -0
- pycharter/ui/static/static/static/static/documentation/__next._index.txt +9 -0
- pycharter/ui/static/static/static/static/documentation/__next._tree.txt +2 -0
- pycharter/ui/static/static/static/static/documentation/__next.documentation.__PAGE__.txt +9 -0
- pycharter/ui/static/static/static/static/documentation/__next.documentation.txt +4 -0
- pycharter/ui/static/static/static/static/documentation/index.html +93 -0
- pycharter/ui/static/static/static/static/documentation/index.txt +21 -0
- pycharter/ui/static/static/static/static/index.html +1 -0
- pycharter/ui/static/static/static/static/index.txt +30 -0
- pycharter/ui/static/static/static/static/metadata/__next._full.txt +21 -0
- pycharter/ui/static/static/static/static/metadata/__next._head.txt +7 -0
- pycharter/ui/static/static/static/static/metadata/__next._index.txt +9 -0
- pycharter/ui/static/static/static/static/metadata/__next._tree.txt +2 -0
- pycharter/ui/static/static/static/static/metadata/__next.metadata.__PAGE__.txt +9 -0
- pycharter/ui/static/static/static/static/metadata/__next.metadata.txt +4 -0
- pycharter/ui/static/static/static/static/metadata/index.html +1 -0
- pycharter/ui/static/static/static/static/metadata/index.txt +21 -0
- pycharter/ui/static/static/static/static/quality/__next._full.txt +21 -0
- pycharter/ui/static/static/static/static/quality/__next._head.txt +7 -0
- pycharter/ui/static/static/static/static/quality/__next._index.txt +9 -0
- pycharter/ui/static/static/static/static/quality/__next._tree.txt +2 -0
- pycharter/ui/static/static/static/static/quality/__next.quality.__PAGE__.txt +9 -0
- pycharter/ui/static/static/static/static/quality/__next.quality.txt +4 -0
- pycharter/ui/static/static/static/static/quality/index.html +2 -0
- pycharter/ui/static/static/static/static/quality/index.txt +21 -0
- pycharter/ui/static/static/static/static/rules/__next._full.txt +21 -0
- pycharter/ui/static/static/static/static/rules/__next._head.txt +7 -0
- pycharter/ui/static/static/static/static/rules/__next._index.txt +9 -0
- pycharter/ui/static/static/static/static/rules/__next._tree.txt +2 -0
- pycharter/ui/static/static/static/static/rules/__next.rules.__PAGE__.txt +9 -0
- pycharter/ui/static/static/static/static/rules/__next.rules.txt +4 -0
- pycharter/ui/static/static/static/static/rules/index.html +1 -0
- pycharter/ui/static/static/static/static/rules/index.txt +21 -0
- pycharter/ui/static/static/static/static/schemas/__next._full.txt +21 -0
- pycharter/ui/static/static/static/static/schemas/__next._head.txt +7 -0
- pycharter/ui/static/static/static/static/schemas/__next._index.txt +9 -0
- pycharter/ui/static/static/static/static/schemas/__next._tree.txt +2 -0
- pycharter/ui/static/static/static/static/schemas/__next.schemas.__PAGE__.txt +9 -0
- pycharter/ui/static/static/static/static/schemas/__next.schemas.txt +4 -0
- pycharter/ui/static/static/static/static/schemas/index.html +1 -0
- pycharter/ui/static/static/static/static/schemas/index.txt +21 -0
- pycharter/ui/static/static/static/static/settings/__next._full.txt +21 -0
- pycharter/ui/static/static/static/static/settings/__next._head.txt +7 -0
- pycharter/ui/static/static/static/static/settings/__next._index.txt +9 -0
- pycharter/ui/static/static/static/static/settings/__next._tree.txt +2 -0
- pycharter/ui/static/static/static/static/settings/__next.settings.__PAGE__.txt +9 -0
- pycharter/ui/static/static/static/static/settings/__next.settings.txt +4 -0
- pycharter/ui/static/static/static/static/settings/index.html +1 -0
- pycharter/ui/static/static/static/static/settings/index.txt +21 -0
- pycharter/ui/static/static/static/static/validation/__next._full.txt +21 -0
- pycharter/ui/static/static/static/static/validation/__next._head.txt +7 -0
- pycharter/ui/static/static/static/static/validation/__next._index.txt +9 -0
- pycharter/ui/static/static/static/static/validation/__next._tree.txt +2 -0
- pycharter/ui/static/static/static/static/validation/__next.validation.__PAGE__.txt +9 -0
- pycharter/ui/static/static/static/static/validation/__next.validation.txt +4 -0
- pycharter/ui/static/static/static/static/validation/index.html +1 -0
- pycharter/ui/static/static/static/static/validation/index.txt +21 -0
- pycharter/ui/static/static/static/validation/__next._full.txt +2 -2
- pycharter/ui/static/static/static/validation/__next._head.txt +1 -1
- pycharter/ui/static/static/static/validation/__next._index.txt +2 -2
- pycharter/ui/static/static/static/validation/__next._tree.txt +2 -2
- pycharter/ui/static/static/static/validation/__next.validation.__PAGE__.txt +1 -1
- pycharter/ui/static/static/static/validation/__next.validation.txt +1 -1
- pycharter/ui/static/static/static/validation/index.html +1 -1
- pycharter/ui/static/static/static/validation/index.txt +2 -2
- pycharter/ui/static/static/validation/__next._full.txt +2 -2
- pycharter/ui/static/static/validation/__next._head.txt +1 -1
- pycharter/ui/static/static/validation/__next._index.txt +1 -1
- pycharter/ui/static/static/validation/__next._tree.txt +1 -1
- pycharter/ui/static/static/validation/__next.validation.__PAGE__.txt +2 -2
- pycharter/ui/static/static/validation/__next.validation.txt +1 -1
- pycharter/ui/static/static/validation/index.html +1 -1
- pycharter/ui/static/static/validation/index.txt +2 -2
- pycharter/ui/static/validation/__next._full.txt +7 -7
- pycharter/ui/static/validation/__next._head.txt +1 -1
- pycharter/ui/static/validation/__next._index.txt +6 -6
- pycharter/ui/static/validation/__next._tree.txt +2 -2
- pycharter/ui/static/validation/__next.validation.__PAGE__.txt +2 -2
- pycharter/ui/static/validation/__next.validation.txt +1 -1
- pycharter/ui/static/validation/index.html +1 -1
- pycharter/ui/static/validation/index.txt +7 -7
- {pycharter-0.0.25.dist-info → pycharter-0.0.26.dist-info}/METADATA +57 -26
- pycharter-0.0.26.dist-info/RECORD +702 -0
- pycharter/etl_generator/config_loader.py +0 -394
- pycharter/etl_generator/loaders/cloud.py +0 -87
- pycharter/etl_generator/loaders/file_loader.py +0 -130
- pycharter/etl_generator/schemas/extract.json +0 -234
- pycharter/etl_generator/schemas/load.json +0 -202
- pycharter/etl_generator/schemas/pipeline.json +0 -94
- pycharter/etl_generator/schemas/transform.json +0 -171
- pycharter-0.0.25.dist-info/RECORD +0 -572
- /pycharter/ui/static/_next/static/{2gKjNv6YvE6BcIdFthBLs → YCnlK66gA7FV5vvcixspB}/_buildManifest.js +0 -0
- /pycharter/ui/static/_next/static/{2gKjNv6YvE6BcIdFthBLs → YCnlK66gA7FV5vvcixspB}/_clientMiddlewareManifest.json +0 -0
- /pycharter/ui/static/_next/static/{2gKjNv6YvE6BcIdFthBLs → YCnlK66gA7FV5vvcixspB}/_ssgManifest.js +0 -0
- /pycharter/ui/static/static/_next/static/{0rYA78L88aUyD2Uh38hhX → 2gKjNv6YvE6BcIdFthBLs}/_buildManifest.js +0 -0
- /pycharter/ui/static/static/_next/static/{0rYA78L88aUyD2Uh38hhX → 2gKjNv6YvE6BcIdFthBLs}/_clientMiddlewareManifest.json +0 -0
- /pycharter/ui/static/static/_next/static/{0rYA78L88aUyD2Uh38hhX → 2gKjNv6YvE6BcIdFthBLs}/_ssgManifest.js +0 -0
- /pycharter/ui/static/{_next → static/_next}/static/chunks/26dfc590f7714c03.js +0 -0
- /pycharter/ui/static/{_next → static/_next}/static/chunks/34d289e6db2ef551.js +0 -0
- /pycharter/ui/static/{_next → static/_next}/static/chunks/99508d9d5869cc27.js +0 -0
- /pycharter/ui/static/{_next → static/_next}/static/chunks/b313c35a6ba76574.js +0 -0
- /pycharter/ui/static/static/static/_next/static/{tNTkVW6puVXC4bAm4WrHl → 0rYA78L88aUyD2Uh38hhX}/_buildManifest.js +0 -0
- /pycharter/ui/static/static/static/_next/static/{tNTkVW6puVXC4bAm4WrHl → 0rYA78L88aUyD2Uh38hhX}/_clientMiddlewareManifest.json +0 -0
- /pycharter/ui/static/static/static/_next/static/{tNTkVW6puVXC4bAm4WrHl → 0rYA78L88aUyD2Uh38hhX}/_ssgManifest.js +0 -0
- /pycharter/ui/static/{_next → static/static/_next}/static/chunks/13d4a0fbd74c1ee4.js +0 -0
- /pycharter/ui/static/{_next → static/static/_next}/static/chunks/2edb43b48432ac04.js +0 -0
- /pycharter/ui/static/static/{_next → static/_next}/static/chunks/c4fa4f4114b7c352.js +0 -0
- /pycharter/ui/static/{_next → static/static/_next}/static/chunks/d2363397e1b2bcab.css +0 -0
- /pycharter/ui/static/{_next → static/static/static/_next}/static/chunks/2ab439ce003cd691.js +0 -0
- /pycharter/ui/static/{_next → static/static/static/_next}/static/chunks/49ca65abd26ae49e.js +0 -0
- /pycharter/ui/static/static/static/{_next → static/_next}/static/chunks/4e310fe5005770a3.css +0 -0
- /pycharter/ui/static/static/{_next → static/static/_next}/static/chunks/5e04d10c4a7b58a3.js +0 -0
- /pycharter/ui/static/static/static/{_next → static/_next}/static/chunks/5fc14c00a2779dc5.js +0 -0
- /pycharter/ui/static/static/{_next → static/static/_next}/static/chunks/75d88a058d8ffaa6.js +0 -0
- /pycharter/ui/static/static/{_next → static/static/_next}/static/chunks/8c89634cf6bad76f.js +0 -0
- /pycharter/ui/static/{_next → static/static/static/_next}/static/chunks/9667e7a3d359eb39.js +0 -0
- /pycharter/ui/static/static/static/{_next → static/_next}/static/chunks/b584574fdc8ab13e.js +0 -0
- /pycharter/ui/static/{_next → static/static/static/_next}/static/chunks/c69f6cba366bd988.js +0 -0
- /pycharter/ui/static/static/static/{_next → static/_next}/static/chunks/d5989c94d3614b3a.js +0 -0
- /pycharter/ui/static/{_next → static/static/static/_next}/static/chunks/f061a4be97bfc3b3.js +0 -0
- {pycharter-0.0.25.dist-info → pycharter-0.0.26.dist-info}/WHEEL +0 -0
- {pycharter-0.0.25.dist-info → pycharter-0.0.26.dist-info}/entry_points.txt +0 -0
- {pycharter-0.0.25.dist-info → pycharter-0.0.26.dist-info}/licenses/LICENSE +0 -0
- {pycharter-0.0.25.dist-info → pycharter-0.0.26.dist-info}/top_level.txt +0 -0
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://pycharter.io/schemas/etl/extract.json",
|
|
4
|
-
"title": "ETL Extract Configuration",
|
|
5
|
-
"description": "Configuration for ETL data extraction",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["type"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"type": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"enum": ["http", "file", "database", "cloud_storage"],
|
|
12
|
-
"description": "Type of data source"
|
|
13
|
-
},
|
|
14
|
-
"batch_size": {
|
|
15
|
-
"type": "integer",
|
|
16
|
-
"minimum": 1,
|
|
17
|
-
"default": 1000,
|
|
18
|
-
"description": "Number of records per batch"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"allOf": [
|
|
22
|
-
{
|
|
23
|
-
"if": {
|
|
24
|
-
"properties": { "type": { "const": "http" } }
|
|
25
|
-
},
|
|
26
|
-
"then": {
|
|
27
|
-
"properties": {
|
|
28
|
-
"url": {
|
|
29
|
-
"type": "string",
|
|
30
|
-
"format": "uri",
|
|
31
|
-
"description": "Full URL for the HTTP request"
|
|
32
|
-
},
|
|
33
|
-
"base_url": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"format": "uri",
|
|
36
|
-
"description": "Base URL (used with endpoint)"
|
|
37
|
-
},
|
|
38
|
-
"endpoint": {
|
|
39
|
-
"type": "string",
|
|
40
|
-
"description": "API endpoint path (used with base_url)"
|
|
41
|
-
},
|
|
42
|
-
"method": {
|
|
43
|
-
"type": "string",
|
|
44
|
-
"enum": ["GET", "POST", "PUT", "PATCH", "DELETE"],
|
|
45
|
-
"default": "GET",
|
|
46
|
-
"description": "HTTP method"
|
|
47
|
-
},
|
|
48
|
-
"headers": {
|
|
49
|
-
"type": "object",
|
|
50
|
-
"additionalProperties": { "type": "string" },
|
|
51
|
-
"description": "HTTP headers"
|
|
52
|
-
},
|
|
53
|
-
"params": {
|
|
54
|
-
"type": "object",
|
|
55
|
-
"description": "Query parameters"
|
|
56
|
-
},
|
|
57
|
-
"body": {
|
|
58
|
-
"type": "object",
|
|
59
|
-
"description": "Request body (for POST/PUT/PATCH)"
|
|
60
|
-
},
|
|
61
|
-
"response_format": {
|
|
62
|
-
"type": "string",
|
|
63
|
-
"enum": ["json", "text", "xml"],
|
|
64
|
-
"default": "json",
|
|
65
|
-
"description": "Expected response format"
|
|
66
|
-
},
|
|
67
|
-
"response_path": {
|
|
68
|
-
"type": "string",
|
|
69
|
-
"description": "JSONPath to data array in response"
|
|
70
|
-
},
|
|
71
|
-
"pagination": {
|
|
72
|
-
"type": "object",
|
|
73
|
-
"properties": {
|
|
74
|
-
"enabled": { "type": "boolean", "default": false },
|
|
75
|
-
"strategy": {
|
|
76
|
-
"type": "string",
|
|
77
|
-
"enum": ["page", "offset", "cursor", "link"],
|
|
78
|
-
"description": "Pagination strategy"
|
|
79
|
-
},
|
|
80
|
-
"page_param": { "type": "string" },
|
|
81
|
-
"offset_param": { "type": "string" },
|
|
82
|
-
"limit_param": { "type": "string" },
|
|
83
|
-
"cursor_param": { "type": "string" },
|
|
84
|
-
"cursor_path": { "type": "string" },
|
|
85
|
-
"next_link_path": { "type": "string" },
|
|
86
|
-
"page_size": { "type": "integer", "minimum": 1 },
|
|
87
|
-
"max_pages": { "type": "integer", "minimum": 1 }
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
"retry": {
|
|
91
|
-
"type": "object",
|
|
92
|
-
"properties": {
|
|
93
|
-
"max_attempts": { "type": "integer", "minimum": 1, "default": 3 },
|
|
94
|
-
"backoff_factor": { "type": "number", "minimum": 0, "default": 2 },
|
|
95
|
-
"retry_on_status": {
|
|
96
|
-
"type": "array",
|
|
97
|
-
"items": { "type": "integer" },
|
|
98
|
-
"default": [429, 500, 502, 503, 504]
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"timeout": {
|
|
103
|
-
"type": "object",
|
|
104
|
-
"properties": {
|
|
105
|
-
"connect": { "type": "number", "minimum": 0 },
|
|
106
|
-
"read": { "type": "number", "minimum": 0 },
|
|
107
|
-
"write": { "type": "number", "minimum": 0 }
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
"rate_limit_delay": {
|
|
111
|
-
"type": "number",
|
|
112
|
-
"minimum": 0,
|
|
113
|
-
"description": "Delay between requests in seconds"
|
|
114
|
-
}
|
|
115
|
-
},
|
|
116
|
-
"anyOf": [
|
|
117
|
-
{ "required": ["url"] },
|
|
118
|
-
{ "required": ["base_url", "endpoint"] }
|
|
119
|
-
]
|
|
120
|
-
}
|
|
121
|
-
},
|
|
122
|
-
{
|
|
123
|
-
"if": {
|
|
124
|
-
"properties": { "type": { "const": "file" } }
|
|
125
|
-
},
|
|
126
|
-
"then": {
|
|
127
|
-
"required": ["path"],
|
|
128
|
-
"properties": {
|
|
129
|
-
"path": {
|
|
130
|
-
"type": "string",
|
|
131
|
-
"description": "File path (supports glob patterns)"
|
|
132
|
-
},
|
|
133
|
-
"format": {
|
|
134
|
-
"type": "string",
|
|
135
|
-
"enum": ["csv", "json", "jsonl", "parquet", "excel", "tsv", "xml"],
|
|
136
|
-
"description": "File format (auto-detected if not specified)"
|
|
137
|
-
},
|
|
138
|
-
"csv_options": {
|
|
139
|
-
"type": "object",
|
|
140
|
-
"properties": {
|
|
141
|
-
"delimiter": { "type": "string", "default": "," },
|
|
142
|
-
"quote_char": { "type": "string", "default": "\"" },
|
|
143
|
-
"escape_char": { "type": "string" },
|
|
144
|
-
"has_header": { "type": "boolean", "default": true },
|
|
145
|
-
"encoding": { "type": "string", "default": "utf-8" }
|
|
146
|
-
}
|
|
147
|
-
},
|
|
148
|
-
"json_options": {
|
|
149
|
-
"type": "object",
|
|
150
|
-
"properties": {
|
|
151
|
-
"encoding": { "type": "string", "default": "utf-8" },
|
|
152
|
-
"lines": { "type": "boolean", "default": false }
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"if": {
|
|
160
|
-
"properties": { "type": { "const": "database" } }
|
|
161
|
-
},
|
|
162
|
-
"then": {
|
|
163
|
-
"required": ["query"],
|
|
164
|
-
"properties": {
|
|
165
|
-
"query": {
|
|
166
|
-
"type": "string",
|
|
167
|
-
"description": "SQL query to execute"
|
|
168
|
-
},
|
|
169
|
-
"connection_string": {
|
|
170
|
-
"type": "string",
|
|
171
|
-
"description": "Database connection URL"
|
|
172
|
-
},
|
|
173
|
-
"database": {
|
|
174
|
-
"type": "object",
|
|
175
|
-
"properties": {
|
|
176
|
-
"url": { "type": "string" }
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"params": {
|
|
180
|
-
"type": "object",
|
|
181
|
-
"description": "Query parameter bindings"
|
|
182
|
-
},
|
|
183
|
-
"ssh_tunnel": {
|
|
184
|
-
"type": "object",
|
|
185
|
-
"properties": {
|
|
186
|
-
"host": { "type": "string" },
|
|
187
|
-
"port": { "type": "integer", "default": 22 },
|
|
188
|
-
"username": { "type": "string" },
|
|
189
|
-
"private_key_path": { "type": "string" },
|
|
190
|
-
"remote_host": { "type": "string" },
|
|
191
|
-
"remote_port": { "type": "integer" }
|
|
192
|
-
},
|
|
193
|
-
"required": ["host", "username"]
|
|
194
|
-
}
|
|
195
|
-
},
|
|
196
|
-
"anyOf": [
|
|
197
|
-
{ "required": ["connection_string"] },
|
|
198
|
-
{ "required": ["database"] }
|
|
199
|
-
]
|
|
200
|
-
}
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"if": {
|
|
204
|
-
"properties": { "type": { "const": "cloud_storage" } }
|
|
205
|
-
},
|
|
206
|
-
"then": {
|
|
207
|
-
"required": ["storage"],
|
|
208
|
-
"properties": {
|
|
209
|
-
"storage": {
|
|
210
|
-
"type": "object",
|
|
211
|
-
"required": ["provider"],
|
|
212
|
-
"properties": {
|
|
213
|
-
"provider": {
|
|
214
|
-
"type": "string",
|
|
215
|
-
"enum": ["s3", "gcs", "azure"],
|
|
216
|
-
"description": "Cloud storage provider"
|
|
217
|
-
},
|
|
218
|
-
"bucket": { "type": "string" },
|
|
219
|
-
"container": { "type": "string" },
|
|
220
|
-
"path": { "type": "string" },
|
|
221
|
-
"prefix": { "type": "string" },
|
|
222
|
-
"credentials": { "type": "object" }
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"format": {
|
|
226
|
-
"type": "string",
|
|
227
|
-
"enum": ["csv", "json", "jsonl", "parquet"],
|
|
228
|
-
"description": "File format"
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
]
|
|
234
|
-
}
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://pycharter.io/schemas/etl/load.json",
|
|
4
|
-
"title": "ETL Load Configuration",
|
|
5
|
-
"description": "Configuration for ETL data loading",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["type"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"type": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"enum": ["postgres", "postgresql", "sqlite", "database", "file", "cloud_storage"],
|
|
12
|
-
"description": "Type of data destination"
|
|
13
|
-
},
|
|
14
|
-
"batch_size": {
|
|
15
|
-
"type": "integer",
|
|
16
|
-
"minimum": 1,
|
|
17
|
-
"default": 1000,
|
|
18
|
-
"description": "Number of records per batch"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"allOf": [
|
|
22
|
-
{
|
|
23
|
-
"if": {
|
|
24
|
-
"properties": {
|
|
25
|
-
"type": { "enum": ["postgres", "postgresql", "database"] }
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"then": {
|
|
29
|
-
"required": ["table"],
|
|
30
|
-
"properties": {
|
|
31
|
-
"table": {
|
|
32
|
-
"type": "string",
|
|
33
|
-
"description": "Target table name"
|
|
34
|
-
},
|
|
35
|
-
"schema": {
|
|
36
|
-
"type": "string",
|
|
37
|
-
"default": "public",
|
|
38
|
-
"description": "Database schema"
|
|
39
|
-
},
|
|
40
|
-
"write_method": {
|
|
41
|
-
"type": "string",
|
|
42
|
-
"enum": ["insert", "upsert", "replace", "update", "delete", "truncate_and_load"],
|
|
43
|
-
"default": "insert",
|
|
44
|
-
"description": "Write method"
|
|
45
|
-
},
|
|
46
|
-
"primary_key": {
|
|
47
|
-
"oneOf": [
|
|
48
|
-
{ "type": "string" },
|
|
49
|
-
{ "type": "array", "items": { "type": "string" } }
|
|
50
|
-
],
|
|
51
|
-
"description": "Primary key column(s) for upsert/update"
|
|
52
|
-
},
|
|
53
|
-
"update_columns": {
|
|
54
|
-
"type": "array",
|
|
55
|
-
"items": { "type": "string" },
|
|
56
|
-
"description": "Columns to update on conflict (upsert)"
|
|
57
|
-
},
|
|
58
|
-
"connection_string": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"description": "Database connection URL"
|
|
61
|
-
},
|
|
62
|
-
"database": {
|
|
63
|
-
"type": "object",
|
|
64
|
-
"properties": {
|
|
65
|
-
"url": { "type": "string" }
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"ssh_tunnel": {
|
|
69
|
-
"type": "object",
|
|
70
|
-
"properties": {
|
|
71
|
-
"host": { "type": "string" },
|
|
72
|
-
"port": { "type": "integer", "default": 22 },
|
|
73
|
-
"username": { "type": "string" },
|
|
74
|
-
"private_key_path": { "type": "string" },
|
|
75
|
-
"remote_host": { "type": "string" },
|
|
76
|
-
"remote_port": { "type": "integer" }
|
|
77
|
-
},
|
|
78
|
-
"required": ["host", "username"]
|
|
79
|
-
},
|
|
80
|
-
"dead_letter_queue": {
|
|
81
|
-
"type": "object",
|
|
82
|
-
"properties": {
|
|
83
|
-
"enabled": { "type": "boolean", "default": false },
|
|
84
|
-
"table": { "type": "string" },
|
|
85
|
-
"path": { "type": "string" }
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
"if": {
|
|
93
|
-
"properties": { "type": { "const": "sqlite" } }
|
|
94
|
-
},
|
|
95
|
-
"then": {
|
|
96
|
-
"required": ["table", "path"],
|
|
97
|
-
"properties": {
|
|
98
|
-
"table": {
|
|
99
|
-
"type": "string",
|
|
100
|
-
"description": "Target table name"
|
|
101
|
-
},
|
|
102
|
-
"path": {
|
|
103
|
-
"type": "string",
|
|
104
|
-
"description": "SQLite database file path"
|
|
105
|
-
},
|
|
106
|
-
"write_method": {
|
|
107
|
-
"type": "string",
|
|
108
|
-
"enum": ["insert", "upsert", "replace", "truncate_and_load"],
|
|
109
|
-
"default": "insert"
|
|
110
|
-
},
|
|
111
|
-
"primary_key": {
|
|
112
|
-
"oneOf": [
|
|
113
|
-
{ "type": "string" },
|
|
114
|
-
{ "type": "array", "items": { "type": "string" } }
|
|
115
|
-
]
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
"if": {
|
|
122
|
-
"properties": { "type": { "const": "file" } }
|
|
123
|
-
},
|
|
124
|
-
"then": {
|
|
125
|
-
"required": ["path"],
|
|
126
|
-
"properties": {
|
|
127
|
-
"path": {
|
|
128
|
-
"type": "string",
|
|
129
|
-
"description": "Output file path"
|
|
130
|
-
},
|
|
131
|
-
"format": {
|
|
132
|
-
"type": "string",
|
|
133
|
-
"enum": ["json", "jsonl", "csv", "parquet"],
|
|
134
|
-
"description": "Output file format (auto-detected if not specified)"
|
|
135
|
-
},
|
|
136
|
-
"write_mode": {
|
|
137
|
-
"type": "string",
|
|
138
|
-
"enum": ["overwrite", "append"],
|
|
139
|
-
"default": "overwrite",
|
|
140
|
-
"description": "File write mode"
|
|
141
|
-
},
|
|
142
|
-
"csv_options": {
|
|
143
|
-
"type": "object",
|
|
144
|
-
"properties": {
|
|
145
|
-
"delimiter": { "type": "string", "default": "," },
|
|
146
|
-
"quote_char": { "type": "string", "default": "\"" },
|
|
147
|
-
"include_header": { "type": "boolean", "default": true },
|
|
148
|
-
"encoding": { "type": "string", "default": "utf-8" }
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
"json_options": {
|
|
152
|
-
"type": "object",
|
|
153
|
-
"properties": {
|
|
154
|
-
"indent": { "type": "integer" },
|
|
155
|
-
"ensure_ascii": { "type": "boolean", "default": false }
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"if": {
|
|
163
|
-
"properties": { "type": { "const": "cloud_storage" } }
|
|
164
|
-
},
|
|
165
|
-
"then": {
|
|
166
|
-
"required": ["storage"],
|
|
167
|
-
"properties": {
|
|
168
|
-
"storage": {
|
|
169
|
-
"type": "object",
|
|
170
|
-
"required": ["provider"],
|
|
171
|
-
"properties": {
|
|
172
|
-
"provider": {
|
|
173
|
-
"type": "string",
|
|
174
|
-
"enum": ["s3", "gcs", "azure"],
|
|
175
|
-
"description": "Cloud storage provider"
|
|
176
|
-
},
|
|
177
|
-
"bucket": { "type": "string" },
|
|
178
|
-
"container": { "type": "string" },
|
|
179
|
-
"path": { "type": "string" },
|
|
180
|
-
"credentials": { "type": "object" }
|
|
181
|
-
}
|
|
182
|
-
},
|
|
183
|
-
"format": {
|
|
184
|
-
"type": "string",
|
|
185
|
-
"enum": ["json", "jsonl", "csv", "parquet"],
|
|
186
|
-
"description": "Output file format"
|
|
187
|
-
},
|
|
188
|
-
"partition_by": {
|
|
189
|
-
"type": "array",
|
|
190
|
-
"items": { "type": "string" },
|
|
191
|
-
"description": "Columns to partition by"
|
|
192
|
-
},
|
|
193
|
-
"write_mode": {
|
|
194
|
-
"type": "string",
|
|
195
|
-
"enum": ["overwrite", "append"],
|
|
196
|
-
"default": "overwrite"
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
]
|
|
202
|
-
}
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://pycharter.io/schemas/etl/pipeline.json",
|
|
4
|
-
"title": "ETL Pipeline Configuration",
|
|
5
|
-
"description": "Complete ETL pipeline configuration (single-file format)",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"required": ["extract", "load"],
|
|
8
|
-
"properties": {
|
|
9
|
-
"name": {
|
|
10
|
-
"type": "string",
|
|
11
|
-
"description": "Pipeline name"
|
|
12
|
-
},
|
|
13
|
-
"version": {
|
|
14
|
-
"type": "string",
|
|
15
|
-
"description": "Pipeline version"
|
|
16
|
-
},
|
|
17
|
-
"description": {
|
|
18
|
-
"type": "string",
|
|
19
|
-
"description": "Pipeline description"
|
|
20
|
-
},
|
|
21
|
-
"extract": {
|
|
22
|
-
"$ref": "extract.json",
|
|
23
|
-
"description": "Extract configuration"
|
|
24
|
-
},
|
|
25
|
-
"transform": {
|
|
26
|
-
"description": "Transform configuration - can be a list (ordered) or object (legacy)",
|
|
27
|
-
"oneOf": [
|
|
28
|
-
{
|
|
29
|
-
"type": "array",
|
|
30
|
-
"description": "List of transform operations (executed in order)",
|
|
31
|
-
"items": {
|
|
32
|
-
"type": "object",
|
|
33
|
-
"minProperties": 1,
|
|
34
|
-
"maxProperties": 1,
|
|
35
|
-
"properties": {
|
|
36
|
-
"rename": {
|
|
37
|
-
"type": "object",
|
|
38
|
-
"additionalProperties": { "type": "string" }
|
|
39
|
-
},
|
|
40
|
-
"convert": {
|
|
41
|
-
"type": "object",
|
|
42
|
-
"additionalProperties": { "type": "string" }
|
|
43
|
-
},
|
|
44
|
-
"defaults": {
|
|
45
|
-
"type": "object"
|
|
46
|
-
},
|
|
47
|
-
"add": {
|
|
48
|
-
"type": "object"
|
|
49
|
-
},
|
|
50
|
-
"select": {
|
|
51
|
-
"type": "array",
|
|
52
|
-
"items": { "type": "string" }
|
|
53
|
-
},
|
|
54
|
-
"drop": {
|
|
55
|
-
"type": "array",
|
|
56
|
-
"items": { "type": "string" }
|
|
57
|
-
},
|
|
58
|
-
"filter": {
|
|
59
|
-
"type": "object"
|
|
60
|
-
},
|
|
61
|
-
"custom_function": {
|
|
62
|
-
"type": "object",
|
|
63
|
-
"required": ["module", "function"],
|
|
64
|
-
"properties": {
|
|
65
|
-
"module": { "type": "string" },
|
|
66
|
-
"function": { "type": "string" },
|
|
67
|
-
"kwargs": { "type": "object" }
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"type": "object",
|
|
75
|
-
"description": "Legacy object format",
|
|
76
|
-
"properties": {
|
|
77
|
-
"rename": { "type": "object" },
|
|
78
|
-
"convert": { "type": "object" },
|
|
79
|
-
"defaults": { "type": "object" },
|
|
80
|
-
"add": { "type": "object" },
|
|
81
|
-
"select": { "type": "array" },
|
|
82
|
-
"drop": { "type": "array" },
|
|
83
|
-
"filter": { "type": "object" },
|
|
84
|
-
"custom_function": { "type": "object" }
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
]
|
|
88
|
-
},
|
|
89
|
-
"load": {
|
|
90
|
-
"$ref": "load.json",
|
|
91
|
-
"description": "Load configuration"
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
}
|