supaflow-connector-runtime 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ """Public authoring API for declarative Supaflow connectors."""
2
+
3
+ from supaflow_dlt_runtime.declarative import (
4
+ DeclarativeDltConnector as SupaflowConnector,
5
+ )
6
+ from supaflow_python_sdk import ConnectorDefinition, ConnectorProperty, ConnectorResource, OAuthDefinition, source_capabilities
7
+
8
+ __all__ = [
9
+ "ConnectorDefinition",
10
+ "ConnectorProperty",
11
+ "ConnectorResource",
12
+ "OAuthDefinition",
13
+ "SupaflowConnector",
14
+ "source_capabilities",
15
+ ]
@@ -0,0 +1,4 @@
1
+ """Explicit dlt adapter controls for advanced declarative connectors."""
2
+ from supaflow_dlt_runtime.resource_options import DltResourceOptions as DltResourceOptions
3
+
4
+ __all__ = ["DltResourceOptions"]
@@ -0,0 +1,8 @@
1
+ """Public SQL authoring helpers for connectors using the runtime's sql extra."""
2
+
3
+ from supaflow_dlt_runtime.sql_database_connector_base import (
4
+ SqlDatabaseConnectorBase as SqlSourceConnector,
5
+ build_sql_property_specs as sql_connection_properties,
6
+ )
7
+
8
+ __all__ = ["SqlSourceConnector", "sql_connection_properties"]
@@ -0,0 +1,14 @@
1
+ Metadata-Version: 2.4
2
+ Name: supaflow-connector-runtime
3
+ Version: 0.1.0
4
+ Summary: Declarative adapter for Supaflow Python source connectors.
5
+ Author-email: Supaflow <support@supa-flow.io>
6
+ License-Expression: LicenseRef-Proprietary
7
+ Project-URL: Homepage, https://www.supa-flow.io
8
+ Project-URL: Documentation, https://www.supa-flow.io/docs
9
+ Requires-Python: >=3.11
10
+ Requires-Dist: supaflow-python-sdk>=1.0.73.dev0
11
+ Requires-Dist: dlt<2.0,>=1.27
12
+ Requires-Dist: pyyaml>=6.0
13
+ Provides-Extra: sql
14
+ Requires-Dist: dlt[sql_database]<2.0,>=1.27; extra == "sql"
@@ -0,0 +1,25 @@
1
+ supaflow_connector/__init__.py,sha256=4x03f4u4YI9lNbpcj2fWVqAUmt182UQV6k8wzuvZ7fE,459
2
+ supaflow_connector/dlt.py,sha256=M54JHcmp1RmSBbKoWR8FSMoPSmSPHVfsYbrZb5v1jbI,198
3
+ supaflow_connector/sql.py,sha256=eUieZzF3avq0-4MLzFJKNdmbnonzSo6eBENRaVffkgc,321
4
+ supaflow_dlt_runtime/__init__.py,sha256=sGCcDJLPlQSHUweNQlSw_qEfYMeztiry6VnU0cc8pfQ,1002
5
+ supaflow_dlt_runtime/declarative.py,sha256=mSKWftYS0KJ308kd1ebGagu7weZFjTNh8yB1iUNzHa8,168654
6
+ supaflow_dlt_runtime/dlt_binary_compat.py,sha256=rsSOBM5pYf_-kySSC8PAgWaK6ghv19PdBmd2Fv5k18I,2130
7
+ supaflow_dlt_runtime/dlt_naming.py,sha256=3duMtG1WRri9Ks-wCoudhPLivQGRT-f2wVmmvhvKYew,13348
8
+ supaflow_dlt_runtime/dlt_system_field_enrichment.py,sha256=P8TtTB37w3pLXBpn01qvrzIkg7VwWK-mroy_f7CfF-0,8545
9
+ supaflow_dlt_runtime/manifest_v1.py,sha256=NNTSMYLMnVtghTbc4XYOfRJpC8BMCqyXbWl8_bHepAg,740
10
+ supaflow_dlt_runtime/naming.py,sha256=VOfO7sWqU8f_h7IZrTrqnypjgJZcgZzhEIlu_gJ97QE,26433
11
+ supaflow_dlt_runtime/normalize_backed.py,sha256=B6a0SFWHfGzJc3j4fiYzfg8-XgPBwnFcDDLf-m6bskQ,18147
12
+ supaflow_dlt_runtime/oauth.py,sha256=IabIOj07OKIJrSt6EFQVxAxWt0Y2UUpX9U3ekG8LxVA,911
13
+ supaflow_dlt_runtime/parity_scope.py,sha256=JsAdCo2s1EQlgHozP8b_3mSW8tLtt4nebPnj9jveZC8,1062
14
+ supaflow_dlt_runtime/precision_normalizer.py,sha256=1Rbxd9Z8znezWLFJ2CTZ3-5FSVy2rAAsXjaMITJEE0w,4539
15
+ supaflow_dlt_runtime/resource_options.py,sha256=2DfwCi5rd-IckqckhManiTu1N3uphznUMFhckup4GIg,1919
16
+ supaflow_dlt_runtime/runtime.py,sha256=Kptf00gldEwHyxzrzNiPTffOzioO6o5WDgTMLWvocHc,3408
17
+ supaflow_dlt_runtime/schema_helpers.py,sha256=Ef4x7DCjSqSyvQPZwS2XbAZBnx9A0OO4fhe1tDoKf_k,11236
18
+ supaflow_dlt_runtime/sql_database_connector_base.py,sha256=xNHYux9uI6eGJ5QSOrTLm_oJraFhEmgI71WJDO46Jgo,33592
19
+ supaflow_dlt_runtime/state_bridge.py,sha256=9wyvAU7nPT30FuBgIUzfNBMw2jFmd_9mup6z_nK9Ios,15196
20
+ supaflow_dlt_runtime/supaflow_ingestion_destination.py,sha256=xkIZ_-BXhx_o1Z7rBfeNRSfnZ5wNqlcNsmNob4GpaXc,29061
21
+ supaflow_dlt_runtime/type_mapping.py,sha256=1465DNH47JmxJTHR0nwSk0lfYbF2rdnC5D51P647R8c,1039
22
+ supaflow_connector_runtime-0.1.0.dist-info/METADATA,sha256=6gJobaylkiDjuBtJsbJdn_5-0uKQsbUQI8kTk4bjElc,542
23
+ supaflow_connector_runtime-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
24
+ supaflow_connector_runtime-0.1.0.dist-info/top_level.txt,sha256=WeAm9rApyWKjddQTJPfPIQ7deRoz60_s24i6-S-hBPw,40
25
+ supaflow_connector_runtime-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ supaflow_connector
2
+ supaflow_dlt_runtime
@@ -0,0 +1,34 @@
1
+ """Shared runtime for dlt-based Supaflow source connectors.
2
+
3
+ This is a utility library that connectors call. Connectors extend
4
+ BaseConnector directly and use these functions for dlt-specific plumbing.
5
+ """
6
+
7
+ from supaflow_dlt_runtime.type_mapping import DLT_TO_SUPAFLOW, PYTHON_TO_SUPAFLOW
8
+ from supaflow_dlt_runtime.state_bridge import (
9
+ compute_effective_start,
10
+ get_cutoff_time,
11
+ build_dlt_state,
12
+ extract_cursor,
13
+ )
14
+ from supaflow_dlt_runtime.runtime import iterate_resource
15
+ from supaflow_dlt_runtime.schema_helpers import (
16
+ build_object_info,
17
+ build_field,
18
+ infer_fields_from_records,
19
+ )
20
+ from supaflow_dlt_runtime.declarative import (
21
+ DeclarativeDltConnector,
22
+ DltConnectorSpec,
23
+ DltConnectorTestSpec,
24
+ DltPropertySpec,
25
+ DltResourceSpec,
26
+ default_source_capabilities,
27
+ )
28
+ from supaflow_dlt_runtime.oauth import (
29
+ DltOAuthConfigSpec,
30
+ ManagedOAuthCredentials,
31
+ is_managed_oauth_selected,
32
+ managed_oauth_properties,
33
+ require_managed_oauth_config,
34
+ )