airbyte-agent-orb 0.1.6__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.
Files changed (58) hide show
  1. airbyte_agent_orb/__init__.py +139 -0
  2. airbyte_agent_orb/_vendored/__init__.py +1 -0
  3. airbyte_agent_orb/_vendored/connector_sdk/__init__.py +82 -0
  4. airbyte_agent_orb/_vendored/connector_sdk/auth_strategies.py +1171 -0
  5. airbyte_agent_orb/_vendored/connector_sdk/auth_template.py +135 -0
  6. airbyte_agent_orb/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
  7. airbyte_agent_orb/_vendored/connector_sdk/cloud_utils/client.py +338 -0
  8. airbyte_agent_orb/_vendored/connector_sdk/connector_model_loader.py +1121 -0
  9. airbyte_agent_orb/_vendored/connector_sdk/constants.py +78 -0
  10. airbyte_agent_orb/_vendored/connector_sdk/exceptions.py +23 -0
  11. airbyte_agent_orb/_vendored/connector_sdk/executor/__init__.py +31 -0
  12. airbyte_agent_orb/_vendored/connector_sdk/executor/hosted_executor.py +230 -0
  13. airbyte_agent_orb/_vendored/connector_sdk/executor/local_executor.py +1848 -0
  14. airbyte_agent_orb/_vendored/connector_sdk/executor/models.py +202 -0
  15. airbyte_agent_orb/_vendored/connector_sdk/extensions.py +693 -0
  16. airbyte_agent_orb/_vendored/connector_sdk/http/__init__.py +37 -0
  17. airbyte_agent_orb/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
  18. airbyte_agent_orb/_vendored/connector_sdk/http/adapters/httpx_adapter.py +260 -0
  19. airbyte_agent_orb/_vendored/connector_sdk/http/config.py +98 -0
  20. airbyte_agent_orb/_vendored/connector_sdk/http/exceptions.py +119 -0
  21. airbyte_agent_orb/_vendored/connector_sdk/http/protocols.py +114 -0
  22. airbyte_agent_orb/_vendored/connector_sdk/http/response.py +104 -0
  23. airbyte_agent_orb/_vendored/connector_sdk/http_client.py +693 -0
  24. airbyte_agent_orb/_vendored/connector_sdk/introspection.py +481 -0
  25. airbyte_agent_orb/_vendored/connector_sdk/logging/__init__.py +11 -0
  26. airbyte_agent_orb/_vendored/connector_sdk/logging/logger.py +273 -0
  27. airbyte_agent_orb/_vendored/connector_sdk/logging/types.py +93 -0
  28. airbyte_agent_orb/_vendored/connector_sdk/observability/__init__.py +11 -0
  29. airbyte_agent_orb/_vendored/connector_sdk/observability/config.py +179 -0
  30. airbyte_agent_orb/_vendored/connector_sdk/observability/models.py +19 -0
  31. airbyte_agent_orb/_vendored/connector_sdk/observability/redactor.py +81 -0
  32. airbyte_agent_orb/_vendored/connector_sdk/observability/session.py +103 -0
  33. airbyte_agent_orb/_vendored/connector_sdk/performance/__init__.py +6 -0
  34. airbyte_agent_orb/_vendored/connector_sdk/performance/instrumentation.py +57 -0
  35. airbyte_agent_orb/_vendored/connector_sdk/performance/metrics.py +93 -0
  36. airbyte_agent_orb/_vendored/connector_sdk/schema/__init__.py +75 -0
  37. airbyte_agent_orb/_vendored/connector_sdk/schema/base.py +212 -0
  38. airbyte_agent_orb/_vendored/connector_sdk/schema/components.py +244 -0
  39. airbyte_agent_orb/_vendored/connector_sdk/schema/connector.py +120 -0
  40. airbyte_agent_orb/_vendored/connector_sdk/schema/extensions.py +301 -0
  41. airbyte_agent_orb/_vendored/connector_sdk/schema/operations.py +156 -0
  42. airbyte_agent_orb/_vendored/connector_sdk/schema/security.py +241 -0
  43. airbyte_agent_orb/_vendored/connector_sdk/secrets.py +182 -0
  44. airbyte_agent_orb/_vendored/connector_sdk/telemetry/__init__.py +10 -0
  45. airbyte_agent_orb/_vendored/connector_sdk/telemetry/config.py +32 -0
  46. airbyte_agent_orb/_vendored/connector_sdk/telemetry/events.py +59 -0
  47. airbyte_agent_orb/_vendored/connector_sdk/telemetry/tracker.py +155 -0
  48. airbyte_agent_orb/_vendored/connector_sdk/types.py +274 -0
  49. airbyte_agent_orb/_vendored/connector_sdk/utils.py +127 -0
  50. airbyte_agent_orb/_vendored/connector_sdk/validation.py +997 -0
  51. airbyte_agent_orb/_vendored/connector_sdk/validation_replication.py +970 -0
  52. airbyte_agent_orb/connector.py +1179 -0
  53. airbyte_agent_orb/connector_model.py +2163 -0
  54. airbyte_agent_orb/models.py +532 -0
  55. airbyte_agent_orb/types.py +1090 -0
  56. airbyte_agent_orb-0.1.6.dist-info/METADATA +153 -0
  57. airbyte_agent_orb-0.1.6.dist-info/RECORD +58 -0
  58. airbyte_agent_orb-0.1.6.dist-info/WHEEL +4 -0
@@ -0,0 +1,153 @@
1
+ Metadata-Version: 2.4
2
+ Name: airbyte-agent-orb
3
+ Version: 0.1.6
4
+ Summary: Airbyte Orb Connector for AI platforms
5
+ Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
6
+ Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
7
+ Project-URL: Repository, https://github.com/airbytehq/airbyte-agent-connectors
8
+ Project-URL: Issues, https://github.com/airbytehq/airbyte-agent-connectors/issues
9
+ Author-email: Airbyte <contact@airbyte.io>
10
+ License: Elastic-2.0
11
+ Keywords: agent,ai,airbyte,api,connector,data-integration,llm,mcp,orb
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: Other/Proprietary License
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.13
22
+ Requires-Dist: httpx>=0.24.0
23
+ Requires-Dist: jinja2>=3.0.0
24
+ Requires-Dist: jsonpath-ng>=1.6.1
25
+ Requires-Dist: jsonref>=1.1.0
26
+ Requires-Dist: opentelemetry-api>=1.37.0
27
+ Requires-Dist: opentelemetry-sdk>=1.37.0
28
+ Requires-Dist: pydantic>=2.0.0
29
+ Requires-Dist: python-dotenv>=1.0.0
30
+ Requires-Dist: pyyaml>=6.0
31
+ Requires-Dist: segment-analytics-python>=2.2.0
32
+ Description-Content-Type: text/markdown
33
+
34
+ # Orb agent connector
35
+
36
+ Orb is a usage-based billing platform that enables businesses to implement flexible pricing models,
37
+ track customer usage, and manage subscriptions. This connector provides access to customers,
38
+ subscriptions, plans, and invoices for billing analytics and customer management.
39
+
40
+
41
+ ## Example questions
42
+
43
+ The Orb connector is optimized to handle prompts like these.
44
+
45
+ - Show me all my customers in Orb
46
+ - List all active subscriptions
47
+ - What plans are available?
48
+ - Show me recent invoices
49
+ - Get details for customer \{customer_id\}
50
+ - What is the status of subscription \{subscription_id\}?
51
+ - List all invoices for a specific customer
52
+ - Show me the pricing details for plan \{plan_id\}
53
+ - List all subscriptions for customer XYZ
54
+ - Show all active subscriptions for a specific customer
55
+ - What subscriptions does customer \{external_customer_id\} have?
56
+ - Confirm the Stripe ID linked to this customer
57
+ - What is the payment provider ID for customer \{customer_id\}?
58
+ - Pull all invoices from the last month
59
+ - Show invoices created after \{date\}
60
+ - List all paid invoices for customer \{customer_id\}
61
+ - What invoices are in draft status?
62
+ - Show all issued invoices for subscription \{subscription_id\}
63
+
64
+ ## Unsupported questions
65
+
66
+ The Orb connector isn't currently able to handle prompts like these.
67
+
68
+ - Create a new customer in Orb
69
+ - Update subscription details
70
+ - Delete a customer record
71
+ - Send an invoice to a customer
72
+ - Filter subscriptions by plan name (must filter client-side after listing)
73
+ - Pull customers billed for specific products (must examine invoice line_items client-side)
74
+
75
+ ## Installation
76
+
77
+ ```bash
78
+ uv pip install airbyte-agent-orb
79
+ ```
80
+
81
+ ## Usage
82
+
83
+ Connectors can run in open source or hosted mode.
84
+
85
+ ### Open source
86
+
87
+ In open source mode, you provide API credentials directly to the connector.
88
+
89
+ ```python
90
+ from airbyte_agent_orb import OrbConnector
91
+ from airbyte_agent_orb.models import OrbAuthConfig
92
+
93
+ connector = OrbConnector(
94
+ auth_config=OrbAuthConfig(
95
+ api_key="<Your Orb API key>"
96
+ )
97
+ )
98
+
99
+ @agent.tool_plain # assumes you're using Pydantic AI
100
+ @OrbConnector.tool_utils
101
+ async def orb_execute(entity: str, action: str, params: dict | None = None):
102
+ return await connector.execute(entity, action, params or {})
103
+ ```
104
+
105
+ ### Hosted
106
+
107
+ In hosted mode, API credentials are stored securely in Airbyte Cloud. You provide your Airbyte credentials instead.
108
+
109
+ This example assumes you've already authenticated your connector with Airbyte. See [Authentication](AUTH.md) to learn more about authenticating. If you need a step-by-step guide, see the [hosted execution tutorial](https://docs.airbyte.com/ai-agents/quickstarts/tutorial-hosted).
110
+
111
+ ```python
112
+ from airbyte_agent_orb import OrbConnector
113
+
114
+ connector = OrbConnector(
115
+ external_user_id="<your_external_user_id>",
116
+ airbyte_client_id="<your-client-id>",
117
+ airbyte_client_secret="<your-client-secret>"
118
+ )
119
+
120
+ @agent.tool_plain # assumes you're using Pydantic AI
121
+ @OrbConnector.tool_utils
122
+ async def orb_execute(entity: str, action: str, params: dict | None = None):
123
+ return await connector.execute(entity, action, params or {})
124
+ ```
125
+
126
+ ## Full documentation
127
+
128
+ ### Entities and actions
129
+
130
+ This connector supports the following entities and actions. For more details, see this connector's [full reference documentation](REFERENCE.md).
131
+
132
+ | Entity | Actions |
133
+ |--------|---------|
134
+ | Customers | [List](./REFERENCE.md#customers-list), [Get](./REFERENCE.md#customers-get) |
135
+ | Subscriptions | [List](./REFERENCE.md#subscriptions-list), [Get](./REFERENCE.md#subscriptions-get) |
136
+ | Plans | [List](./REFERENCE.md#plans-list), [Get](./REFERENCE.md#plans-get) |
137
+ | Invoices | [List](./REFERENCE.md#invoices-list), [Get](./REFERENCE.md#invoices-get) |
138
+
139
+
140
+ ### Authentication and configuration
141
+
142
+ For all authentication and configuration options, see the connector's [authentication documentation](AUTH.md).
143
+
144
+ ### Orb API docs
145
+
146
+ See the official [Orb API reference](https://docs.withorb.com/api-reference).
147
+
148
+ ## Version information
149
+
150
+ - **Package version:** 0.1.6
151
+ - **Connector version:** 0.1.1
152
+ - **Generated with Connector SDK commit SHA:** 9d9866b0aae8c3494d04d34e193b9bd860bfc1c6
153
+ - **Changelog:** [View changelog](https://github.com/airbytehq/airbyte-agent-connectors/blob/main/connectors/orb/CHANGELOG.md)
@@ -0,0 +1,58 @@
1
+ airbyte_agent_orb/__init__.py,sha256=wcX8Dt5ArtPtjCVza0RtL2ZaYaLoTiH0Tea8KOaDR-4,3225
2
+ airbyte_agent_orb/connector.py,sha256=dCsSG2QFX4hdIyMJzNiP0sCj4xWoAKAKKrGxH83AVmc,41497
3
+ airbyte_agent_orb/connector_model.py,sha256=mhxwbi31hLA-oU2I8oQq7uMK4S0KV8XGjCELQRGth50,120056
4
+ airbyte_agent_orb/models.py,sha256=osxB77GIB_XA7tXYWFuzjpnyZxlY71qn8WiadK9IuLw,22410
5
+ airbyte_agent_orb/types.py,sha256=O6Q2AOp8BYjYhpEFvOZXnzQDf-7GAKnpCorER2Puh2E,37077
6
+ airbyte_agent_orb/_vendored/__init__.py,sha256=ILl7AHXMui__swyrjxrh9yRa4dLiwBvV6axPWFWty80,38
7
+ airbyte_agent_orb/_vendored/connector_sdk/__init__.py,sha256=T5o7roU6NSpH-lCAGZ338sE5dlh4ZU6i6IkeG1zpems,1949
8
+ airbyte_agent_orb/_vendored/connector_sdk/auth_strategies.py,sha256=5Sb9moUp623o67Q2wMa8iZldJH08y4gQdoutoO_75Iw,42088
9
+ airbyte_agent_orb/_vendored/connector_sdk/auth_template.py,sha256=nju4jqlFC_KI82ILNumNIyiUtRJcy7J94INIZ0QraI4,4454
10
+ airbyte_agent_orb/_vendored/connector_sdk/connector_model_loader.py,sha256=1AAvSvjxM9Nuto6w7D6skN5VXGb4e6na0lMFcFmmVkI,41761
11
+ airbyte_agent_orb/_vendored/connector_sdk/constants.py,sha256=AtzOvhDMWbRJgpsQNWl5tkogHD6mWgEY668PgRmgtOY,2737
12
+ airbyte_agent_orb/_vendored/connector_sdk/exceptions.py,sha256=ss5MGv9eVPmsbLcLWetuu3sDmvturwfo6Pw3M37Oq5k,481
13
+ airbyte_agent_orb/_vendored/connector_sdk/extensions.py,sha256=XWRRoJOOrwUHSKbuQt5DU7CCu8ePzhd_HuP7c_uD77w,21376
14
+ airbyte_agent_orb/_vendored/connector_sdk/http_client.py,sha256=09Fclbq4wrg38EM2Yh2kHiykQVXqdAGby024elcEz8E,28027
15
+ airbyte_agent_orb/_vendored/connector_sdk/introspection.py,sha256=e9uWn2ofpeehoBbzNgts_bjlKLn8ayA1Y3OpDC3b7ZA,19517
16
+ airbyte_agent_orb/_vendored/connector_sdk/secrets.py,sha256=J9ezMu4xNnLW11xY5RCre6DHP7YMKZCqwGJfk7ufHAM,6855
17
+ airbyte_agent_orb/_vendored/connector_sdk/types.py,sha256=MsWJsQy779r7Mqiqf_gh_4Vs6VDqieoMjLPyWt7qhu8,9412
18
+ airbyte_agent_orb/_vendored/connector_sdk/utils.py,sha256=UYwYuSLhsDD-4C0dBs7Qy0E0gIcFZXb6VWadJORhQQU,4080
19
+ airbyte_agent_orb/_vendored/connector_sdk/validation.py,sha256=w5WGnmILkdBslpXhAXhKhE-c8ANBc_OZQxr_fUeAgtc,39666
20
+ airbyte_agent_orb/_vendored/connector_sdk/validation_replication.py,sha256=v7F5YWd5m4diIF7_4m4nOkC9crg97vqRUUkt9ka9HZ4,36043
21
+ airbyte_agent_orb/_vendored/connector_sdk/cloud_utils/__init__.py,sha256=4799Hv9f2zxDVj1aLyQ8JpTEuFTp_oOZMRz-NZCdBJg,134
22
+ airbyte_agent_orb/_vendored/connector_sdk/cloud_utils/client.py,sha256=e0VLNCmesGGfo2uD0GiICgXsXTeTkh0GYiVgx_e4VEc,12296
23
+ airbyte_agent_orb/_vendored/connector_sdk/executor/__init__.py,sha256=EmG9YQNAjSuYCVB4D5VoLm4qpD1KfeiiOf7bpALj8p8,702
24
+ airbyte_agent_orb/_vendored/connector_sdk/executor/hosted_executor.py,sha256=tv0njAdy-gdHBg4izgcxhEWYbrNiBifEYEca9AWzaL0,8693
25
+ airbyte_agent_orb/_vendored/connector_sdk/executor/local_executor.py,sha256=RtdTXFzfoJz5Coz9nwQi81Df1402BRgO1Mgd3ZzTkfw,76581
26
+ airbyte_agent_orb/_vendored/connector_sdk/executor/models.py,sha256=mUUBnuShKXxVIfsTOhMiI2rn2a-50jJG7SFGKT_P6Jk,6281
27
+ airbyte_agent_orb/_vendored/connector_sdk/http/__init__.py,sha256=y8fbzZn-3yV9OxtYz8Dy6FFGI5v6TOqADd1G3xHH3Hw,911
28
+ airbyte_agent_orb/_vendored/connector_sdk/http/config.py,sha256=6J7YIIwHC6sRu9i-yKa5XvArwK2KU60rlnmxzDZq3lw,3283
29
+ airbyte_agent_orb/_vendored/connector_sdk/http/exceptions.py,sha256=eYdYmxqcwA6pgrSoRXNfR6_nRBGRH6upp2-r1jcKaZo,3586
30
+ airbyte_agent_orb/_vendored/connector_sdk/http/protocols.py,sha256=eV7NbBIQOcPLw-iu8mtkV2zCVgScDwP0ek1SbPNQo0g,3323
31
+ airbyte_agent_orb/_vendored/connector_sdk/http/response.py,sha256=Q-RyM5D0D05ZhmZVJk4hVpmoS8YtyXNOTM5hqBt7rWI,3475
32
+ airbyte_agent_orb/_vendored/connector_sdk/http/adapters/__init__.py,sha256=gjbWdU4LfzUG2PETI0TkfkukdzoCAhpL6FZtIEnkO-s,209
33
+ airbyte_agent_orb/_vendored/connector_sdk/http/adapters/httpx_adapter.py,sha256=7ounOUlpx7RBLLqYSGWzEsOnnCgCBH3WCDaQFJcmKj0,8902
34
+ airbyte_agent_orb/_vendored/connector_sdk/logging/__init__.py,sha256=IZoE5yXhwSA0m3xQqh0FiCifjp1sB3S8jnnFPuJLYf8,227
35
+ airbyte_agent_orb/_vendored/connector_sdk/logging/logger.py,sha256=rUdKDEQe3pOODmBLEcvhgZeEZi48BvrgKXKq1xvCXu0,8387
36
+ airbyte_agent_orb/_vendored/connector_sdk/logging/types.py,sha256=ONb9xKNXUkrR2lojSBMF7ruof7S2r92WjrO_kEZic84,3239
37
+ airbyte_agent_orb/_vendored/connector_sdk/observability/__init__.py,sha256=ojx1n9vaWCXFFvb3-90Pwtg845trFdV2v6wcCoO75Ko,269
38
+ airbyte_agent_orb/_vendored/connector_sdk/observability/config.py,sha256=uWvRAPHnEusVKviQQncqcpnHKNhoZ4ZoFK6nUOSVClY,5372
39
+ airbyte_agent_orb/_vendored/connector_sdk/observability/models.py,sha256=IRGjlJia28_IU7BMSBb5RHWs47yAOLvE20JIIXHazLY,448
40
+ airbyte_agent_orb/_vendored/connector_sdk/observability/redactor.py,sha256=HRbSwGxsfQYbYlG4QBVvv8Qnw0d4SMowMv0dTFHsHqQ,2361
41
+ airbyte_agent_orb/_vendored/connector_sdk/observability/session.py,sha256=WYRIB3bVz9HhpElkUO9CILCRIrWs9p2MR2hmf8uJm3E,3086
42
+ airbyte_agent_orb/_vendored/connector_sdk/performance/__init__.py,sha256=Sp5fSd1LvtIQkv-fnrKqPsM7-6IWp0sSZSK0mhzal_A,200
43
+ airbyte_agent_orb/_vendored/connector_sdk/performance/instrumentation.py,sha256=_dXvNiqdndIBwDjeDKNViWzn_M5FkSUsMmJtFldrmsM,1504
44
+ airbyte_agent_orb/_vendored/connector_sdk/performance/metrics.py,sha256=FRff7dKt4iwt_A7pxV5n9kAGBR756PC7q8-weWygPSM,2817
45
+ airbyte_agent_orb/_vendored/connector_sdk/schema/__init__.py,sha256=Uymu-QuzGJuMxexBagIvUxpVAigIuIhz3KeBl_Vu4Ko,1638
46
+ airbyte_agent_orb/_vendored/connector_sdk/schema/base.py,sha256=mOO5eZSK-FB7S-ZXpt5HFG5YBg8x-oM6RZRLPOEGxZM,7115
47
+ airbyte_agent_orb/_vendored/connector_sdk/schema/components.py,sha256=nJIPieavwX3o3ODvdtLHPk84d_V229xmg6LDfwEHjzc,8119
48
+ airbyte_agent_orb/_vendored/connector_sdk/schema/connector.py,sha256=mSZk1wr2YSdRj9tTRsPAuIlCzd_xZLw-Bzl1sMwE0rE,3731
49
+ airbyte_agent_orb/_vendored/connector_sdk/schema/extensions.py,sha256=5hgpFHK7fzpzegCkJk882DeIP79bCx_qairKJhvPMZ8,9590
50
+ airbyte_agent_orb/_vendored/connector_sdk/schema/operations.py,sha256=St-A75m6sZUZlsoM6WcoPaShYu_X1K19pdyPvJbabOE,6214
51
+ airbyte_agent_orb/_vendored/connector_sdk/schema/security.py,sha256=R-21DLnp-ANIRO1Dzqo53TYFJL6lCp0aO8GSuxa_bDI,9225
52
+ airbyte_agent_orb/_vendored/connector_sdk/telemetry/__init__.py,sha256=RaLgkBU4dfxn1LC5Y0Q9rr2PJbrwjxvPgBLmq8_WafE,211
53
+ airbyte_agent_orb/_vendored/connector_sdk/telemetry/config.py,sha256=tLmQwAFD0kP1WyBGWBS3ysaudN9H3e-3EopKZi6cGKg,885
54
+ airbyte_agent_orb/_vendored/connector_sdk/telemetry/events.py,sha256=8Y1NbXiwISX-V_wRofY7PqcwEXD0dLMnntKkY6XFU2s,1328
55
+ airbyte_agent_orb/_vendored/connector_sdk/telemetry/tracker.py,sha256=SginFQbHqVUVYG82NnNzG34O-tAQ_wZYjGDcuo0q4Kk,5584
56
+ airbyte_agent_orb-0.1.6.dist-info/METADATA,sha256=kSVi9W9VICLxjXBaCQSFqAPyX7uMYqWWhH7cpKpNXuA,5670
57
+ airbyte_agent_orb-0.1.6.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
58
+ airbyte_agent_orb-0.1.6.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any