dlthub-client 0.27.0a0__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.
- dlthub_client-0.27.0a0/.gitignore +269 -0
- dlthub_client-0.27.0a0/LICENSE.txt +203 -0
- dlthub_client-0.27.0a0/PKG-INFO +67 -0
- dlthub_client-0.27.0a0/README.md +35 -0
- dlthub_client-0.27.0a0/dlt_runtime/__init__.py +3 -0
- dlthub_client-0.27.0a0/dlt_runtime/__plugin__.py +111 -0
- dlthub_client-0.27.0a0/dlt_runtime/_runtime_command.py +2129 -0
- dlthub_client-0.27.0a0/dlt_runtime/_runtime_command_helpers.py +1363 -0
- dlthub_client-0.27.0a0/dlt_runtime/_runtime_command_views.py +829 -0
- dlthub_client-0.27.0a0/dlt_runtime/commands.py +915 -0
- dlthub_client-0.27.0a0/dlt_runtime/exceptions.py +123 -0
- dlthub_client-0.27.0a0/dlt_runtime/py.typed +0 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime.py +549 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/__init__.py +8 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/api_keys/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/api_keys/create_user_api_key.py +243 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/api_keys/delete_user_api_key.py +227 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/api_keys/list_user_api_keys.py +251 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/configurations/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/configurations/create_configuration.py +255 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/configurations/get_configuration.py +255 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/configurations/get_latest_configuration.py +239 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/configurations/list_configurations.py +279 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/dataplanes/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/dataplanes/list_dataplanes.py +171 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/deployments/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/deployments/create_deployment.py +255 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/deployments/get_deployment.py +253 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/deployments/get_latest_deployment.py +239 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/deployments/list_deployments.py +279 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/me/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/me/complete_onboarding.py +279 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/me/me.py +223 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/me/organization_me.py +247 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/me/workspace_me.py +247 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/organizations/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/organizations/add_organization_member.py +276 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/organizations/create_organization.py +251 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/organizations/get_organization.py +239 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/organizations/get_organization_plan.py +247 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/organizations/list_organization_members.py +246 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/organizations/list_organizations.py +195 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/organizations/remove_organization_member.py +247 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/organizations/update_organization.py +268 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/runs/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/runs/bulk_cancel_runs.py +272 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/runs/cancel_run.py +253 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/runs/create_run.py +308 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/runs/get_latest_run.py +267 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/runs/get_run.py +281 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/runs/list_runs.py +461 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/archive_script.py +257 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/create_or_update_script.py +272 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/disable_public_url.py +257 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/enable_public_url.py +261 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/get_latest_script_version.py +253 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/get_script.py +253 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/get_script_version.py +269 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/list_script_versions.py +293 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/list_scripts.py +322 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/trigger_jobs.py +304 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/scripts/unarchive_script.py +257 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/stats/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/stats/get_organization_stats.py +342 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/stats/get_workspace_stats.py +342 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/stats/get_workspace_watermark.py +227 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/workspaces/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/workspaces/add_workspace_member.py +280 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/workspaces/create_workspace.py +264 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/workspaces/deploy.py +292 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/workspaces/get_workspace.py +239 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/workspaces/get_workspace_dataplane_access_token.py +263 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/workspaces/list_workspace_members.py +246 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/workspaces/list_workspaces.py +280 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/workspaces/remove_workspace_member.py +247 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/api/workspaces/update_workspace.py +260 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/client.py +282 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/errors.py +16 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/__init__.py +191 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/add_organization_member_request.py +115 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/add_workspace_member_request.py +115 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/bucket_size.py +13 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/bulk_cancel_request.py +72 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/bulk_cancel_response.py +83 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/cancelled_run_info.py +88 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/configuration_create_payload.py +102 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/configuration_response.py +136 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/create_organization_request.py +103 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/create_run_request.py +135 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/create_script_request.py +182 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/create_user_api_key_request.py +72 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/create_user_api_key_response.py +112 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/dataplane_access_token_response.py +69 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/dataplane_info.py +99 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/deploy_manifest_request.py +144 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/deploy_manifest_response.py +155 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/deployment_create_payload.py +102 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/deployment_response.py +136 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/detailed_run_response.py +422 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/detailed_script_response.py +544 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_400.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_400_extra.py +47 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_401.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_401_extra.py +47 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_403.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_403_extra.py +47 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_404.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_404_extra.py +47 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_409.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_409_extra.py +47 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_412.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/error_response_412_extra.py +47 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/executor_run_status_request.py +126 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/list_configurations_response_200.py +106 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/list_deployments_response_200.py +106 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/list_runs_response_200.py +106 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/list_script_versions_response_200.py +106 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/list_scripts_archived.py +10 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/list_scripts_response_200.py +106 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/me_response.py +181 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/onboarding_request.py +113 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/organization_me_response.py +128 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/organization_member_response.py +86 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/organization_membership_response.py +92 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/organization_membership_role.py +9 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/organization_plan_response.py +114 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/organization_plan_type.py +9 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/organization_response.py +119 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/pipeline_run_summary_response.py +245 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/run_bucket_data.py +84 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/run_mode.py +9 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/run_response.py +412 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/run_stats_bucket.py +77 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/run_stats_response.py +113 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/run_status.py +15 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/run_status_filter.py +11 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/script_response.py +510 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/script_type.py +10 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/script_version_response.py +413 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/status_counts.py +86 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_deliver_spec.py +79 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_entry_point.py +94 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_entry_point_job_type.py +10 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_execute_spec.py +120 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_expose_spec.py +142 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_expose_spec_category.py +11 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_expose_spec_interface.py +10 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_interval_spec.py +109 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_job_definition.py +233 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_job_definition_refresh.py +10 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_require_spec.py +108 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/t_timeout_spec.py +89 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/trigger_jobs_request.py +157 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/trigger_jobs_response.py +75 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/triggered_job.py +212 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/triggered_job_status.py +16 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/update_organization_request.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/updated_script.py +106 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/upload_initiated_response.py +132 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/upsert_job_run_pipeline_run_summary_request.py +245 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/user_api_key_response.py +166 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/watermark_response.py +85 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/workspace_create_request.py +83 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/workspace_me_response.py +118 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/workspace_member_response.py +78 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/workspace_membership_response.py +75 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/workspace_membership_role.py +9 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/workspace_response.py +159 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/workspace_response_predefined_profiles.py +47 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/workspace_update_request.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/models/workspace_with_membership_response.py +85 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/api/types.py +54 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/__init__.py +8 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/api/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/api/default/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/api/default/logout.py +164 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/api/default/logout_all_devices.py +164 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/api/default/refresh.py +172 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/api/workos/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/api/workos/workos_device_flow_complete.py +166 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/api/workos/workos_device_flow_start.py +128 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/api/workos/workos_token_exchange.py +166 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/client.py +282 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/errors.py +16 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/__init__.py +27 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/error_response_400.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/error_response_400_extra.py +47 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/error_response_401.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/error_response_401_extra.py +47 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/login_response.py +86 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/logout_request.py +61 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/refresh_request.py +61 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/refresh_response.py +69 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/workos_device_flow_login_request.py +61 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/workos_device_flow_start_response.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/models/workos_token_exchange_request.py +61 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/auth/types.py +54 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/__init__.py +8 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/api/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/api/default/__init__.py +1 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/api/default/get_workspace_run_logs.py +176 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/api/default/stream_workspace_run_logs.py +174 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/client.py +282 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/errors.py +16 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/models/__init__.py +17 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/models/error_response_400.py +93 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/models/error_response_400_extra.py +47 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/models/log_line.py +89 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/models/log_phase.py +9 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/models/run_ticket_response.py +83 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/models/workspace_run_logs_response.py +98 -0
- dlthub_client-0.27.0a0/dlt_runtime/runtime_clients/logs/types.py +54 -0
- dlthub_client-0.27.0a0/dlt_runtime/strings.py +74 -0
- dlthub_client-0.27.0a0/dlt_runtime/typing.py +173 -0
- dlthub_client-0.27.0a0/dlt_runtime/urls.py +54 -0
- dlthub_client-0.27.0a0/dlt_runtime/version.py +5 -0
- dlthub_client-0.27.0a0/pyproject.toml +160 -0
|
@@ -0,0 +1,269 @@
|
|
|
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
|
+
downloads/
|
|
15
|
+
eggs/
|
|
16
|
+
.eggs/
|
|
17
|
+
lib64/
|
|
18
|
+
parts/
|
|
19
|
+
sdist/
|
|
20
|
+
var/
|
|
21
|
+
wheels/
|
|
22
|
+
share/python-wheels/
|
|
23
|
+
*.egg-info/
|
|
24
|
+
.installed.cfg
|
|
25
|
+
*.egg
|
|
26
|
+
MANIFEST
|
|
27
|
+
|
|
28
|
+
# PyInstaller
|
|
29
|
+
# Usually these files are written by a python script from a template
|
|
30
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
31
|
+
*.manifest
|
|
32
|
+
*.spec
|
|
33
|
+
|
|
34
|
+
# Installer logs
|
|
35
|
+
pip-log.txt
|
|
36
|
+
pip-delete-this-directory.txt
|
|
37
|
+
|
|
38
|
+
# Unit test / coverage reports
|
|
39
|
+
htmlcov/
|
|
40
|
+
.tox/
|
|
41
|
+
.nox/
|
|
42
|
+
.coverage
|
|
43
|
+
.coverage.*
|
|
44
|
+
.cache
|
|
45
|
+
nosetests.xml
|
|
46
|
+
coverage.xml
|
|
47
|
+
*.cover
|
|
48
|
+
*.py.cover
|
|
49
|
+
.hypothesis/
|
|
50
|
+
.pytest_cache/
|
|
51
|
+
cover/
|
|
52
|
+
|
|
53
|
+
# Translations
|
|
54
|
+
*.mo
|
|
55
|
+
*.pot
|
|
56
|
+
|
|
57
|
+
# Django stuff:
|
|
58
|
+
*.log
|
|
59
|
+
local_settings.py
|
|
60
|
+
db.sqlite3
|
|
61
|
+
db.sqlite3-journal
|
|
62
|
+
|
|
63
|
+
# Flask stuff:
|
|
64
|
+
instance/
|
|
65
|
+
.webassets-cache
|
|
66
|
+
|
|
67
|
+
# Scrapy stuff:
|
|
68
|
+
.scrapy
|
|
69
|
+
|
|
70
|
+
# Sphinx documentation
|
|
71
|
+
docs/_build/
|
|
72
|
+
|
|
73
|
+
# PyBuilder
|
|
74
|
+
.pybuilder/
|
|
75
|
+
target/
|
|
76
|
+
|
|
77
|
+
# Jupyter Notebook
|
|
78
|
+
.ipynb_checkpoints
|
|
79
|
+
|
|
80
|
+
# IPython
|
|
81
|
+
profile_default/
|
|
82
|
+
ipython_config.py
|
|
83
|
+
|
|
84
|
+
# pyenv
|
|
85
|
+
# For a library or package, you might want to ignore these files since the code is
|
|
86
|
+
# intended to run in multiple environments; otherwise, check them in:
|
|
87
|
+
# .python-version
|
|
88
|
+
|
|
89
|
+
# pipenv
|
|
90
|
+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
|
91
|
+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
|
92
|
+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
|
93
|
+
# install all needed dependencies.
|
|
94
|
+
# Pipfile.lock
|
|
95
|
+
|
|
96
|
+
# UV
|
|
97
|
+
# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
|
|
98
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
99
|
+
# commonly ignored for libraries.
|
|
100
|
+
# uv.lock
|
|
101
|
+
|
|
102
|
+
# poetry
|
|
103
|
+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
|
104
|
+
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
|
105
|
+
# commonly ignored for libraries.
|
|
106
|
+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
|
107
|
+
# poetry.lock
|
|
108
|
+
# poetry.toml
|
|
109
|
+
|
|
110
|
+
# pdm
|
|
111
|
+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
|
|
112
|
+
# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.
|
|
113
|
+
# https://pdm-project.org/en/latest/usage/project/#working-with-version-control
|
|
114
|
+
# pdm.lock
|
|
115
|
+
# pdm.toml
|
|
116
|
+
.pdm-python
|
|
117
|
+
.pdm-build/
|
|
118
|
+
|
|
119
|
+
# pixi
|
|
120
|
+
# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.
|
|
121
|
+
# pixi.lock
|
|
122
|
+
# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one
|
|
123
|
+
# in the .venv directory. It is recommended not to include this directory in version control.
|
|
124
|
+
.pixi
|
|
125
|
+
|
|
126
|
+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
|
|
127
|
+
__pypackages__/
|
|
128
|
+
|
|
129
|
+
# Celery stuff
|
|
130
|
+
celerybeat-schedule
|
|
131
|
+
celerybeat.pid
|
|
132
|
+
|
|
133
|
+
# Redis
|
|
134
|
+
*.rdb
|
|
135
|
+
*.aof
|
|
136
|
+
*.pid
|
|
137
|
+
|
|
138
|
+
# RabbitMQ
|
|
139
|
+
mnesia/
|
|
140
|
+
rabbitmq/
|
|
141
|
+
rabbitmq-data/
|
|
142
|
+
|
|
143
|
+
# ActiveMQ
|
|
144
|
+
activemq-data/
|
|
145
|
+
|
|
146
|
+
# SageMath parsed files
|
|
147
|
+
*.sage.py
|
|
148
|
+
|
|
149
|
+
# Environments
|
|
150
|
+
.env
|
|
151
|
+
.envrc
|
|
152
|
+
.venv
|
|
153
|
+
env/
|
|
154
|
+
venv/
|
|
155
|
+
ENV/
|
|
156
|
+
env.bak/
|
|
157
|
+
venv.bak/
|
|
158
|
+
|
|
159
|
+
# Spyder project settings
|
|
160
|
+
.spyderproject
|
|
161
|
+
.spyproject
|
|
162
|
+
|
|
163
|
+
# Rope project settings
|
|
164
|
+
.ropeproject
|
|
165
|
+
|
|
166
|
+
# mkdocs documentation
|
|
167
|
+
/site
|
|
168
|
+
|
|
169
|
+
# mypy
|
|
170
|
+
.mypy_cache/
|
|
171
|
+
.dmypy.json
|
|
172
|
+
dmypy.json
|
|
173
|
+
|
|
174
|
+
# Pyre type checker
|
|
175
|
+
.pyre/
|
|
176
|
+
|
|
177
|
+
# pytype static type analyzer
|
|
178
|
+
.pytype/
|
|
179
|
+
|
|
180
|
+
# Cython debug symbols
|
|
181
|
+
cython_debug/
|
|
182
|
+
|
|
183
|
+
# PyCharm
|
|
184
|
+
# JetBrains specific template is maintained in a separate JetBrains.gitignore that can
|
|
185
|
+
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
|
186
|
+
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
|
187
|
+
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
|
188
|
+
# .idea/
|
|
189
|
+
|
|
190
|
+
# Abstra
|
|
191
|
+
# Abstra is an AI-powered process automation framework.
|
|
192
|
+
# Ignore directories containing user credentials, local state, and settings.
|
|
193
|
+
# Learn more at https://abstra.io/docs
|
|
194
|
+
.abstra/
|
|
195
|
+
|
|
196
|
+
# Visual Studio Code
|
|
197
|
+
# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore
|
|
198
|
+
# that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
|
|
199
|
+
# and can be added to the global gitignore or merged into this file. However, if you prefer,
|
|
200
|
+
# you could uncomment the following to ignore the entire vscode folder
|
|
201
|
+
.vscode/
|
|
202
|
+
|
|
203
|
+
# Ruff stuff:
|
|
204
|
+
.ruff_cache/
|
|
205
|
+
|
|
206
|
+
# PyPI configuration file
|
|
207
|
+
.pypirc
|
|
208
|
+
|
|
209
|
+
# Marimo
|
|
210
|
+
marimo/_static/
|
|
211
|
+
marimo/_lsp/
|
|
212
|
+
__marimo__/
|
|
213
|
+
|
|
214
|
+
# Streamlit
|
|
215
|
+
.streamlit/secrets.toml
|
|
216
|
+
|
|
217
|
+
# Bucket
|
|
218
|
+
_bucket/
|
|
219
|
+
|
|
220
|
+
.DS_Store
|
|
221
|
+
|
|
222
|
+
# Infrastructure
|
|
223
|
+
.infrastructure/templates/**
|
|
224
|
+
.infrastructure/Makefile
|
|
225
|
+
.infrastructure/deploy.sh
|
|
226
|
+
|
|
227
|
+
# Generated requirements files (from: make export-requirements)
|
|
228
|
+
*/requirements.txt
|
|
229
|
+
*/requirements.dev.txt
|
|
230
|
+
*/*/requirements.txt
|
|
231
|
+
*/*/requirements.dev.txt
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
# CLI
|
|
235
|
+
tools/runtime_clients/**
|
|
236
|
+
cli/_storage*
|
|
237
|
+
.integration_tests/tests/cli/_storage*
|
|
238
|
+
|
|
239
|
+
.caddy/.certs/**
|
|
240
|
+
|
|
241
|
+
# Temporary files
|
|
242
|
+
tmp/
|
|
243
|
+
*.duckdb
|
|
244
|
+
/coverage.json
|
|
245
|
+
.integration_tests/test-results/**
|
|
246
|
+
|
|
247
|
+
# Generated local/CI cryptographic material (docker compose)
|
|
248
|
+
.deploy/.env.crypto
|
|
249
|
+
|
|
250
|
+
# Generated per-service crypto files (local dev / unit tests).
|
|
251
|
+
# ``**/.env.crypto`` matches any depth so nested service trees (e.g.
|
|
252
|
+
# ``dataplane/api/.env.crypto``) are caught alongside top-level services.
|
|
253
|
+
**/.env.crypto
|
|
254
|
+
|
|
255
|
+
# Generated per-service env files for live environments (deleted after GSM import)
|
|
256
|
+
.deploy/dev/
|
|
257
|
+
.deploy/staging/
|
|
258
|
+
.deploy/production/
|
|
259
|
+
|
|
260
|
+
# Generated test cryptographic material
|
|
261
|
+
common/dlt_runtime_common/tests/const_crypto.py
|
|
262
|
+
|
|
263
|
+
# Claude Code worktrees
|
|
264
|
+
.worktrees/
|
|
265
|
+
|
|
266
|
+
# Claude Code local memory
|
|
267
|
+
.claude/memory/
|
|
268
|
+
|
|
269
|
+
experiments/
|
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
Apache License
|
|
4
|
+
Version 2.0, January 2004
|
|
5
|
+
http://www.apache.org/licenses/
|
|
6
|
+
|
|
7
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
8
|
+
|
|
9
|
+
1. Definitions.
|
|
10
|
+
|
|
11
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
12
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
13
|
+
|
|
14
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
15
|
+
the copyright owner that is granting the License.
|
|
16
|
+
|
|
17
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
18
|
+
other entities that control, are controlled by, or are under common
|
|
19
|
+
control with that entity. For the purposes of this definition,
|
|
20
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
21
|
+
direction or management of such entity, whether by contract or
|
|
22
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
23
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
24
|
+
|
|
25
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
26
|
+
exercising permissions granted by this License.
|
|
27
|
+
|
|
28
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
29
|
+
including but not limited to software source code, documentation
|
|
30
|
+
source, and configuration files.
|
|
31
|
+
|
|
32
|
+
"Object" form shall mean any form resulting from mechanical
|
|
33
|
+
transformation or translation of a Source form, including but
|
|
34
|
+
not limited to compiled object code, generated documentation,
|
|
35
|
+
and conversions to other media types.
|
|
36
|
+
|
|
37
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
38
|
+
Object form, made available under the License, as indicated by a
|
|
39
|
+
copyright notice that is included in or attached to the work
|
|
40
|
+
(an example is provided in the Appendix below).
|
|
41
|
+
|
|
42
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
43
|
+
form, that is based on (or derived from) the Work and for which the
|
|
44
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
45
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
46
|
+
of this License, Derivative Works shall not include works that remain
|
|
47
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
48
|
+
the Work and Derivative Works thereof.
|
|
49
|
+
|
|
50
|
+
"Contribution" shall mean any work of authorship, including
|
|
51
|
+
the original version of the Work and any modifications or additions
|
|
52
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
53
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
54
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
55
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
56
|
+
means any form of electronic, verbal, or written communication sent
|
|
57
|
+
to the Licensor or its representatives, including but not limited to
|
|
58
|
+
communication on electronic mailing lists, source code control systems,
|
|
59
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
60
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
61
|
+
excluding communication that is conspicuously marked or otherwise
|
|
62
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
63
|
+
|
|
64
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
65
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
66
|
+
subsequently incorporated within the Work.
|
|
67
|
+
|
|
68
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
69
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
70
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
71
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
72
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
73
|
+
Work and such Derivative Works in Source or Object form.
|
|
74
|
+
|
|
75
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
76
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
77
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
78
|
+
(except as stated in this section) patent license to make, have made,
|
|
79
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
80
|
+
where such license applies only to those patent claims licensable
|
|
81
|
+
by such Contributor that are necessarily infringed by their
|
|
82
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
83
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
84
|
+
institute patent litigation against any entity (including a
|
|
85
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
86
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
87
|
+
or contributory patent infringement, then any patent licenses
|
|
88
|
+
granted to You under this License for that Work shall terminate
|
|
89
|
+
as of the date such litigation is filed.
|
|
90
|
+
|
|
91
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
92
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
93
|
+
modifications, and in Source or Object form, provided that You
|
|
94
|
+
meet the following conditions:
|
|
95
|
+
|
|
96
|
+
(a) You must give any other recipients of the Work or
|
|
97
|
+
Derivative Works a copy of this License; and
|
|
98
|
+
|
|
99
|
+
(b) You must cause any modified files to carry prominent notices
|
|
100
|
+
stating that You changed the files; and
|
|
101
|
+
|
|
102
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
103
|
+
that You distribute, all copyright, patent, trademark, and
|
|
104
|
+
attribution notices from the Source form of the Work,
|
|
105
|
+
excluding those notices that do not pertain to any part of
|
|
106
|
+
the Derivative Works; and
|
|
107
|
+
|
|
108
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
109
|
+
distribution, then any Derivative Works that You distribute must
|
|
110
|
+
include a readable copy of the attribution notices contained
|
|
111
|
+
within such NOTICE file, excluding those notices that do not
|
|
112
|
+
pertain to any part of the Derivative Works, in at least one
|
|
113
|
+
of the following places: within a NOTICE text file distributed
|
|
114
|
+
as part of the Derivative Works; within the Source form or
|
|
115
|
+
documentation, if provided along with the Derivative Works; or,
|
|
116
|
+
within a display generated by the Derivative Works, if and
|
|
117
|
+
wherever such third-party notices normally appear. The contents
|
|
118
|
+
of the NOTICE file are for informational purposes only and
|
|
119
|
+
do not modify the License. You may add Your own attribution
|
|
120
|
+
notices within Derivative Works that You distribute, alongside
|
|
121
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
122
|
+
that such additional attribution notices cannot be construed
|
|
123
|
+
as modifying the License.
|
|
124
|
+
|
|
125
|
+
You may add Your own copyright statement to Your modifications and
|
|
126
|
+
may provide additional or different license terms and conditions
|
|
127
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
128
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
129
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
130
|
+
the conditions stated in this License.
|
|
131
|
+
|
|
132
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
133
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
134
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
135
|
+
this License, without any additional terms or conditions.
|
|
136
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
137
|
+
the terms of any separate license agreement you may have executed
|
|
138
|
+
with Licensor regarding such Contributions.
|
|
139
|
+
|
|
140
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
141
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
142
|
+
except as required for reasonable and customary use in describing the
|
|
143
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
144
|
+
|
|
145
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
146
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
147
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
148
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
149
|
+
implied, including, without limitation, any warranties or conditions
|
|
150
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
151
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
152
|
+
appropriateness of using or redistributing the Work and assume any
|
|
153
|
+
risks associated with Your exercise of permissions under this License.
|
|
154
|
+
|
|
155
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
156
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
157
|
+
unless required by applicable law (such as deliberate and grossly
|
|
158
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
159
|
+
liable to You for damages, including any direct, indirect, special,
|
|
160
|
+
incidental, or consequential damages of any character arising as a
|
|
161
|
+
result of this License or out of the use or inability to use the
|
|
162
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
163
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
164
|
+
other commercial damages or losses), even if such Contributor
|
|
165
|
+
has been advised of the possibility of such damages.
|
|
166
|
+
|
|
167
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
168
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
169
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
170
|
+
or other liability obligations and/or rights consistent with this
|
|
171
|
+
License. However, in accepting such obligations, You may act only
|
|
172
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
173
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
174
|
+
defend, and hold each Contributor harmless for any liability
|
|
175
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
176
|
+
of your accepting any such warranty or additional liability.
|
|
177
|
+
|
|
178
|
+
END OF TERMS AND CONDITIONS
|
|
179
|
+
|
|
180
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
181
|
+
|
|
182
|
+
To apply the Apache License to your work, attach the following
|
|
183
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
184
|
+
replaced with your own identifying information. (Don't include
|
|
185
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
186
|
+
comment syntax for the file format. We also recommend that a
|
|
187
|
+
file or class name and description of purpose be included on the
|
|
188
|
+
same "printed page" as the copyright notice for easier
|
|
189
|
+
identification within third-party archives.
|
|
190
|
+
|
|
191
|
+
Copyright 2022-2025 ScaleVector
|
|
192
|
+
|
|
193
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
194
|
+
you may not use this file except in compliance with the License.
|
|
195
|
+
You may obtain a copy of the License at
|
|
196
|
+
|
|
197
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
198
|
+
|
|
199
|
+
Unless required by applicable law or agreed to in writing, software
|
|
200
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
201
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
202
|
+
See the License for the specific language governing permissions and
|
|
203
|
+
limitations under the License.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: dlthub-client
|
|
3
|
+
Version: 0.27.0a0
|
|
4
|
+
Summary: CLI tool for accessing dltHub runtime
|
|
5
|
+
Author-email: "dltHub Inc." <services@dlthub.com>
|
|
6
|
+
Maintainer-email: Marcin Rudolf <marcin@dlthub.com>, David Sharf <dave@dlthub.com>
|
|
7
|
+
License-Expression: Apache-2.0
|
|
8
|
+
License-File: LICENSE.txt
|
|
9
|
+
Keywords: etl
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
14
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
15
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Topic :: Software Development :: Libraries
|
|
22
|
+
Classifier: Typing :: Typed
|
|
23
|
+
Requires-Python: <3.15,>=3.10
|
|
24
|
+
Requires-Dist: attrs>=23.2.0
|
|
25
|
+
Requires-Dist: cron-descriptor>=1.2.32
|
|
26
|
+
Requires-Dist: croniter>=6.0.0
|
|
27
|
+
Requires-Dist: httpx>=0.26.0
|
|
28
|
+
Requires-Dist: pathspec>=0.11.2
|
|
29
|
+
Requires-Dist: pyjwt>=2.12.0
|
|
30
|
+
Requires-Dist: tabulate>=0.9.0
|
|
31
|
+
Description-Content-Type: text/markdown
|
|
32
|
+
|
|
33
|
+
<h1 align="center">
|
|
34
|
+
<strong>dlthub-client</strong>
|
|
35
|
+
</h1>
|
|
36
|
+
|
|
37
|
+
<div align="center">
|
|
38
|
+
<a target="_blank" href="https://dlthub.com/community" style="background:none">
|
|
39
|
+
<img src="https://img.shields.io/badge/slack-join-dlt.svg?labelColor=191937&color=6F6FF7&logo=slack" style="width: 260px;" />
|
|
40
|
+
</a>
|
|
41
|
+
</div>
|
|
42
|
+
<div align="center">
|
|
43
|
+
<a target="_blank" href="https://pypi.org/project/dlthub-client/" style="background:none">
|
|
44
|
+
<img src="https://img.shields.io/pypi/v/dlthub-client?labelColor=191937&color=6F6FF7">
|
|
45
|
+
</a>
|
|
46
|
+
<a target="_blank" href="https://pypi.org/project/dlthub-client/" style="background:none">
|
|
47
|
+
<img src="https://img.shields.io/pypi/pyversions/dlthub-client?labelColor=191937&color=6F6FF7">
|
|
48
|
+
</a>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
`dlthub-client` is an extension to the open source data load tool ([dlt]((https://dlthub.com/docs/))) that implements
|
|
52
|
+
**dltHub Runtime** API Client and extends the `dlt` command line with `dlt runtime` command. Overall it enables `dlt` users
|
|
53
|
+
to quickly deploy and run their pipelines, datasets, notebooks and mcp servers.
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## Installation
|
|
57
|
+
|
|
58
|
+
`dlthub-client` supports Python 3.10 and above and is a plugin (based on [pluggy](https://github.com/pytest-dev/pluggy)) Use `hub` extra on `dlt` to pick the matching plugin version:
|
|
59
|
+
|
|
60
|
+
```sh
|
|
61
|
+
pip install "dlt[hub]"
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## Documentation
|
|
66
|
+
|
|
67
|
+
Learn more in the [dlthub docs](https://dlthub.com/docs/hub/intro).
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<h1 align="center">
|
|
2
|
+
<strong>dlthub-client</strong>
|
|
3
|
+
</h1>
|
|
4
|
+
|
|
5
|
+
<div align="center">
|
|
6
|
+
<a target="_blank" href="https://dlthub.com/community" style="background:none">
|
|
7
|
+
<img src="https://img.shields.io/badge/slack-join-dlt.svg?labelColor=191937&color=6F6FF7&logo=slack" style="width: 260px;" />
|
|
8
|
+
</a>
|
|
9
|
+
</div>
|
|
10
|
+
<div align="center">
|
|
11
|
+
<a target="_blank" href="https://pypi.org/project/dlthub-client/" style="background:none">
|
|
12
|
+
<img src="https://img.shields.io/pypi/v/dlthub-client?labelColor=191937&color=6F6FF7">
|
|
13
|
+
</a>
|
|
14
|
+
<a target="_blank" href="https://pypi.org/project/dlthub-client/" style="background:none">
|
|
15
|
+
<img src="https://img.shields.io/pypi/pyversions/dlthub-client?labelColor=191937&color=6F6FF7">
|
|
16
|
+
</a>
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
`dlthub-client` is an extension to the open source data load tool ([dlt]((https://dlthub.com/docs/))) that implements
|
|
20
|
+
**dltHub Runtime** API Client and extends the `dlt` command line with `dlt runtime` command. Overall it enables `dlt` users
|
|
21
|
+
to quickly deploy and run their pipelines, datasets, notebooks and mcp servers.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## Installation
|
|
25
|
+
|
|
26
|
+
`dlthub-client` supports Python 3.10 and above and is a plugin (based on [pluggy](https://github.com/pytest-dev/pluggy)) Use `hub` extra on `dlt` to pick the matching plugin version:
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
pip install "dlt[hub]"
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
## Documentation
|
|
34
|
+
|
|
35
|
+
Learn more in the [dlthub docs](https://dlthub.com/docs/hub/intro).
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
from typing import Optional, Type
|
|
2
|
+
|
|
3
|
+
from dlt.common.configuration import plugins
|
|
4
|
+
from dlt.common.configuration.plugins import only_host
|
|
5
|
+
from dlt.common.runtime.run_context import active as run_context_active
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def is_workspace_active() -> bool:
|
|
9
|
+
# verify run context type without importing the workspace package
|
|
10
|
+
ctx = run_context_active()
|
|
11
|
+
return ctx.__class__.__name__ == "WorkspaceRunContext"
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
@plugins.hookimpl(specname="plug_cli")
|
|
15
|
+
@only_host("dlthub")
|
|
16
|
+
def plug_cli_login(host: str) -> Optional[Type[plugins.SupportsCliCommand]]:
|
|
17
|
+
if not is_workspace_active():
|
|
18
|
+
return None
|
|
19
|
+
from dlt_runtime.commands import LoginCommand
|
|
20
|
+
|
|
21
|
+
return LoginCommand
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
@plugins.hookimpl(specname="plug_cli")
|
|
25
|
+
@only_host("dlthub")
|
|
26
|
+
def plug_cli_logout(host: str) -> Optional[Type[plugins.SupportsCliCommand]]:
|
|
27
|
+
if not is_workspace_active():
|
|
28
|
+
return None
|
|
29
|
+
from dlt_runtime.commands import LogoutCommand
|
|
30
|
+
|
|
31
|
+
return LogoutCommand
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
@plugins.hookimpl(specname="plug_cli")
|
|
35
|
+
@only_host("dlthub")
|
|
36
|
+
def plug_cli_run(host: str) -> Optional[Type[plugins.SupportsCliCommand]]:
|
|
37
|
+
if not is_workspace_active():
|
|
38
|
+
return None
|
|
39
|
+
from dlt_runtime.commands import RunCommand
|
|
40
|
+
|
|
41
|
+
return RunCommand
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@plugins.hookimpl(specname="plug_cli")
|
|
45
|
+
@only_host("dlthub")
|
|
46
|
+
def plug_cli_serve(host: str) -> Optional[Type[plugins.SupportsCliCommand]]:
|
|
47
|
+
if not is_workspace_active():
|
|
48
|
+
return None
|
|
49
|
+
from dlt_runtime.commands import ServeCommand
|
|
50
|
+
|
|
51
|
+
return ServeCommand
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
@plugins.hookimpl(specname="plug_cli")
|
|
55
|
+
@only_host("dlthub")
|
|
56
|
+
def plug_cli_workspace(host: str) -> Optional[Type[plugins.SupportsCliCommand]]:
|
|
57
|
+
if not is_workspace_active():
|
|
58
|
+
return None
|
|
59
|
+
from dlt_runtime.commands import WorkspaceCommand
|
|
60
|
+
|
|
61
|
+
return WorkspaceCommand
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
@plugins.hookimpl(specname="plug_cli")
|
|
65
|
+
@only_host("dlthub")
|
|
66
|
+
def plug_cli_deploy(host: str) -> Optional[Type[plugins.SupportsCliCommand]]:
|
|
67
|
+
if not is_workspace_active():
|
|
68
|
+
return None
|
|
69
|
+
from dlt_runtime.commands import DeployCommand
|
|
70
|
+
|
|
71
|
+
return DeployCommand
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
@plugins.hookimpl(specname="plug_cli")
|
|
75
|
+
@only_host("dlthub")
|
|
76
|
+
def plug_cli_show(host: str) -> Optional[Type[plugins.SupportsCliCommand]]:
|
|
77
|
+
if not is_workspace_active():
|
|
78
|
+
return None
|
|
79
|
+
from dlt_runtime.commands import ShowCommand
|
|
80
|
+
|
|
81
|
+
return ShowCommand
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
@plugins.hookimpl(specname="plug_cli")
|
|
85
|
+
@only_host("dlthub")
|
|
86
|
+
def plug_cli_job(host: str) -> Optional[Type[plugins.SupportsCliCommand]]:
|
|
87
|
+
if not is_workspace_active():
|
|
88
|
+
return None
|
|
89
|
+
from dlt_runtime.commands import JobCommand
|
|
90
|
+
|
|
91
|
+
return JobCommand
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
@plugins.hookimpl(specname="plug_cli")
|
|
95
|
+
@only_host("dlthub")
|
|
96
|
+
def plug_cli_pipeline_run(host: str) -> Optional[Type[plugins.SupportsCliCommand]]:
|
|
97
|
+
if not is_workspace_active():
|
|
98
|
+
return None
|
|
99
|
+
from dlt_runtime.commands import PipelineRunCommand
|
|
100
|
+
|
|
101
|
+
return PipelineRunCommand
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
@plugins.hookimpl(specname="plug_cli")
|
|
105
|
+
@only_host("dlthub")
|
|
106
|
+
def plug_cli_pipeline_show(host: str) -> Optional[Type[plugins.SupportsCliCommand]]:
|
|
107
|
+
if not is_workspace_active():
|
|
108
|
+
return None
|
|
109
|
+
from dlt_runtime.commands import PipelineShowCommand
|
|
110
|
+
|
|
111
|
+
return PipelineShowCommand
|