airbyte-agent-google-drive 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. airbyte_agent_google_drive-0.1.0/.gitignore +29 -0
  2. airbyte_agent_google_drive-0.1.0/CHANGELOG.md +6 -0
  3. airbyte_agent_google_drive-0.1.0/PKG-INFO +124 -0
  4. airbyte_agent_google_drive-0.1.0/README.md +90 -0
  5. airbyte_agent_google_drive-0.1.0/REFERENCE.md +1226 -0
  6. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/__init__.py +83 -0
  7. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/__init__.py +1 -0
  8. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/__init__.py +85 -0
  9. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/auth_strategies.py +1123 -0
  10. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/auth_template.py +135 -0
  11. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
  12. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/cloud_utils/client.py +213 -0
  13. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/connector_model_loader.py +957 -0
  14. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/constants.py +78 -0
  15. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/decorators.py +128 -0
  16. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/exceptions.py +23 -0
  17. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/executor/__init__.py +31 -0
  18. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/executor/hosted_executor.py +197 -0
  19. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/executor/local_executor.py +1524 -0
  20. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/executor/models.py +190 -0
  21. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/extensions.py +655 -0
  22. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/http/__init__.py +37 -0
  23. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
  24. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
  25. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/http/config.py +98 -0
  26. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/http/exceptions.py +119 -0
  27. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/http/protocols.py +114 -0
  28. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/http/response.py +102 -0
  29. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/http_client.py +686 -0
  30. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/introspection.py +262 -0
  31. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/logging/__init__.py +11 -0
  32. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/logging/logger.py +264 -0
  33. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/logging/types.py +92 -0
  34. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/observability/__init__.py +11 -0
  35. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/observability/models.py +19 -0
  36. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/observability/redactor.py +81 -0
  37. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/observability/session.py +94 -0
  38. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/performance/__init__.py +6 -0
  39. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/performance/instrumentation.py +57 -0
  40. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/performance/metrics.py +93 -0
  41. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/schema/__init__.py +75 -0
  42. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/schema/base.py +161 -0
  43. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/schema/components.py +238 -0
  44. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/schema/connector.py +131 -0
  45. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/schema/extensions.py +109 -0
  46. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/schema/operations.py +146 -0
  47. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/schema/security.py +213 -0
  48. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/secrets.py +182 -0
  49. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/__init__.py +10 -0
  50. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/config.py +32 -0
  51. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/events.py +58 -0
  52. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/telemetry/tracker.py +151 -0
  53. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/types.py +241 -0
  54. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/utils.py +60 -0
  55. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/_vendored/connector_sdk/validation.py +822 -0
  56. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/connector.py +1276 -0
  57. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/connector_model.py +4961 -0
  58. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/models.py +585 -0
  59. airbyte_agent_google_drive-0.1.0/airbyte_agent_google_drive/types.py +141 -0
  60. airbyte_agent_google_drive-0.1.0/pyproject.toml +51 -0
@@ -0,0 +1,29 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.egg-info/
6
+ dist/
7
+ build/
8
+ .eggs/
9
+
10
+ # Testing
11
+ .pytest_cache/
12
+ .coverage
13
+ htmlcov/
14
+
15
+ # Virtual environments
16
+ .venv/
17
+ venv/
18
+
19
+ # IDE
20
+ .idea/
21
+ .vscode/
22
+ *.swp
23
+
24
+ # OS
25
+ .DS_Store
26
+ Thumbs.db
27
+
28
+ .env
29
+ configured_connectors.yaml
@@ -0,0 +1,6 @@
1
+ # Google Drive changelog
2
+
3
+ ## [0.1.0] - 2026-01-08
4
+ - Updated connector definition (YAML version 0.1.1)
5
+ - Source commit: a87e3446
6
+ - SDK version: 0.1.0
@@ -0,0 +1,124 @@
1
+ Metadata-Version: 2.4
2
+ Name: airbyte-agent-google-drive
3
+ Version: 0.1.0
4
+ Summary: Airbyte Google-Drive Connector for AI platforms
5
+ Project-URL: Homepage, https://github.com/airbytehq/airbyte-embedded
6
+ Project-URL: Documentation, https://github.com/airbytehq/airbyte-embedded/tree/main/integrations
7
+ Project-URL: Repository, https://github.com/airbytehq/airbyte-embedded
8
+ Project-URL: Issues, https://github.com/airbytehq/airbyte-embedded/issues
9
+ Author-email: Airbyte <contact@airbyte.io>
10
+ License: Elastic-2.0
11
+ Keywords: airbyte,api,connector,google-drive
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: Other/Proprietary License
15
+ Classifier: Programming Language :: Python :: 3
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 :: Python Modules
22
+ Requires-Python: >=3.9
23
+ Requires-Dist: httpx>=0.24.0
24
+ Requires-Dist: jinja2>=3.0.0
25
+ Requires-Dist: jsonpath-ng>=1.6.1
26
+ Requires-Dist: jsonref>=1.1.0
27
+ Requires-Dist: opentelemetry-api>=1.37.0
28
+ Requires-Dist: opentelemetry-sdk>=1.37.0
29
+ Requires-Dist: pydantic>=2.0.0
30
+ Requires-Dist: python-dotenv>=1.0.0
31
+ Requires-Dist: pyyaml>=6.0
32
+ Requires-Dist: segment-analytics-python>=2.2.0
33
+ Description-Content-Type: text/markdown
34
+
35
+ # Google-Drive agent connector
36
+
37
+ Google Drive is a cloud-based file storage and synchronization service that allows users
38
+ to store files, share content, and collaborate on documents. This connector provides
39
+ read-only access to files, shared drives, permissions, comments, replies, revisions,
40
+ and change tracking for data analysis and integration workflows.
41
+
42
+
43
+ ## Example questions
44
+
45
+ The Google-Drive connector is optimized to handle prompts like these.
46
+
47
+ - List all files in my Google Drive
48
+ - Show me files modified in the last week
49
+ - Get details for file abc123
50
+ - Download file abc123 from my Drive
51
+ - Export Google Doc abc123 as PDF
52
+ - Export Google Sheet xyz789 as CSV
53
+ - Get the content of file abc123
54
+ - List all shared drives I have access to
55
+ - Get shared drive xyz789
56
+ - Show permissions for file abc123
57
+ - List comments on file abc123
58
+ - Get all replies to comment def456 on file abc123
59
+ - Show revision history for file abc123
60
+ - What changes have been made since my last sync?
61
+ - Get my Drive storage quota and user info
62
+ - List files in a specific folder
63
+
64
+ ## Unsupported questions
65
+
66
+ The Google-Drive connector isn't currently able to handle prompts like these.
67
+
68
+ - Create a new file in Google Drive
69
+ - Upload a document to Drive
70
+ - Delete a file from Drive
71
+ - Update file permissions
72
+ - Add a comment to a file
73
+ - Move a file to a different folder
74
+
75
+ ## Installation
76
+
77
+ ```bash
78
+ uv pip install airbyte-agent-google-drive
79
+ ```
80
+
81
+ ## Usage
82
+
83
+ ```python
84
+ from airbyte_agent_google_drive import GoogleDriveConnector, GoogleDriveAuthConfig
85
+
86
+ connector = GoogleDriveConnector(
87
+ auth_config=GoogleDriveAuthConfig(
88
+ access_token="...",
89
+ refresh_token="...",
90
+ client_id="...",
91
+ client_secret="..."
92
+ )
93
+ )
94
+ result = await connector.files.list()
95
+ ```
96
+
97
+
98
+ ## Full documentation
99
+
100
+ This connector supports the following entities and actions.
101
+
102
+ | Entity | Actions |
103
+ |--------|---------|
104
+ | Files | [List](./REFERENCE.md#files-list), [Get](./REFERENCE.md#files-get), [Download](./REFERENCE.md#files-download) |
105
+ | Files Export | [Download](./REFERENCE.md#files-export-download) |
106
+ | Drives | [List](./REFERENCE.md#drives-list), [Get](./REFERENCE.md#drives-get) |
107
+ | Permissions | [List](./REFERENCE.md#permissions-list), [Get](./REFERENCE.md#permissions-get) |
108
+ | Comments | [List](./REFERENCE.md#comments-list), [Get](./REFERENCE.md#comments-get) |
109
+ | Replies | [List](./REFERENCE.md#replies-list), [Get](./REFERENCE.md#replies-get) |
110
+ | Revisions | [List](./REFERENCE.md#revisions-list), [Get](./REFERENCE.md#revisions-get) |
111
+ | Changes | [List](./REFERENCE.md#changes-list) |
112
+ | Changes Start Page Token | [Get](./REFERENCE.md#changes-start-page-token-get) |
113
+ | About | [Get](./REFERENCE.md#about-get) |
114
+
115
+
116
+ For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
117
+
118
+ For the service's official API docs, see the [Google-Drive API reference](https://developers.google.com/workspace/drive/api/reference/rest/v3).
119
+
120
+ ## Version information
121
+
122
+ - **Package version:** 0.1.0
123
+ - **Connector version:** 0.1.1
124
+ - **Generated with Connector SDK commit SHA:** a87e344611813eb215749ff982244659556b7b09
@@ -0,0 +1,90 @@
1
+ # Google-Drive agent connector
2
+
3
+ Google Drive is a cloud-based file storage and synchronization service that allows users
4
+ to store files, share content, and collaborate on documents. This connector provides
5
+ read-only access to files, shared drives, permissions, comments, replies, revisions,
6
+ and change tracking for data analysis and integration workflows.
7
+
8
+
9
+ ## Example questions
10
+
11
+ The Google-Drive connector is optimized to handle prompts like these.
12
+
13
+ - List all files in my Google Drive
14
+ - Show me files modified in the last week
15
+ - Get details for file abc123
16
+ - Download file abc123 from my Drive
17
+ - Export Google Doc abc123 as PDF
18
+ - Export Google Sheet xyz789 as CSV
19
+ - Get the content of file abc123
20
+ - List all shared drives I have access to
21
+ - Get shared drive xyz789
22
+ - Show permissions for file abc123
23
+ - List comments on file abc123
24
+ - Get all replies to comment def456 on file abc123
25
+ - Show revision history for file abc123
26
+ - What changes have been made since my last sync?
27
+ - Get my Drive storage quota and user info
28
+ - List files in a specific folder
29
+
30
+ ## Unsupported questions
31
+
32
+ The Google-Drive connector isn't currently able to handle prompts like these.
33
+
34
+ - Create a new file in Google Drive
35
+ - Upload a document to Drive
36
+ - Delete a file from Drive
37
+ - Update file permissions
38
+ - Add a comment to a file
39
+ - Move a file to a different folder
40
+
41
+ ## Installation
42
+
43
+ ```bash
44
+ uv pip install airbyte-agent-google-drive
45
+ ```
46
+
47
+ ## Usage
48
+
49
+ ```python
50
+ from airbyte_agent_google_drive import GoogleDriveConnector, GoogleDriveAuthConfig
51
+
52
+ connector = GoogleDriveConnector(
53
+ auth_config=GoogleDriveAuthConfig(
54
+ access_token="...",
55
+ refresh_token="...",
56
+ client_id="...",
57
+ client_secret="..."
58
+ )
59
+ )
60
+ result = await connector.files.list()
61
+ ```
62
+
63
+
64
+ ## Full documentation
65
+
66
+ This connector supports the following entities and actions.
67
+
68
+ | Entity | Actions |
69
+ |--------|---------|
70
+ | Files | [List](./REFERENCE.md#files-list), [Get](./REFERENCE.md#files-get), [Download](./REFERENCE.md#files-download) |
71
+ | Files Export | [Download](./REFERENCE.md#files-export-download) |
72
+ | Drives | [List](./REFERENCE.md#drives-list), [Get](./REFERENCE.md#drives-get) |
73
+ | Permissions | [List](./REFERENCE.md#permissions-list), [Get](./REFERENCE.md#permissions-get) |
74
+ | Comments | [List](./REFERENCE.md#comments-list), [Get](./REFERENCE.md#comments-get) |
75
+ | Replies | [List](./REFERENCE.md#replies-list), [Get](./REFERENCE.md#replies-get) |
76
+ | Revisions | [List](./REFERENCE.md#revisions-list), [Get](./REFERENCE.md#revisions-get) |
77
+ | Changes | [List](./REFERENCE.md#changes-list) |
78
+ | Changes Start Page Token | [Get](./REFERENCE.md#changes-start-page-token-get) |
79
+ | About | [Get](./REFERENCE.md#about-get) |
80
+
81
+
82
+ For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).
83
+
84
+ For the service's official API docs, see the [Google-Drive API reference](https://developers.google.com/workspace/drive/api/reference/rest/v3).
85
+
86
+ ## Version information
87
+
88
+ - **Package version:** 0.1.0
89
+ - **Connector version:** 0.1.1
90
+ - **Generated with Connector SDK commit SHA:** a87e344611813eb215749ff982244659556b7b09