airbyte-cdk 0.72.1__tar.gz → 6.13.1.dev4106__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (612) hide show
  1. airbyte_cdk-6.13.1.dev4106/PKG-INFO +109 -0
  2. airbyte_cdk-6.13.1.dev4106/README.md +34 -0
  3. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/__init__.py +358 -0
  4. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/cli/__init__.py +1 -0
  5. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/cli/source_declarative_manifest/__init__.py +5 -0
  6. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/cli/source_declarative_manifest/_run.py +230 -0
  7. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/cli/source_declarative_manifest/spec.json +17 -0
  8. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/config_observation.py +29 -10
  9. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/connector.py +24 -24
  10. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/connector_builder/README.md +53 -0
  11. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/connector_builder/connector_builder_handler.py +37 -11
  12. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/connector_builder/main.py +45 -13
  13. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/connector_builder/message_grouper.py +189 -50
  14. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/connector_builder/models.py +3 -2
  15. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/destinations/__init__.py +8 -0
  16. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/destinations/destination.py +54 -20
  17. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/destinations/vector_db_based/README.md +37 -0
  18. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/destinations/vector_db_based/config.py +40 -17
  19. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/destinations/vector_db_based/document_processor.py +56 -17
  20. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/destinations/vector_db_based/embedder.py +57 -15
  21. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/destinations/vector_db_based/test_utils.py +14 -4
  22. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/destinations/vector_db_based/utils.py +8 -2
  23. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/destinations/vector_db_based/writer.py +24 -5
  24. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/entrypoint.py +153 -44
  25. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/exception_handler.py +21 -3
  26. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/logger.py +30 -44
  27. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/models/__init__.py +13 -2
  28. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/models/airbyte_protocol.py +90 -0
  29. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/models/airbyte_protocol_serializers.py +44 -0
  30. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/models/file_transfer_record_message.py +13 -0
  31. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/models/well_known_types.py +5 -0
  32. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/__init__.py +5 -1
  33. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/abstract_source.py +125 -79
  34. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/concurrent_source/__init__.py +8 -0
  35. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/concurrent_source/concurrent_read_processor.py +102 -36
  36. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/concurrent_source/concurrent_source.py +29 -36
  37. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/concurrent_source/concurrent_source_adapter.py +147 -0
  38. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/concurrent_source/stream_thread_exception.py +25 -0
  39. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/concurrent_source/thread_pool_manager.py +20 -14
  40. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/config.py +3 -2
  41. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/connector_state_manager.py +49 -83
  42. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/async_job/job.py +52 -0
  43. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/async_job/job_orchestrator.py +497 -0
  44. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/async_job/job_tracker.py +75 -0
  45. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/async_job/repository.py +35 -0
  46. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/async_job/status.py +24 -0
  47. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/async_job/timer.py +39 -0
  48. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/auth/__init__.py +2 -3
  49. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/auth/declarative_authenticator.py +3 -1
  50. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/auth/jwt.py +191 -0
  51. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/auth/oauth.py +60 -20
  52. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/auth/selective_authenticator.py +10 -2
  53. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/auth/token.py +28 -10
  54. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/auth/token_provider.py +9 -8
  55. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/checks/check_stream.py +16 -8
  56. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/checks/connection_checker.py +4 -2
  57. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/concurrency_level/__init__.py +7 -0
  58. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/concurrency_level/concurrency_level.py +50 -0
  59. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/concurrent_declarative_source.py +421 -0
  60. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/datetime/datetime_parser.py +4 -0
  61. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/datetime/min_max_datetime.py +26 -6
  62. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/declarative_component_schema.yaml +1185 -85
  63. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/declarative_source.py +5 -2
  64. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/declarative_stream.py +95 -9
  65. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/decoders/__init__.py +29 -0
  66. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/decoders/composite_raw_decoder.py +97 -0
  67. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/decoders/decoder.py +11 -4
  68. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/decoders/json_decoder.py +111 -0
  69. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/decoders/noop_decoder.py +21 -0
  70. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/decoders/pagination_decoder_decorator.py +39 -0
  71. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/decoders/xml_decoder.py +98 -0
  72. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/extractors/__init__.py +12 -1
  73. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/extractors/dpath_extractor.py +29 -24
  74. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/extractors/http_selector.py +4 -5
  75. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/extractors/record_extractor.py +2 -3
  76. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/extractors/record_filter.py +93 -0
  77. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/extractors/record_selector.py +156 -0
  78. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/extractors/response_to_file_extractor.py +177 -0
  79. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/extractors/type_transformer.py +55 -0
  80. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/incremental/__init__.py +31 -0
  81. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/incremental/datetime_based_cursor.py +156 -48
  82. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/incremental/declarative_cursor.py +13 -0
  83. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/incremental/global_substream_cursor.py +350 -0
  84. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/incremental/per_partition_cursor.py +348 -0
  85. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/incremental/per_partition_with_global.py +200 -0
  86. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/incremental/resumable_full_refresh_cursor.py +122 -0
  87. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/interpolation/filters.py +27 -1
  88. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/interpolation/interpolated_boolean.py +23 -5
  89. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/interpolation/interpolated_mapping.py +12 -8
  90. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/interpolation/interpolated_nested_mapping.py +13 -6
  91. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/interpolation/interpolated_string.py +21 -6
  92. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/interpolation/interpolation.py +9 -3
  93. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/interpolation/jinja.py +72 -37
  94. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/interpolation/macros.py +72 -17
  95. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/manifest_declarative_source.py +193 -52
  96. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/migrations/legacy_to_per_partition_state_migration.py +98 -0
  97. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/migrations/state_migration.py +24 -0
  98. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/models/__init__.py +2 -0
  99. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/models/declarative_component_schema.py +2143 -0
  100. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/parsers/custom_exceptions.py +2 -2
  101. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/parsers/manifest_component_transformer.py +26 -4
  102. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/parsers/manifest_reference_resolver.py +26 -15
  103. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py +2533 -0
  104. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/partition_routers/__init__.py +29 -0
  105. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/partition_routers/async_job_partition_router.py +65 -0
  106. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/partition_routers/cartesian_product_stream_slicer.py +176 -0
  107. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/partition_routers/list_partition_router.py +39 -9
  108. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/partition_routers/partition_router.py +62 -0
  109. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/partition_routers/single_partition_router.py +15 -3
  110. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/partition_routers/substream_partition_router.py +341 -0
  111. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/error_handlers/__init__.py +19 -5
  112. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/__init__.py +3 -1
  113. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/constant_backoff_strategy.py +45 -0
  114. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/exponential_backoff_strategy.py +45 -0
  115. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/header_helper.py +4 -2
  116. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_time_from_header_backoff_strategy.py +70 -0
  117. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_until_time_from_header_backoff_strategy.py +29 -14
  118. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategy.py +17 -0
  119. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/error_handlers/composite_error_handler.py +32 -16
  120. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/error_handlers/default_error_handler.py +147 -0
  121. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/error_handlers/default_http_response_filter.py +40 -0
  122. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/error_handlers/error_handler.py +17 -0
  123. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/error_handlers/http_response_filter.py +179 -0
  124. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/http_job_repository.py +228 -0
  125. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/http_requester.py +364 -0
  126. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/paginators/__init__.py +14 -3
  127. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/paginators/default_paginator.py +105 -46
  128. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/paginators/no_pagination.py +14 -8
  129. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/paginators/paginator.py +19 -8
  130. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/__init__.py +9 -3
  131. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/paginators/strategies/cursor_pagination_strategy.py +99 -0
  132. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/offset_increment.py +42 -19
  133. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/page_increment.py +25 -12
  134. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/pagination_strategy.py +13 -10
  135. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/paginators/strategies/stop_condition.py +26 -13
  136. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/request_options/__init__.py +23 -0
  137. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/request_options/datetime_based_request_options_provider.py +91 -0
  138. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/request_options/default_request_options_provider.py +60 -0
  139. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_nested_request_input_provider.py +62 -0
  140. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_input_provider.py +27 -15
  141. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_request_options_provider.py +63 -10
  142. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/request_options/request_options_provider.py +1 -1
  143. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/requester.py +9 -17
  144. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/resolvers/__init__.py +41 -0
  145. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/resolvers/components_resolver.py +55 -0
  146. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/resolvers/config_components_resolver.py +136 -0
  147. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/resolvers/http_components_resolver.py +112 -0
  148. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/retrievers/__init__.py +6 -2
  149. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/retrievers/async_retriever.py +100 -0
  150. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/retrievers/retriever.py +1 -3
  151. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/retrievers/simple_retriever.py +228 -72
  152. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/schema/__init__.py +14 -1
  153. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/schema/default_schema_loader.py +5 -3
  154. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/schema/dynamic_schema_loader.py +236 -0
  155. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/schema/json_file_schema_loader.py +8 -8
  156. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/spec/spec.py +12 -5
  157. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/stream_slicers/__init__.py +7 -0
  158. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/stream_slicers/declarative_partition_generator.py +88 -0
  159. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/stream_slicers/stream_slicer.py +9 -14
  160. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/transformations/add_fields.py +19 -11
  161. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/transformations/flatten_fields.py +52 -0
  162. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/transformations/keys_replace_transformation.py +61 -0
  163. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/transformations/keys_to_lower_transformation.py +22 -0
  164. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/transformations/keys_to_snake_transformation.py +68 -0
  165. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/transformations/remove_fields.py +13 -10
  166. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/transformations/transformation.py +5 -5
  167. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/types.py +25 -0
  168. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/yaml_declarative_source.py +63 -0
  169. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/embedded/base_integration.py +16 -5
  170. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/embedded/catalog.py +16 -4
  171. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/embedded/runner.py +19 -3
  172. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/embedded/tools.py +5 -2
  173. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/file_based/README.md +152 -0
  174. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/file_based/__init__.py +24 -0
  175. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/file_based/availability_strategy/__init__.py +11 -0
  176. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/availability_strategy/abstract_file_based_availability_strategy.py +22 -6
  177. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/availability_strategy/default_file_based_availability_strategy.py +46 -10
  178. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/config/abstract_file_based_spec.py +58 -10
  179. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/config/avro_format.py +2 -1
  180. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/config/csv_format.py +29 -10
  181. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/file_based/config/excel_format.py +18 -0
  182. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/config/file_based_stream_config.py +16 -4
  183. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/config/jsonl_format.py +2 -1
  184. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/config/parquet_format.py +2 -1
  185. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/config/unstructured_format.py +13 -5
  186. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/discovery_policy/__init__.py +6 -2
  187. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/discovery_policy/abstract_discovery_policy.py +2 -4
  188. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/discovery_policy/default_discovery_policy.py +7 -2
  189. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/exceptions.py +52 -15
  190. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/file_based_source.py +163 -33
  191. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/file_based/file_based_stream_reader.py +185 -0
  192. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/file_types/__init__.py +14 -1
  193. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/file_types/avro_parser.py +75 -24
  194. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/file_types/csv_parser.py +116 -34
  195. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/file_based/file_types/excel_parser.py +196 -0
  196. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/file_based/file_types/file_transfer.py +37 -0
  197. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/file_types/file_type_parser.py +4 -1
  198. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/file_types/jsonl_parser.py +24 -8
  199. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/file_types/parquet_parser.py +60 -18
  200. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/file_types/unstructured_parser.py +145 -41
  201. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/remote_file.py +1 -1
  202. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/schema_helpers.py +38 -10
  203. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/schema_validation_policies/__init__.py +3 -1
  204. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/schema_validation_policies/abstract_schema_validation_policy.py +3 -1
  205. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/schema_validation_policies/default_schema_validation_policies.py +16 -5
  206. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/abstract_file_based_stream.py +50 -13
  207. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/concurrent/adapters.py +67 -27
  208. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/__init__.py +5 -1
  209. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/abstract_concurrent_file_based_cursor.py +14 -23
  210. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/file_based_concurrent_cursor.py +54 -18
  211. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/concurrent/cursor/file_based_final_state_cursor.py +21 -9
  212. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/cursor/abstract_file_based_cursor.py +3 -1
  213. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/cursor/default_file_based_cursor.py +27 -10
  214. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/default_file_based_stream.py +175 -45
  215. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/http_logger.py +8 -3
  216. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/message/__init__.py +7 -1
  217. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/message/repository.py +18 -4
  218. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/source.py +95 -0
  219. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/__init__.py +8 -0
  220. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/availability_strategy.py +84 -0
  221. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/call_rate.py +64 -21
  222. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/checkpoint/__init__.py +26 -0
  223. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/checkpoint/checkpoint_reader.py +335 -0
  224. {airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/incremental → airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/checkpoint}/cursor.py +17 -14
  225. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/checkpoint/per_partition_key_serializer.py +22 -0
  226. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/checkpoint/resumable_full_refresh_cursor.py +51 -0
  227. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/checkpoint/substream_resumable_full_refresh_cursor.py +110 -0
  228. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/concurrent/README.md +7 -0
  229. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/abstract_stream.py +7 -2
  230. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/adapters.py +84 -75
  231. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/availability_strategy.py +30 -2
  232. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/concurrent/cursor.py +487 -0
  233. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/default_stream.py +12 -3
  234. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/exceptions.py +3 -0
  235. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/helpers.py +14 -3
  236. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/partition_enqueuer.py +12 -3
  237. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/partition_reader.py +10 -3
  238. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/partitions/partition.py +1 -16
  239. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/concurrent/partitions/stream_slicer.py +21 -0
  240. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/partitions/types.py +15 -5
  241. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/concurrent/state_converters/abstract_stream_state_converter.py +181 -0
  242. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/concurrent/state_converters/datetime_stream_state_converter.py +214 -0
  243. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/core.py +703 -0
  244. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/http/__init__.py +2 -1
  245. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/availability_strategy.py +54 -0
  246. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/error_handlers/__init__.py +22 -0
  247. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/error_handlers/backoff_strategy.py +28 -0
  248. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/error_handlers/default_backoff_strategy.py +17 -0
  249. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/error_handlers/default_error_mapping.py +86 -0
  250. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/error_handlers/error_handler.py +42 -0
  251. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/error_handlers/error_message_parser.py +19 -0
  252. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/error_handlers/http_status_error_handler.py +110 -0
  253. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/error_handlers/json_error_message_parser.py +52 -0
  254. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/error_handlers/response_models.py +65 -0
  255. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/exceptions.py +61 -0
  256. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/http.py +674 -0
  257. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/http_client.py +531 -0
  258. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/http/rate_limiting.py +158 -0
  259. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_oauth.py +28 -9
  260. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/http/requests_native_auth/abstract_token.py +2 -1
  261. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/http/requests_native_auth/oauth.py +90 -35
  262. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/http/requests_native_auth/token.py +13 -3
  263. {airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative → airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources}/types.py +40 -2
  264. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/utils/record_helper.py +53 -0
  265. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/utils/schema_helpers.py +13 -6
  266. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/utils/slice_logger.py +4 -1
  267. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/utils/transform.py +54 -20
  268. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sql/_util/hashing.py +34 -0
  269. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sql/_util/name_normalizers.py +92 -0
  270. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sql/constants.py +32 -0
  271. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sql/exceptions.py +235 -0
  272. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sql/secrets.py +123 -0
  273. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sql/shared/__init__.py +15 -0
  274. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sql/shared/catalog_providers.py +145 -0
  275. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sql/shared/sql_processor.py +786 -0
  276. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sql/types.py +160 -0
  277. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/test/catalog_builder.py +81 -0
  278. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/test/entrypoint_wrapper.py +117 -42
  279. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/test/mock_http/matcher.py +6 -0
  280. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/test/mock_http/mocker.py +57 -10
  281. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/test/mock_http/request.py +19 -3
  282. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/test/mock_http/response.py +3 -1
  283. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/test/mock_http/response_builder.py +32 -16
  284. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/test/state_builder.py +33 -0
  285. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/test/utils/__init__.py +1 -0
  286. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/test/utils/data.py +24 -0
  287. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/test/utils/http_mocking.py +16 -0
  288. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/test/utils/manifest_only_fixtures.py +60 -0
  289. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/test/utils/reading.py +26 -0
  290. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/utils/__init__.py +2 -1
  291. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/utils/airbyte_secrets_utils.py +5 -3
  292. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/utils/analytics_message.py +10 -2
  293. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/utils/datetime_format_inferrer.py +4 -1
  294. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/utils/event_timing.py +10 -10
  295. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/utils/mapping_helpers.py +3 -1
  296. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/utils/message_utils.py +26 -0
  297. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/utils/print_buffer.py +75 -0
  298. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/utils/schema_inferrer.py +270 -0
  299. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/utils/slice_hasher.py +30 -0
  300. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/utils/spec_schema_transformations.py +6 -3
  301. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/utils/stream_status_utils.py +8 -1
  302. airbyte_cdk-6.13.1.dev4106/airbyte_cdk/utils/traced_exception.py +145 -0
  303. airbyte_cdk-6.13.1.dev4106/pyproject.toml +202 -0
  304. airbyte-cdk-0.72.1/PKG-INFO +0 -243
  305. airbyte-cdk-0.72.1/README.md +0 -161
  306. airbyte-cdk-0.72.1/airbyte_cdk/__init__.py +0 -9
  307. airbyte-cdk-0.72.1/airbyte_cdk/destinations/__init__.py +0 -7
  308. airbyte-cdk-0.72.1/airbyte_cdk/models/airbyte_protocol.py +0 -5
  309. airbyte-cdk-0.72.1/airbyte_cdk/models/well_known_types.py +0 -5
  310. airbyte-cdk-0.72.1/airbyte_cdk/sources/concurrent_source/concurrent_source_adapter.py +0 -63
  311. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/create_partial.py +0 -92
  312. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/decoders/__init__.py +0 -8
  313. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/decoders/json_decoder.py +0 -24
  314. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/extractors/record_filter.py +0 -36
  315. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/extractors/record_selector.py +0 -97
  316. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/incremental/__init__.py +0 -9
  317. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/incremental/per_partition_cursor.py +0 -263
  318. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/models/__init__.py +0 -2
  319. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/models/declarative_component_schema.py +0 -1427
  320. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/parsers/class_types_registry.py +0 -102
  321. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/parsers/default_implementation_registry.py +0 -64
  322. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py +0 -1063
  323. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/partition_routers/__init__.py +0 -9
  324. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/partition_routers/substream_partition_router.py +0 -158
  325. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/constant_backoff_strategy.py +0 -33
  326. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/exponential_backoff_strategy.py +0 -33
  327. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategies/wait_time_from_header_backoff_strategy.py +0 -38
  328. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/error_handlers/backoff_strategy.py +0 -25
  329. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/error_handlers/default_error_handler.py +0 -157
  330. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/error_handlers/error_handler.py +0 -43
  331. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/error_handlers/http_response_filter.py +0 -101
  332. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/error_handlers/response_action.py +0 -16
  333. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/error_handlers/response_status.py +0 -68
  334. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/http_requester.py +0 -610
  335. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/paginators/strategies/cursor_pagination_strategy.py +0 -67
  336. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/request_options/__init__.py +0 -10
  337. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/requesters/request_options/interpolated_nested_request_input_provider.py +0 -45
  338. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/stream_slicers/__init__.py +0 -8
  339. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/stream_slicers/cartesian_product_stream_slicer.py +0 -114
  340. airbyte-cdk-0.72.1/airbyte_cdk/sources/declarative/yaml_declarative_source.py +0 -42
  341. airbyte-cdk-0.72.1/airbyte_cdk/sources/deprecated/base_source.py +0 -94
  342. airbyte-cdk-0.72.1/airbyte_cdk/sources/deprecated/client.py +0 -99
  343. airbyte-cdk-0.72.1/airbyte_cdk/sources/file_based/availability_strategy/__init__.py +0 -4
  344. airbyte-cdk-0.72.1/airbyte_cdk/sources/file_based/file_based_stream_reader.py +0 -107
  345. airbyte-cdk-0.72.1/airbyte_cdk/sources/singer/__init__.py +0 -8
  346. airbyte-cdk-0.72.1/airbyte_cdk/sources/singer/singer_helpers.py +0 -304
  347. airbyte-cdk-0.72.1/airbyte_cdk/sources/singer/source.py +0 -186
  348. airbyte-cdk-0.72.1/airbyte_cdk/sources/source.py +0 -91
  349. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/__init__.py +0 -8
  350. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/availability_strategy.py +0 -33
  351. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/concurrent/cursor.py +0 -231
  352. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/concurrent/partitions/record.py +0 -23
  353. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/concurrent/state_converters/abstract_stream_state_converter.py +0 -89
  354. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/concurrent/state_converters/datetime_stream_state_converter.py +0 -196
  355. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/core.py +0 -378
  356. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/http/auth/__init__.py +0 -17
  357. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/http/auth/core.py +0 -29
  358. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/http/auth/oauth.py +0 -113
  359. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/http/auth/token.py +0 -47
  360. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/http/availability_strategy.py +0 -143
  361. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/http/exceptions.py +0 -41
  362. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/http/http.py +0 -551
  363. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/http/rate_limiting.py +0 -94
  364. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/utils/__init__.py +0 -3
  365. airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/utils/stream_helper.py +0 -40
  366. airbyte-cdk-0.72.1/airbyte_cdk/sources/utils/catalog_helpers.py +0 -22
  367. airbyte-cdk-0.72.1/airbyte_cdk/sources/utils/record_helper.py +0 -38
  368. airbyte-cdk-0.72.1/airbyte_cdk/sources/utils/schema_models.py +0 -84
  369. airbyte-cdk-0.72.1/airbyte_cdk/test/catalog_builder.py +0 -29
  370. airbyte-cdk-0.72.1/airbyte_cdk/test/state_builder.py +0 -25
  371. airbyte-cdk-0.72.1/airbyte_cdk/utils/message_utils.py +0 -17
  372. airbyte-cdk-0.72.1/airbyte_cdk/utils/schema_inferrer.py +0 -100
  373. airbyte-cdk-0.72.1/airbyte_cdk/utils/traced_exception.py +0 -105
  374. airbyte-cdk-0.72.1/airbyte_cdk.egg-info/PKG-INFO +0 -243
  375. airbyte-cdk-0.72.1/airbyte_cdk.egg-info/SOURCES.txt +0 -470
  376. airbyte-cdk-0.72.1/airbyte_cdk.egg-info/dependency_links.txt +0 -1
  377. airbyte-cdk-0.72.1/airbyte_cdk.egg-info/requires.txt +0 -64
  378. airbyte-cdk-0.72.1/airbyte_cdk.egg-info/top_level.txt +0 -3
  379. airbyte-cdk-0.72.1/pyproject.toml +0 -44
  380. airbyte-cdk-0.72.1/setup.cfg +0 -4
  381. airbyte-cdk-0.72.1/setup.py +0 -119
  382. airbyte-cdk-0.72.1/source_declarative_manifest/main.py +0 -29
  383. airbyte-cdk-0.72.1/unit_tests/connector_builder/__init__.py +0 -3
  384. airbyte-cdk-0.72.1/unit_tests/connector_builder/test_connector_builder_handler.py +0 -871
  385. airbyte-cdk-0.72.1/unit_tests/connector_builder/test_message_grouper.py +0 -713
  386. airbyte-cdk-0.72.1/unit_tests/connector_builder/utils.py +0 -27
  387. airbyte-cdk-0.72.1/unit_tests/destinations/test_destination.py +0 -243
  388. airbyte-cdk-0.72.1/unit_tests/singer/__init__.py +0 -0
  389. airbyte-cdk-0.72.1/unit_tests/singer/test_singer_helpers.py +0 -56
  390. airbyte-cdk-0.72.1/unit_tests/singer/test_singer_source.py +0 -112
  391. airbyte-cdk-0.72.1/unit_tests/sources/__init__.py +0 -0
  392. airbyte-cdk-0.72.1/unit_tests/sources/concurrent_source/__init__.py +0 -3
  393. airbyte-cdk-0.72.1/unit_tests/sources/concurrent_source/test_concurrent_source_adapter.py +0 -106
  394. airbyte-cdk-0.72.1/unit_tests/sources/declarative/__init__.py +0 -3
  395. airbyte-cdk-0.72.1/unit_tests/sources/declarative/auth/__init__.py +0 -3
  396. airbyte-cdk-0.72.1/unit_tests/sources/declarative/auth/test_oauth.py +0 -331
  397. airbyte-cdk-0.72.1/unit_tests/sources/declarative/auth/test_selective_authenticator.py +0 -39
  398. airbyte-cdk-0.72.1/unit_tests/sources/declarative/auth/test_session_token_auth.py +0 -182
  399. airbyte-cdk-0.72.1/unit_tests/sources/declarative/auth/test_token_auth.py +0 -200
  400. airbyte-cdk-0.72.1/unit_tests/sources/declarative/auth/test_token_provider.py +0 -73
  401. airbyte-cdk-0.72.1/unit_tests/sources/declarative/checks/__init__.py +0 -3
  402. airbyte-cdk-0.72.1/unit_tests/sources/declarative/checks/test_check_stream.py +0 -146
  403. airbyte-cdk-0.72.1/unit_tests/sources/declarative/decoders/__init__.py +0 -0
  404. airbyte-cdk-0.72.1/unit_tests/sources/declarative/decoders/test_json_decoder.py +0 -16
  405. airbyte-cdk-0.72.1/unit_tests/sources/declarative/external_component.py +0 -13
  406. airbyte-cdk-0.72.1/unit_tests/sources/declarative/extractors/__init__.py +0 -3
  407. airbyte-cdk-0.72.1/unit_tests/sources/declarative/extractors/test_dpath_extractor.py +0 -55
  408. airbyte-cdk-0.72.1/unit_tests/sources/declarative/extractors/test_record_filter.py +0 -55
  409. airbyte-cdk-0.72.1/unit_tests/sources/declarative/extractors/test_record_selector.py +0 -179
  410. airbyte-cdk-0.72.1/unit_tests/sources/declarative/incremental/__init__.py +0 -0
  411. airbyte-cdk-0.72.1/unit_tests/sources/declarative/incremental/test_datetime_based_cursor.py +0 -860
  412. airbyte-cdk-0.72.1/unit_tests/sources/declarative/incremental/test_per_partition_cursor.py +0 -406
  413. airbyte-cdk-0.72.1/unit_tests/sources/declarative/incremental/test_per_partition_cursor_integration.py +0 -332
  414. airbyte-cdk-0.72.1/unit_tests/sources/declarative/interpolation/__init__.py +0 -3
  415. airbyte-cdk-0.72.1/unit_tests/sources/declarative/interpolation/test_filters.py +0 -80
  416. airbyte-cdk-0.72.1/unit_tests/sources/declarative/interpolation/test_interpolated_boolean.py +0 -40
  417. airbyte-cdk-0.72.1/unit_tests/sources/declarative/interpolation/test_interpolated_mapping.py +0 -35
  418. airbyte-cdk-0.72.1/unit_tests/sources/declarative/interpolation/test_interpolated_nested_mapping.py +0 -45
  419. airbyte-cdk-0.72.1/unit_tests/sources/declarative/interpolation/test_interpolated_string.py +0 -25
  420. airbyte-cdk-0.72.1/unit_tests/sources/declarative/interpolation/test_jinja.py +0 -240
  421. airbyte-cdk-0.72.1/unit_tests/sources/declarative/interpolation/test_macros.py +0 -73
  422. airbyte-cdk-0.72.1/unit_tests/sources/declarative/parsers/__init__.py +0 -3
  423. airbyte-cdk-0.72.1/unit_tests/sources/declarative/parsers/test_manifest_component_transformer.py +0 -406
  424. airbyte-cdk-0.72.1/unit_tests/sources/declarative/parsers/test_manifest_reference_resolver.py +0 -139
  425. airbyte-cdk-0.72.1/unit_tests/sources/declarative/parsers/test_model_to_component_factory.py +0 -1847
  426. airbyte-cdk-0.72.1/unit_tests/sources/declarative/parsers/testing_components.py +0 -36
  427. airbyte-cdk-0.72.1/unit_tests/sources/declarative/partition_routers/__init__.py +0 -3
  428. airbyte-cdk-0.72.1/unit_tests/sources/declarative/partition_routers/test_list_partition_router.py +0 -155
  429. airbyte-cdk-0.72.1/unit_tests/sources/declarative/partition_routers/test_single_partition_router.py +0 -14
  430. airbyte-cdk-0.72.1/unit_tests/sources/declarative/partition_routers/test_substream_partition_router.py +0 -404
  431. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/__init__.py +0 -3
  432. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/error_handlers/__init__.py +0 -3
  433. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/__init__.py +0 -3
  434. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_constant_backoff.py +0 -34
  435. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_exponential_backoff.py +0 -36
  436. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_header_helper.py +0 -38
  437. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_wait_time_from_header.py +0 -35
  438. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/error_handlers/backoff_strategies/test_wait_until_time_from_header.py +0 -64
  439. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/error_handlers/test_composite_error_handler.py +0 -213
  440. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/error_handlers/test_default_error_handler.py +0 -178
  441. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/error_handlers/test_http_response_filter.py +0 -121
  442. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/error_handlers/test_response_status.py +0 -44
  443. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/paginators/__init__.py +0 -3
  444. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/paginators/test_cursor_pagination_strategy.py +0 -64
  445. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/paginators/test_default_paginator.py +0 -313
  446. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/paginators/test_no_paginator.py +0 -12
  447. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/paginators/test_offset_increment.py +0 -58
  448. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/paginators/test_page_increment.py +0 -70
  449. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/paginators/test_request_option.py +0 -43
  450. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/paginators/test_stop_condition.py +0 -105
  451. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/request_options/__init__.py +0 -3
  452. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/request_options/test_interpolated_request_options_provider.py +0 -101
  453. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/test_http_requester.py +0 -974
  454. airbyte-cdk-0.72.1/unit_tests/sources/declarative/requesters/test_interpolated_request_input_provider.py +0 -32
  455. airbyte-cdk-0.72.1/unit_tests/sources/declarative/retrievers/__init__.py +0 -3
  456. airbyte-cdk-0.72.1/unit_tests/sources/declarative/retrievers/test_simple_retriever.py +0 -542
  457. airbyte-cdk-0.72.1/unit_tests/sources/declarative/schema/__init__.py +0 -6
  458. airbyte-cdk-0.72.1/unit_tests/sources/declarative/schema/source_test/SourceTest.py +0 -8
  459. airbyte-cdk-0.72.1/unit_tests/sources/declarative/schema/source_test/__init__.py +0 -3
  460. airbyte-cdk-0.72.1/unit_tests/sources/declarative/schema/test_default_schema_loader.py +0 -32
  461. airbyte-cdk-0.72.1/unit_tests/sources/declarative/schema/test_inline_schema_loader.py +0 -19
  462. airbyte-cdk-0.72.1/unit_tests/sources/declarative/schema/test_json_file_schema_loader.py +0 -26
  463. airbyte-cdk-0.72.1/unit_tests/sources/declarative/states/__init__.py +0 -3
  464. airbyte-cdk-0.72.1/unit_tests/sources/declarative/stream_slicers/__init__.py +0 -3
  465. airbyte-cdk-0.72.1/unit_tests/sources/declarative/stream_slicers/test_cartesian_product_stream_slicer.py +0 -225
  466. airbyte-cdk-0.72.1/unit_tests/sources/declarative/test_create_partial.py +0 -83
  467. airbyte-cdk-0.72.1/unit_tests/sources/declarative/test_declarative_stream.py +0 -103
  468. airbyte-cdk-0.72.1/unit_tests/sources/declarative/test_manifest_declarative_source.py +0 -1260
  469. airbyte-cdk-0.72.1/unit_tests/sources/declarative/test_types.py +0 -39
  470. airbyte-cdk-0.72.1/unit_tests/sources/declarative/test_yaml_declarative_source.py +0 -148
  471. airbyte-cdk-0.72.1/unit_tests/sources/file_based/__init__.py +0 -0
  472. airbyte-cdk-0.72.1/unit_tests/sources/file_based/availability_strategy/__init__.py +0 -0
  473. airbyte-cdk-0.72.1/unit_tests/sources/file_based/availability_strategy/test_default_file_based_availability_strategy.py +0 -100
  474. airbyte-cdk-0.72.1/unit_tests/sources/file_based/config/__init__.py +0 -0
  475. airbyte-cdk-0.72.1/unit_tests/sources/file_based/config/test_abstract_file_based_spec.py +0 -28
  476. airbyte-cdk-0.72.1/unit_tests/sources/file_based/config/test_csv_format.py +0 -34
  477. airbyte-cdk-0.72.1/unit_tests/sources/file_based/config/test_file_based_stream_config.py +0 -84
  478. airbyte-cdk-0.72.1/unit_tests/sources/file_based/discovery_policy/__init__.py +0 -0
  479. airbyte-cdk-0.72.1/unit_tests/sources/file_based/discovery_policy/test_default_discovery_policy.py +0 -31
  480. airbyte-cdk-0.72.1/unit_tests/sources/file_based/file_types/__init__.py +0 -0
  481. airbyte-cdk-0.72.1/unit_tests/sources/file_based/file_types/test_avro_parser.py +0 -243
  482. airbyte-cdk-0.72.1/unit_tests/sources/file_based/file_types/test_csv_parser.py +0 -546
  483. airbyte-cdk-0.72.1/unit_tests/sources/file_based/file_types/test_jsonl_parser.py +0 -158
  484. airbyte-cdk-0.72.1/unit_tests/sources/file_based/file_types/test_parquet_parser.py +0 -274
  485. airbyte-cdk-0.72.1/unit_tests/sources/file_based/file_types/test_unstructured_parser.py +0 -593
  486. airbyte-cdk-0.72.1/unit_tests/sources/file_based/helpers.py +0 -70
  487. airbyte-cdk-0.72.1/unit_tests/sources/file_based/in_memory_files_source.py +0 -211
  488. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/__init__.py +0 -0
  489. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/avro_scenarios.py +0 -744
  490. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/check_scenarios.py +0 -220
  491. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/concurrent_incremental_scenarios.py +0 -2844
  492. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/csv_scenarios.py +0 -3105
  493. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/file_based_source_builder.py +0 -91
  494. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/incremental_scenarios.py +0 -1926
  495. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/jsonl_scenarios.py +0 -930
  496. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/parquet_scenarios.py +0 -754
  497. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/scenario_builder.py +0 -234
  498. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/unstructured_scenarios.py +0 -608
  499. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/user_input_schema_scenarios.py +0 -746
  500. airbyte-cdk-0.72.1/unit_tests/sources/file_based/scenarios/validation_policy_scenarios.py +0 -726
  501. airbyte-cdk-0.72.1/unit_tests/sources/file_based/stream/__init__.py +0 -0
  502. airbyte-cdk-0.72.1/unit_tests/sources/file_based/stream/concurrent/__init__.py +0 -0
  503. airbyte-cdk-0.72.1/unit_tests/sources/file_based/stream/concurrent/test_adapters.py +0 -362
  504. airbyte-cdk-0.72.1/unit_tests/sources/file_based/stream/concurrent/test_file_based_concurrent_cursor.py +0 -458
  505. airbyte-cdk-0.72.1/unit_tests/sources/file_based/stream/test_default_file_based_cursor.py +0 -310
  506. airbyte-cdk-0.72.1/unit_tests/sources/file_based/stream/test_default_file_based_stream.py +0 -244
  507. airbyte-cdk-0.72.1/unit_tests/sources/file_based/test_file_based_scenarios.py +0 -320
  508. airbyte-cdk-0.72.1/unit_tests/sources/file_based/test_file_based_stream_reader.py +0 -272
  509. airbyte-cdk-0.72.1/unit_tests/sources/file_based/test_scenarios.py +0 -253
  510. airbyte-cdk-0.72.1/unit_tests/sources/file_based/test_schema_helpers.py +0 -346
  511. airbyte-cdk-0.72.1/unit_tests/sources/fixtures/__init__.py +0 -3
  512. airbyte-cdk-0.72.1/unit_tests/sources/fixtures/source_test_fixture.py +0 -153
  513. airbyte-cdk-0.72.1/unit_tests/sources/message/__init__.py +0 -0
  514. airbyte-cdk-0.72.1/unit_tests/sources/message/test_repository.py +0 -153
  515. airbyte-cdk-0.72.1/unit_tests/sources/streams/__init__.py +0 -0
  516. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/__init__.py +0 -3
  517. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/scenarios/__init__.py +0 -3
  518. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/scenarios/incremental_scenarios.py +0 -250
  519. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/scenarios/stream_facade_builder.py +0 -140
  520. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/scenarios/stream_facade_scenarios.py +0 -452
  521. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/scenarios/test_concurrent_scenarios.py +0 -76
  522. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/scenarios/thread_based_concurrent_stream_scenarios.py +0 -418
  523. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/scenarios/thread_based_concurrent_stream_source_builder.py +0 -142
  524. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/scenarios/utils.py +0 -55
  525. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/test_adapters.py +0 -380
  526. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/test_concurrent_read_processor.py +0 -684
  527. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/test_cursor.py +0 -139
  528. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/test_datetime_state_converter.py +0 -369
  529. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/test_default_stream.py +0 -197
  530. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/test_partition_enqueuer.py +0 -90
  531. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/test_partition_reader.py +0 -67
  532. airbyte-cdk-0.72.1/unit_tests/sources/streams/concurrent/test_thread_pool_manager.py +0 -106
  533. airbyte-cdk-0.72.1/unit_tests/sources/streams/http/__init__.py +0 -0
  534. airbyte-cdk-0.72.1/unit_tests/sources/streams/http/auth/__init__.py +0 -0
  535. airbyte-cdk-0.72.1/unit_tests/sources/streams/http/auth/test_auth.py +0 -173
  536. airbyte-cdk-0.72.1/unit_tests/sources/streams/http/requests_native_auth/__init__.py +0 -0
  537. airbyte-cdk-0.72.1/unit_tests/sources/streams/http/requests_native_auth/test_requests_native_auth.py +0 -423
  538. airbyte-cdk-0.72.1/unit_tests/sources/streams/http/test_availability_strategy.py +0 -180
  539. airbyte-cdk-0.72.1/unit_tests/sources/streams/http/test_http.py +0 -635
  540. airbyte-cdk-0.72.1/unit_tests/sources/streams/test_availability_strategy.py +0 -70
  541. airbyte-cdk-0.72.1/unit_tests/sources/streams/test_call_rate.py +0 -300
  542. airbyte-cdk-0.72.1/unit_tests/sources/streams/test_stream_read.py +0 -405
  543. airbyte-cdk-0.72.1/unit_tests/sources/streams/test_streams_core.py +0 -184
  544. airbyte-cdk-0.72.1/unit_tests/sources/test_abstract_source.py +0 -1442
  545. airbyte-cdk-0.72.1/unit_tests/sources/test_concurrent_source.py +0 -112
  546. airbyte-cdk-0.72.1/unit_tests/sources/test_config.py +0 -92
  547. airbyte-cdk-0.72.1/unit_tests/sources/test_connector_state_manager.py +0 -482
  548. airbyte-cdk-0.72.1/unit_tests/sources/test_http_logger.py +0 -252
  549. airbyte-cdk-0.72.1/unit_tests/sources/test_integration_source.py +0 -86
  550. airbyte-cdk-0.72.1/unit_tests/sources/test_source.py +0 -684
  551. airbyte-cdk-0.72.1/unit_tests/sources/test_source_read.py +0 -460
  552. airbyte-cdk-0.72.1/unit_tests/test/__init__.py +0 -0
  553. airbyte-cdk-0.72.1/unit_tests/test/mock_http/__init__.py +0 -0
  554. airbyte-cdk-0.72.1/unit_tests/test/mock_http/test_matcher.py +0 -53
  555. airbyte-cdk-0.72.1/unit_tests/test/mock_http/test_mocker.py +0 -214
  556. airbyte-cdk-0.72.1/unit_tests/test/mock_http/test_request.py +0 -117
  557. airbyte-cdk-0.72.1/unit_tests/test/mock_http/test_response_builder.py +0 -177
  558. airbyte-cdk-0.72.1/unit_tests/test/test_entrypoint_wrapper.py +0 -240
  559. airbyte-cdk-0.72.1/unit_tests/utils/__init__.py +0 -0
  560. airbyte-cdk-0.72.1/unit_tests/utils/test_datetime_format_inferrer.py +0 -60
  561. airbyte-cdk-0.72.1/unit_tests/utils/test_mapping_helpers.py +0 -54
  562. airbyte-cdk-0.72.1/unit_tests/utils/test_message_utils.py +0 -91
  563. airbyte-cdk-0.72.1/unit_tests/utils/test_rate_limiting.py +0 -26
  564. airbyte-cdk-0.72.1/unit_tests/utils/test_schema_inferrer.py +0 -202
  565. airbyte-cdk-0.72.1/unit_tests/utils/test_secret_utils.py +0 -135
  566. airbyte-cdk-0.72.1/unit_tests/utils/test_stream_status_utils.py +0 -61
  567. airbyte-cdk-0.72.1/unit_tests/utils/test_traced_exception.py +0 -107
  568. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/LICENSE.txt +0 -0
  569. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/connector_builder/__init__.py +0 -0
  570. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/destinations/vector_db_based/__init__.py +0 -0
  571. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/destinations/vector_db_based/indexer.py +0 -0
  572. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/py.typed +0 -0
  573. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/concurrent_source/partition_generation_completed_sentinel.py +0 -0
  574. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/__init__.py +0 -0
  575. {airbyte-cdk-0.72.1/airbyte_cdk/sources/deprecated → airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/async_job}/__init__.py +0 -0
  576. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/checks/__init__.py +0 -0
  577. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/datetime/__init__.py +0 -0
  578. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/exceptions.py +0 -0
  579. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/interpolation/__init__.py +0 -0
  580. {airbyte-cdk-0.72.1/airbyte_cdk/sources/file_based → airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/declarative/migrations}/__init__.py +0 -0
  581. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/parsers/__init__.py +0 -0
  582. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/__init__.py +0 -0
  583. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/request_option.py +0 -0
  584. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/requesters/request_path.py +0 -0
  585. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/schema/inline_schema_loader.py +0 -0
  586. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/schema/schema_loader.py +0 -0
  587. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/spec/__init__.py +0 -0
  588. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/declarative/transformations/__init__.py +0 -0
  589. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/embedded/__init__.py +0 -0
  590. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/config/__init__.py +0 -0
  591. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/__init__.py +0 -0
  592. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/concurrent/__init__.py +0 -0
  593. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/stream/cursor/__init__.py +0 -0
  594. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/file_based/types.py +0 -0
  595. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/http_config.py +0 -0
  596. {airbyte-cdk-0.72.1/airbyte_cdk/sources/concurrent_source → airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/concurrent}/__init__.py +0 -0
  597. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/abstract_stream_facade.py +0 -0
  598. {airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/concurrent → airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/concurrent/partitions}/__init__.py +0 -0
  599. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/partitions/partition_generator.py +0 -0
  600. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/concurrent/state_converters/__init__.py +0 -0
  601. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/streams/http/requests_native_auth/__init__.py +0 -0
  602. {airbyte-cdk-0.72.1/airbyte_cdk/sources/streams/concurrent/partitions → airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sources/streams/utils}/__init__.py +0 -0
  603. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/utils/__init__.py +0 -0
  604. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/utils/casing.py +0 -0
  605. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/sources/utils/types.py +0 -0
  606. {airbyte-cdk-0.72.1/source_declarative_manifest → airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sql}/__init__.py +0 -0
  607. {airbyte-cdk-0.72.1/unit_tests/destinations → airbyte_cdk-6.13.1.dev4106/airbyte_cdk/sql/_util}/__init__.py +0 -0
  608. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/test/__init__.py +0 -0
  609. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/test/mock_http/__init__.py +1 -1
  610. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/utils/constants.py +0 -0
  611. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/utils/is_cloud_environment.py +0 -0
  612. {airbyte-cdk-0.72.1 → airbyte_cdk-6.13.1.dev4106}/airbyte_cdk/utils/oneof_option_config.py +0 -0
@@ -0,0 +1,109 @@
1
+ Metadata-Version: 2.3
2
+ Name: airbyte-cdk
3
+ Version: 6.13.1.dev4106
4
+ Summary: A framework for writing Airbyte Connectors.
5
+ License: MIT
6
+ Keywords: airbyte,connector-development-kit,cdk
7
+ Author: Airbyte
8
+ Author-email: contact@airbyte.io
9
+ Requires-Python: >=3.10,<3.13
10
+ Classifier: Development Status :: 3 - Alpha
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.10
15
+ Classifier: Programming Language :: Python :: 3.11
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Topic :: Scientific/Engineering
18
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
19
+ Provides-Extra: file-based
20
+ Provides-Extra: sql
21
+ Provides-Extra: vector-db-based
22
+ Requires-Dist: Jinja2 (>=3.1.2,<3.2.0)
23
+ Requires-Dist: PyYAML (>=6.0.1,<7.0.0)
24
+ Requires-Dist: Unidecode (>=1.3,<2.0)
25
+ Requires-Dist: airbyte-protocol-models-dataclasses (>=0.14,<0.15)
26
+ Requires-Dist: avro (>=1.11.2,<1.12.0) ; extra == "file-based"
27
+ Requires-Dist: backoff
28
+ Requires-Dist: cachetools
29
+ Requires-Dist: cohere (==4.21) ; extra == "vector-db-based"
30
+ Requires-Dist: cryptography (>=42.0.5,<44.0.0)
31
+ Requires-Dist: dpath (>=2.1.6,<3.0.0)
32
+ Requires-Dist: dunamai (>=1.22.0,<2.0.0)
33
+ Requires-Dist: fastavro (>=1.8.0,<1.9.0) ; extra == "file-based"
34
+ Requires-Dist: genson (==1.3.0)
35
+ Requires-Dist: isodate (>=0.6.1,<0.7.0)
36
+ Requires-Dist: jsonref (>=0.2,<0.3)
37
+ Requires-Dist: jsonschema (>=4.17.3,<4.18.0)
38
+ Requires-Dist: langchain (==0.1.16) ; extra == "vector-db-based"
39
+ Requires-Dist: langchain_core (==0.1.42)
40
+ Requires-Dist: markdown ; extra == "file-based"
41
+ Requires-Dist: nltk (==3.9.1)
42
+ Requires-Dist: numpy (<2)
43
+ Requires-Dist: openai[embeddings] (==0.27.9) ; extra == "vector-db-based"
44
+ Requires-Dist: orjson (>=3.10.7,<4.0.0)
45
+ Requires-Dist: pandas (==2.2.2)
46
+ Requires-Dist: pdf2image (==1.16.3) ; extra == "file-based"
47
+ Requires-Dist: pdfminer.six (==20221105) ; extra == "file-based"
48
+ Requires-Dist: pendulum (<3.0.0)
49
+ Requires-Dist: psutil (==6.1.0)
50
+ Requires-Dist: pyarrow (>=15.0.0,<15.1.0) ; extra == "file-based"
51
+ Requires-Dist: pydantic (>=2.7,<3.0)
52
+ Requires-Dist: pyjwt (>=2.8.0,<3.0.0)
53
+ Requires-Dist: pyrate-limiter (>=3.1.0,<3.2.0)
54
+ Requires-Dist: pytesseract (==0.3.10) ; extra == "file-based"
55
+ Requires-Dist: python-calamine (==0.2.3) ; extra == "file-based"
56
+ Requires-Dist: python-dateutil
57
+ Requires-Dist: python-snappy (==0.7.3) ; extra == "file-based"
58
+ Requires-Dist: python-ulid (>=3.0.0,<4.0.0)
59
+ Requires-Dist: pytz (==2024.2)
60
+ Requires-Dist: rapidfuzz (>=3.10.1,<4.0.0)
61
+ Requires-Dist: requests
62
+ Requires-Dist: requests_cache
63
+ Requires-Dist: serpyco-rs (>=1.10.2,<2.0.0)
64
+ Requires-Dist: sqlalchemy (>=2.0,<3.0,!=2.0.36) ; extra == "sql"
65
+ Requires-Dist: tiktoken (==0.8.0) ; extra == "vector-db-based"
66
+ Requires-Dist: unstructured.pytesseract (>=0.3.12) ; extra == "file-based"
67
+ Requires-Dist: unstructured[docx,pptx] (==0.10.27) ; extra == "file-based"
68
+ Requires-Dist: wcmatch (==10.0)
69
+ Requires-Dist: xmltodict (>=0.13.0,<0.14.0)
70
+ Project-URL: Documentation, https://docs.airbyte.io/
71
+ Project-URL: Homepage, https://airbyte.com
72
+ Project-URL: Repository, https://github.com/airbytehq/airbyte-python-cdk
73
+ Description-Content-Type: text/markdown
74
+
75
+ # Airbyte Python CDK and Low-Code CDK
76
+
77
+ Airbyte Python CDK is a framework for building Airbyte API Source Connectors. It provides a set of
78
+ classes and helpers that make it easy to build a connector against an HTTP API (REST, GraphQL, etc),
79
+ or a generic Python source connector.
80
+
81
+ ## Building Connectors with the CDK
82
+
83
+ If you're looking to build a connector, we highly recommend that you first
84
+ [start with the Connector Builder](https://docs.airbyte.com/connector-development/connector-builder-ui/overview).
85
+ It should be enough for 90% connectors out there. For more flexible and complex connectors, use the
86
+ [low-code CDK and `SourceDeclarativeManifest`](https://docs.airbyte.com/connector-development/config-based/low-code-cdk-overview).
87
+
88
+ For more information on building connectors, please see the [Connector Development](https://docs.airbyte.com/connector-development/) guide on [docs.airbyte.com](https://docs.airbyte.com).
89
+
90
+ ## Python CDK Overview
91
+
92
+ Airbyte CDK code is within `airbyte_cdk` directory. Here's a high level overview of what's inside:
93
+
94
+ - `airbyte_cdk/connector_builder`. Internal wrapper that helps the Connector Builder platform run a declarative manifest (low-code connector). You should not use this code directly. If you need to run a `SourceDeclarativeManifest`, take a look at [`source-declarative-manifest`](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-declarative-manifest) connector implementation instead.
95
+ - `airbyte_cdk/cli/source_declarative_manifest`. This module defines the `source-declarative-manifest` (aka "SDM") connector execution logic and associated CLI.
96
+ - `airbyte_cdk/destinations`. Basic Destination connector support! If you're building a Destination connector in Python, try that. Some of our vector DB destinations like `destination-pinecone` are using that code.
97
+ - `airbyte_cdk/models` expose `airbyte_protocol.models` as a part of `airbyte_cdk` package.
98
+ - `airbyte_cdk/sources/concurrent_source` is the Concurrent CDK implementation. It supports reading data from streams concurrently per slice / partition, useful for connectors with high throughput and high number of records.
99
+ - `airbyte_cdk/sources/declarative` is the low-code CDK. It works on top of Airbyte Python CDK, but provides a declarative manifest language to define streams, operations, etc. This makes it easier to build connectors without writing Python code.
100
+ - `airbyte_cdk/sources/file_based` is the CDK for file-based sources. Examples include S3, Azure, GCS, etc.
101
+
102
+ ## Contributing
103
+
104
+ For instructions on how to contribute, please see our [Contributing Guide](docs/CONTRIBUTING.md).
105
+
106
+ ## Release Management
107
+
108
+ Please see the [Release Management](docs/RELEASES.md) guide for information on how to perform releases and pre-releases.
109
+
@@ -0,0 +1,34 @@
1
+ # Airbyte Python CDK and Low-Code CDK
2
+
3
+ Airbyte Python CDK is a framework for building Airbyte API Source Connectors. It provides a set of
4
+ classes and helpers that make it easy to build a connector against an HTTP API (REST, GraphQL, etc),
5
+ or a generic Python source connector.
6
+
7
+ ## Building Connectors with the CDK
8
+
9
+ If you're looking to build a connector, we highly recommend that you first
10
+ [start with the Connector Builder](https://docs.airbyte.com/connector-development/connector-builder-ui/overview).
11
+ It should be enough for 90% connectors out there. For more flexible and complex connectors, use the
12
+ [low-code CDK and `SourceDeclarativeManifest`](https://docs.airbyte.com/connector-development/config-based/low-code-cdk-overview).
13
+
14
+ For more information on building connectors, please see the [Connector Development](https://docs.airbyte.com/connector-development/) guide on [docs.airbyte.com](https://docs.airbyte.com).
15
+
16
+ ## Python CDK Overview
17
+
18
+ Airbyte CDK code is within `airbyte_cdk` directory. Here's a high level overview of what's inside:
19
+
20
+ - `airbyte_cdk/connector_builder`. Internal wrapper that helps the Connector Builder platform run a declarative manifest (low-code connector). You should not use this code directly. If you need to run a `SourceDeclarativeManifest`, take a look at [`source-declarative-manifest`](https://github.com/airbytehq/airbyte/tree/master/airbyte-integrations/connectors/source-declarative-manifest) connector implementation instead.
21
+ - `airbyte_cdk/cli/source_declarative_manifest`. This module defines the `source-declarative-manifest` (aka "SDM") connector execution logic and associated CLI.
22
+ - `airbyte_cdk/destinations`. Basic Destination connector support! If you're building a Destination connector in Python, try that. Some of our vector DB destinations like `destination-pinecone` are using that code.
23
+ - `airbyte_cdk/models` expose `airbyte_protocol.models` as a part of `airbyte_cdk` package.
24
+ - `airbyte_cdk/sources/concurrent_source` is the Concurrent CDK implementation. It supports reading data from streams concurrently per slice / partition, useful for connectors with high throughput and high number of records.
25
+ - `airbyte_cdk/sources/declarative` is the low-code CDK. It works on top of Airbyte Python CDK, but provides a declarative manifest language to define streams, operations, etc. This makes it easier to build connectors without writing Python code.
26
+ - `airbyte_cdk/sources/file_based` is the CDK for file-based sources. Examples include S3, Azure, GCS, etc.
27
+
28
+ ## Contributing
29
+
30
+ For instructions on how to contribute, please see our [Contributing Guide](docs/CONTRIBUTING.md).
31
+
32
+ ## Release Management
33
+
34
+ Please see the [Release Management](docs/RELEASES.md) guide for information on how to perform releases and pre-releases.
@@ -0,0 +1,358 @@
1
+ # Copyright (c) 2021 Airbyte, Inc., all rights reserved.
2
+ """
3
+ # Welcome to the Airbyte Python CDK!
4
+
5
+ The Airbyte Python CDK is a Python library that provides a set of tools to help you build
6
+ connectors for the Airbyte platform.
7
+
8
+ ## Building Source Connectors
9
+
10
+ To build a source connector, you will want to refer to
11
+ the following classes and modules:
12
+
13
+ - `airbyte_cdk.sources`
14
+ - `airbyte_cdk.sources.concurrent_source`
15
+ - `airbyte_cdk.sources.config`
16
+ - `airbyte_cdk.sources.file_based`
17
+ - `airbyte_cdk.sources.streams`
18
+
19
+ ## Building Destination Connectors
20
+
21
+ To build a destination connector, you will want to refer to
22
+ the following classes and modules:
23
+
24
+ - `airbyte_cdk.destinations`
25
+ - `airbyte_cdk.destinations.Destination`
26
+ - `airbyte_cdk.destinations.vector_db_based`
27
+
28
+ ## Working with Airbyte Protocol Models
29
+
30
+ The Airbyte CDK provides a set of classes that help you work with the Airbyte protocol models:
31
+
32
+ - `airbyte_cdk.models.airbyte_protocol`
33
+ - `airbyte_cdk.models.airbyte_protocol_serializers`
34
+
35
+ ---
36
+
37
+ API Reference
38
+
39
+ ---
40
+
41
+ """
42
+
43
+ # Warning: The below imports are not stable and will cause circular
44
+ # dependencies if auto-sorted with isort. Please keep them in the same order.
45
+ # TODO: Submodules should import from lower-level modules, rather than importing from here.
46
+ # Imports should also be placed in `if TYPE_CHECKING` blocks if they are only used as type
47
+ # hints - again, to avoid circular dependencies.
48
+ # Once those issues are resolved, the below can be sorted with isort.
49
+ import dunamai as _dunamai
50
+
51
+ from .config_observation import (
52
+ create_connector_config_control_message,
53
+ emit_configuration_as_airbyte_control_message,
54
+ )
55
+ from .connector import BaseConnector, Connector
56
+ from .destinations import Destination
57
+ from .entrypoint import AirbyteEntrypoint, launch
58
+ from .logger import AirbyteLogFormatter, init_logger
59
+ from .models import (
60
+ AdvancedAuth,
61
+ AirbyteConnectionStatus,
62
+ AirbyteLogMessage,
63
+ AirbyteMessage,
64
+ AirbyteRecordMessage,
65
+ AirbyteStream,
66
+ ConfiguredAirbyteCatalog,
67
+ ConfiguredAirbyteStream,
68
+ ConnectorSpecification,
69
+ DestinationSyncMode,
70
+ FailureType,
71
+ Level,
72
+ OAuthConfigSpecification,
73
+ OrchestratorType,
74
+ Status,
75
+ SyncMode,
76
+ Type,
77
+ )
78
+ from .sources import AbstractSource, Source
79
+ from .sources.concurrent_source.concurrent_source import ConcurrentSource
80
+ from .sources.concurrent_source.concurrent_source_adapter import ConcurrentSourceAdapter
81
+ from .sources.config import BaseConfig
82
+ from .sources.connector_state_manager import ConnectorStateManager
83
+ from .sources.declarative.auth import DeclarativeOauth2Authenticator
84
+ from .sources.declarative.auth.declarative_authenticator import DeclarativeAuthenticator, NoAuth
85
+ from .sources.declarative.auth.oauth import DeclarativeSingleUseRefreshTokenOauth2Authenticator
86
+ from .sources.declarative.auth.token import (
87
+ ApiKeyAuthenticator,
88
+ BasicHttpAuthenticator,
89
+ BearerAuthenticator,
90
+ )
91
+ from .sources.declarative.datetime.min_max_datetime import MinMaxDatetime
92
+ from .sources.declarative.declarative_stream import DeclarativeStream
93
+ from .sources.declarative.decoders import Decoder, JsonDecoder
94
+ from .sources.declarative.exceptions import ReadException
95
+ from .sources.declarative.extractors import DpathExtractor, RecordSelector
96
+ from .sources.declarative.extractors.record_extractor import RecordExtractor
97
+ from .sources.declarative.extractors.record_filter import RecordFilter
98
+ from .sources.declarative.incremental import DatetimeBasedCursor
99
+ from .sources.declarative.interpolation import InterpolatedBoolean, InterpolatedString
100
+ from .sources.declarative.manifest_declarative_source import ManifestDeclarativeSource
101
+ from .sources.declarative.migrations.legacy_to_per_partition_state_migration import (
102
+ LegacyToPerPartitionStateMigration,
103
+ )
104
+ from .sources.declarative.partition_routers import (
105
+ CartesianProductStreamSlicer,
106
+ SinglePartitionRouter,
107
+ SubstreamPartitionRouter,
108
+ )
109
+ from .sources.declarative.partition_routers.substream_partition_router import ParentStreamConfig
110
+ from .sources.declarative.requesters import HttpRequester, Requester
111
+ from .sources.declarative.requesters.error_handlers import BackoffStrategy
112
+ from .sources.declarative.requesters.paginators import DefaultPaginator, PaginationStrategy
113
+ from .sources.declarative.requesters.paginators.strategies import (
114
+ CursorPaginationStrategy,
115
+ OffsetIncrement,
116
+ PageIncrement,
117
+ StopConditionPaginationStrategyDecorator,
118
+ )
119
+ from .sources.declarative.requesters.request_option import RequestOption, RequestOptionType
120
+ from .sources.declarative.requesters.request_options.default_request_options_provider import (
121
+ DefaultRequestOptionsProvider,
122
+ )
123
+ from .sources.declarative.requesters.request_options.interpolated_request_input_provider import (
124
+ InterpolatedRequestInputProvider,
125
+ )
126
+ from .sources.declarative.requesters.requester import HttpMethod
127
+ from .sources.declarative.retrievers import SimpleRetriever
128
+ from .sources.declarative.schema import JsonFileSchemaLoader
129
+ from .sources.declarative.transformations.add_fields import AddedFieldDefinition, AddFields
130
+ from .sources.declarative.transformations.transformation import RecordTransformation
131
+ from .sources.declarative.types import FieldPointer
132
+ from .sources.declarative.yaml_declarative_source import YamlDeclarativeSource
133
+ from .sources.message import InMemoryMessageRepository, MessageRepository
134
+ from .sources.source import TState
135
+ from .sources.streams.availability_strategy import AvailabilityStrategy
136
+ from .sources.streams.call_rate import (
137
+ AbstractAPIBudget,
138
+ CachedLimiterSession,
139
+ HttpAPIBudget,
140
+ HttpRequestMatcher,
141
+ LimiterSession,
142
+ MovingWindowCallRatePolicy,
143
+ Rate,
144
+ )
145
+ from .sources.streams.checkpoint import Cursor as LegacyCursor
146
+ from .sources.streams.checkpoint import ResumableFullRefreshCursor
147
+ from .sources.streams.concurrent.adapters import StreamFacade
148
+ from .sources.streams.concurrent.cursor import (
149
+ ConcurrentCursor,
150
+ Cursor,
151
+ CursorField,
152
+ FinalStateCursor,
153
+ )
154
+ from .sources.streams.concurrent.state_converters.datetime_stream_state_converter import (
155
+ EpochValueConcurrentStreamStateConverter,
156
+ IsoMillisConcurrentStreamStateConverter,
157
+ )
158
+ from .sources.streams.core import IncrementalMixin, Stream, package_name_from_class
159
+ from .sources.streams.http import HttpStream, HttpSubStream
160
+ from .sources.streams.http.availability_strategy import HttpAvailabilityStrategy
161
+ from .sources.streams.http.exceptions import (
162
+ BaseBackoffException,
163
+ DefaultBackoffException,
164
+ UserDefinedBackoffException,
165
+ )
166
+ from .sources.streams.http.rate_limiting import default_backoff_handler
167
+ from .sources.streams.http.requests_native_auth import (
168
+ Oauth2Authenticator,
169
+ SingleUseRefreshTokenOauth2Authenticator,
170
+ TokenAuthenticator,
171
+ )
172
+ from .sources.streams.http.requests_native_auth.abstract_token import AbstractHeaderAuthenticator
173
+ from .sources.types import Config, Record, StreamSlice
174
+ from .sources.utils import casing
175
+ from .sources.utils.schema_helpers import (
176
+ InternalConfig,
177
+ ResourceSchemaLoader,
178
+ check_config_against_spec_or_exit,
179
+ expand_refs,
180
+ split_config,
181
+ )
182
+ from .sources.utils.transform import TransformConfig, TypeTransformer
183
+ from .utils import AirbyteTracedException, is_cloud_environment
184
+ from .utils.constants import ENV_REQUEST_CACHE_PATH
185
+ from .utils.event_timing import create_timer
186
+ from .utils.oneof_option_config import OneOfOptionConfig
187
+ from .utils.spec_schema_transformations import resolve_refs
188
+ from .utils.stream_status_utils import as_airbyte_message
189
+
190
+ __all__ = [
191
+ # Availability strategy
192
+ "AvailabilityStrategy",
193
+ "HttpAvailabilityStrategy",
194
+ # Checkpoint
195
+ "LegacyCursor",
196
+ "ResumableFullRefreshCursor",
197
+ # Concurrent
198
+ "ConcurrentCursor",
199
+ "ConcurrentSource",
200
+ "ConcurrentSourceAdapter",
201
+ "Cursor",
202
+ "CursorField",
203
+ "DEFAULT_CONCURRENCY",
204
+ "EpochValueConcurrentStreamStateConverter",
205
+ "FinalStateCursor",
206
+ "IsoMillisConcurrentStreamStateConverter",
207
+ "StreamFacade",
208
+ # Config observation
209
+ "create_connector_config_control_message",
210
+ "emit_configuration_as_airbyte_control_message",
211
+ # Connector
212
+ "AbstractSource",
213
+ "BaseConfig",
214
+ "BaseConnector",
215
+ "Connector",
216
+ "Destination",
217
+ "Source",
218
+ "TState",
219
+ # Declarative
220
+ "AddFields",
221
+ "AddedFieldDefinition",
222
+ "ApiKeyAuthenticator",
223
+ "BackoffStrategy",
224
+ "BasicHttpAuthenticator",
225
+ "BearerAuthenticator",
226
+ "CartesianProductStreamSlicer",
227
+ "CursorPaginationStrategy",
228
+ "DatetimeBasedCursor",
229
+ "DeclarativeAuthenticator",
230
+ "DeclarativeOauth2Authenticator",
231
+ "DeclarativeSingleUseRefreshTokenOauth2Authenticator",
232
+ "DeclarativeStream",
233
+ "Decoder",
234
+ "DefaultPaginator",
235
+ "DefaultRequestOptionsProvider",
236
+ "DpathExtractor",
237
+ "FieldPointer",
238
+ "HttpMethod",
239
+ "HttpRequester",
240
+ "InterpolatedBoolean",
241
+ "InterpolatedRequestInputProvider",
242
+ "InterpolatedString",
243
+ "JsonDecoder",
244
+ "JsonFileSchemaLoader",
245
+ "LegacyToPerPartitionStateMigration",
246
+ "ManifestDeclarativeSource",
247
+ "MinMaxDatetime",
248
+ "NoAuth",
249
+ "OffsetIncrement",
250
+ "PageIncrement",
251
+ "PaginationStrategy",
252
+ "ParentStreamConfig",
253
+ "ReadException",
254
+ "RecordExtractor",
255
+ "RecordFilter",
256
+ "RecordSelector",
257
+ "RecordTransformation",
258
+ "RequestOption",
259
+ "RequestOptionType",
260
+ "Requester",
261
+ "ResponseStatus",
262
+ "SimpleRetriever",
263
+ "SinglePartitionRouter",
264
+ "StopConditionPaginationStrategyDecorator",
265
+ "StreamSlice",
266
+ "SubstreamPartitionRouter",
267
+ "YamlDeclarativeSource",
268
+ # Entrypoint
269
+ "launch",
270
+ "AirbyteEntrypoint",
271
+ # HTTP
272
+ "AbstractAPIBudget",
273
+ "AbstractHeaderAuthenticator",
274
+ "BaseBackoffException",
275
+ "CachedLimiterSession",
276
+ "DefaultBackoffException",
277
+ "default_backoff_handler",
278
+ "HttpAPIBudget",
279
+ "HttpAuthenticator",
280
+ "HttpRequestMatcher",
281
+ "HttpStream",
282
+ "HttpSubStream",
283
+ "LimiterSession",
284
+ "MovingWindowCallRatePolicy",
285
+ "MultipleTokenAuthenticator",
286
+ "Oauth2Authenticator",
287
+ "Rate",
288
+ "SingleUseRefreshTokenOauth2Authenticator",
289
+ "TokenAuthenticator",
290
+ "UserDefinedBackoffException",
291
+ # Logger
292
+ "AirbyteLogFormatter",
293
+ "init_logger",
294
+ # Protocol classes
295
+ "AirbyteStream",
296
+ "AirbyteConnectionStatus",
297
+ "AirbyteMessage",
298
+ "ConfiguredAirbyteCatalog",
299
+ "Status",
300
+ "Type",
301
+ "OrchestratorType",
302
+ "ConfiguredAirbyteStream",
303
+ "DestinationSyncMode",
304
+ "SyncMode",
305
+ "FailureType",
306
+ "AdvancedAuth",
307
+ "AirbyteLogMessage",
308
+ "OAuthConfigSpecification",
309
+ "ConnectorSpecification",
310
+ "Level",
311
+ "AirbyteRecordMessage",
312
+ # Repository
313
+ "InMemoryMessageRepository",
314
+ "MessageRepository",
315
+ # State management
316
+ "ConnectorStateManager",
317
+ # Stream
318
+ "IncrementalMixin",
319
+ "Stream",
320
+ "StreamData",
321
+ "package_name_from_class",
322
+ # Utils
323
+ "AirbyteTracedException",
324
+ "is_cloud_environment",
325
+ "casing",
326
+ "InternalConfig",
327
+ "ResourceSchemaLoader",
328
+ "check_config_against_spec_or_exit",
329
+ "split_config",
330
+ "TransformConfig",
331
+ "TypeTransformer",
332
+ "ENV_REQUEST_CACHE_PATH",
333
+ "create_timer",
334
+ "OneOfOptionConfig",
335
+ "resolve_refs",
336
+ "as_airbyte_message",
337
+ # Types
338
+ "Config",
339
+ "Record",
340
+ "Source",
341
+ "StreamSlice",
342
+ ]
343
+
344
+ __version__: str
345
+ """Version generated by poetry dynamic versioning during publish.
346
+
347
+ When running in development, dunamai will calculate a new prerelease version
348
+ from existing git release tag info.
349
+ """
350
+
351
+ try:
352
+ __version__ = _dunamai.get_version(
353
+ "airbyte-cdk",
354
+ third_choice=_dunamai.Version.from_any_vcs,
355
+ fallback=_dunamai.Version("0.0.0+dev"),
356
+ ).serialize()
357
+ except:
358
+ __version__ = "0.0.0+dev"
@@ -0,0 +1 @@
1
+ # Copyright (c) 2024 Airbyte, Inc., all rights reserved.
@@ -0,0 +1,5 @@
1
+ from airbyte_cdk.cli.source_declarative_manifest._run import run
2
+
3
+ __all__ = [
4
+ "run",
5
+ ]