airbyte-cdk 6.45.7__py3-none-any.whl → 6.45.7.post11.dev14564503945__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.
@@ -0,0 +1,63 @@
1
+ # Source Declarative Manifest CLI Usage Guide
2
+
3
+ This guide explains how to install and use the Source Declarative Manifest (SDM) CLI tool for Airbyte connector development.
4
+
5
+ ## Installation
6
+
7
+ ### Standard Installation
8
+
9
+ ```bash
10
+ pipx install airbyte-cdk
11
+ ```
12
+
13
+ If you encounter an error related to a missing `distutils` module, verify that you are running Python version `<=3.11` and try running:
14
+
15
+ ```bash
16
+ python -m pipx install airbyte-cdk
17
+ ```
18
+
19
+ ## Using the CLI
20
+
21
+ The SDM CLI follows standard Airbyte connector command patterns:
22
+
23
+ ```bash
24
+ source-declarative-manifest [command] --config /path/to/config.json
25
+ ```
26
+
27
+ Where [command] can be:
28
+
29
+ spec - Show connector specification
30
+ check - Verify connection to the source
31
+ discover - List available streams
32
+ read - Read data from streams
33
+
34
+ :::caution
35
+ When developing locally (outside a Docker container), the CLI operates in "remote manifest mode" and expects your manifest to be included in your configuration file.
36
+ :::
37
+
38
+ ### Steps for Local Testing
39
+
40
+ 1. Convert your manifest from YAML to JSON
41
+
42
+ Your manifest is defined in YAML, but must be converted to JSON for the config file. You can use an [online tool](https://onlineyamltools.com/convert-yaml-to-json) to do so.
43
+
44
+ Create a config file that includes both your config parameters AND the manifest. Add your entire manifest as a JSON object under the `__injected_declarative_manifest` key
45
+
46
+ Example:
47
+
48
+ ```json
49
+ {
50
+ "api_key": "very_secret_key",
51
+ "start_time": "04:20",
52
+ "__injected_declarative_manifest": {
53
+ // Insert the JSON version of your manifest here
54
+ }
55
+ }
56
+ ```
57
+
58
+ 2. Run the command against your config file
59
+
60
+ ```bash
61
+ source-declarative-manifest check --config /relative/path/to/config.json
62
+ source-declarative-manifest read --config /relative/path/to/config.json --catalog /relative/path/to/catalog.json
63
+ ```
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: airbyte-cdk
3
- Version: 6.45.7
3
+ Version: 6.45.7.post11.dev14564503945
4
4
  Summary: A framework for writing Airbyte Connectors.
5
5
  Home-page: https://airbyte.com
6
6
  License: MIT
@@ -1,4 +1,5 @@
1
1
  airbyte_cdk/__init__.py,sha256=52uncJvDQNHvwKxaqzXgnMYTptIl65LDJr2fvlk8-DU,11707
2
+ airbyte_cdk/cli/README.md,sha256=yEZyrSfnExsogR6eXgjx7bnRaDUlNzLflMDz8tD4Avo,1796
2
3
  airbyte_cdk/cli/__init__.py,sha256=Hu-1XT2KDoYjDF7-_ziDwv5bY3PueGjANOCbzeOegDg,57
3
4
  airbyte_cdk/cli/source_declarative_manifest/__init__.py,sha256=-0ST722Nj65bgRokzpzPkD1NBBW5CytEHFUe38cB86Q,91
4
5
  airbyte_cdk/cli/source_declarative_manifest/_run.py,sha256=9qtbjt-I_stGWzWX6yVUKO_eE-Ga7g-uTuibML9qLBs,8330
@@ -375,9 +376,9 @@ airbyte_cdk/utils/slice_hasher.py,sha256=EDxgROHDbfG-QKQb59m7h_7crN1tRiawdf5uU7G
375
376
  airbyte_cdk/utils/spec_schema_transformations.py,sha256=-5HTuNsnDBAhj-oLeQXwpTGA0HdcjFOf2zTEMUTTg_Y,816
376
377
  airbyte_cdk/utils/stream_status_utils.py,sha256=ZmBoiy5HVbUEHAMrUONxZvxnvfV9CesmQJLDTAIWnWw,1171
377
378
  airbyte_cdk/utils/traced_exception.py,sha256=C8uIBuCL_E4WnBAOPSxBicD06JAldoN9fGsQDp463OY,6292
378
- airbyte_cdk-6.45.7.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
379
- airbyte_cdk-6.45.7.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
380
- airbyte_cdk-6.45.7.dist-info/METADATA,sha256=UXCqZZpSX2ytKm2Zd7mWa8A_AGen9EvpD_6CcNYwmVk,6113
381
- airbyte_cdk-6.45.7.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
382
- airbyte_cdk-6.45.7.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
383
- airbyte_cdk-6.45.7.dist-info/RECORD,,
379
+ airbyte_cdk-6.45.7.post11.dev14564503945.dist-info/LICENSE.txt,sha256=Wfe61S4BaGPj404v8lrAbvhjYR68SHlkzeYrg3_bbuM,1051
380
+ airbyte_cdk-6.45.7.post11.dev14564503945.dist-info/LICENSE_SHORT,sha256=aqF6D1NcESmpn-cqsxBtszTEnHKnlsp8L4x9wAh3Nxg,55
381
+ airbyte_cdk-6.45.7.post11.dev14564503945.dist-info/METADATA,sha256=_ac1yVOXqMp_y2mau-0jhPW93Ue4Zer35V_b6TIaqOE,6135
382
+ airbyte_cdk-6.45.7.post11.dev14564503945.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
383
+ airbyte_cdk-6.45.7.post11.dev14564503945.dist-info/entry_points.txt,sha256=fj-e3PAQvsxsQzyyq8UkG1k8spunWnD4BAH2AwlR6NM,95
384
+ airbyte_cdk-6.45.7.post11.dev14564503945.dist-info/RECORD,,