ingestr 0.13.93__py3-none-any.whl → 0.14.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.
Potentially problematic release.
This version of ingestr might be problematic. Click here for more details.
- ingestr/src/adjust/__init__.py +4 -4
- ingestr/src/anthropic/__init__.py +277 -0
- ingestr/src/anthropic/helpers.py +525 -0
- ingestr/src/applovin/__init__.py +1 -1
- ingestr/src/buildinfo.py +1 -1
- ingestr/src/destinations.py +145 -7
- ingestr/src/docebo/__init__.py +589 -0
- ingestr/src/docebo/client.py +435 -0
- ingestr/src/docebo/helpers.py +97 -0
- ingestr/src/elasticsearch/helpers.py +112 -0
- ingestr/src/facebook_ads/__init__.py +10 -5
- ingestr/src/factory.py +14 -0
- ingestr/src/fluxx/__init__.py +4175 -0
- ingestr/src/frankfurter/__init__.py +157 -157
- ingestr/src/fundraiseup/__init__.py +49 -0
- ingestr/src/fundraiseup/client.py +81 -0
- ingestr/src/google_analytics/__init__.py +1 -1
- ingestr/src/mongodb/__init__.py +1 -1
- ingestr/src/mongodb/helpers.py +101 -79
- ingestr/src/sources.py +151 -4
- ingestr/tests/unit/test_smartsheets.py +1 -1
- {ingestr-0.13.93.dist-info → ingestr-0.14.0.dist-info}/METADATA +12 -7
- {ingestr-0.13.93.dist-info → ingestr-0.14.0.dist-info}/RECORD +26 -18
- {ingestr-0.13.93.dist-info → ingestr-0.14.0.dist-info}/WHEEL +0 -0
- {ingestr-0.13.93.dist-info → ingestr-0.14.0.dist-info}/entry_points.txt +0 -0
- {ingestr-0.13.93.dist-info → ingestr-0.14.0.dist-info}/licenses/LICENSE.md +0 -0
ingestr/src/factory.py
CHANGED
|
@@ -11,7 +11,9 @@ from ingestr.src.destinations import (
|
|
|
11
11
|
CsvDestination,
|
|
12
12
|
DatabricksDestination,
|
|
13
13
|
DuckDBDestination,
|
|
14
|
+
ElasticsearchDestination,
|
|
14
15
|
GCSDestination,
|
|
16
|
+
MongoDBDestination,
|
|
15
17
|
MotherduckDestination,
|
|
16
18
|
MsSQLDestination,
|
|
17
19
|
MySqlDestination,
|
|
@@ -21,10 +23,12 @@ from ingestr.src.destinations import (
|
|
|
21
23
|
SnowflakeDestination,
|
|
22
24
|
SqliteDestination,
|
|
23
25
|
SynapseDestination,
|
|
26
|
+
TrinoDestination,
|
|
24
27
|
)
|
|
25
28
|
from ingestr.src.sources import (
|
|
26
29
|
AdjustSource,
|
|
27
30
|
AirtableSource,
|
|
31
|
+
AnthropicSource,
|
|
28
32
|
AppleAppStoreSource,
|
|
29
33
|
ApplovinMaxSource,
|
|
30
34
|
AppLovinSource,
|
|
@@ -34,12 +38,14 @@ from ingestr.src.sources import (
|
|
|
34
38
|
AttioSource,
|
|
35
39
|
ChessSource,
|
|
36
40
|
ClickupSource,
|
|
41
|
+
DoceboSource,
|
|
37
42
|
DynamoDBSource,
|
|
38
43
|
ElasticsearchSource,
|
|
39
44
|
FacebookAdsSource,
|
|
40
45
|
FluxxSource,
|
|
41
46
|
FrankfurterSource,
|
|
42
47
|
FreshdeskSource,
|
|
48
|
+
FundraiseupSource,
|
|
43
49
|
GCSSource,
|
|
44
50
|
GitHubSource,
|
|
45
51
|
GoogleAdsSource,
|
|
@@ -105,6 +111,7 @@ SQL_SOURCE_SCHEMES = [
|
|
|
105
111
|
"databricks",
|
|
106
112
|
"db2",
|
|
107
113
|
"spanner",
|
|
114
|
+
"trino",
|
|
108
115
|
]
|
|
109
116
|
|
|
110
117
|
|
|
@@ -143,7 +150,9 @@ class SourceDestinationFactory:
|
|
|
143
150
|
source_scheme: str
|
|
144
151
|
destination_scheme: str
|
|
145
152
|
sources: Dict[str, Type[SourceProtocol]] = {
|
|
153
|
+
"anthropic": AnthropicSource,
|
|
146
154
|
"csv": LocalCsvSource,
|
|
155
|
+
"docebo": DoceboSource,
|
|
147
156
|
"mongodb": MongoDbSource,
|
|
148
157
|
"mongodb+srv": MongoDbSource,
|
|
149
158
|
"notion": NotionSource,
|
|
@@ -183,6 +192,7 @@ class SourceDestinationFactory:
|
|
|
183
192
|
"pipedrive": PipedriveSource,
|
|
184
193
|
"frankfurter": FrankfurterSource,
|
|
185
194
|
"freshdesk": FreshdeskSource,
|
|
195
|
+
"fundraiseup": FundraiseupSource,
|
|
186
196
|
"trustpilot": TrustpilotSource,
|
|
187
197
|
"phantombuster": PhantombusterSource,
|
|
188
198
|
"elasticsearch": ElasticsearchSource,
|
|
@@ -219,11 +229,15 @@ class SourceDestinationFactory:
|
|
|
219
229
|
"athena": AthenaDestination,
|
|
220
230
|
"clickhouse+native": ClickhouseDestination,
|
|
221
231
|
"clickhouse": ClickhouseDestination,
|
|
232
|
+
"elasticsearch": ElasticsearchDestination,
|
|
233
|
+
"mongodb": MongoDBDestination,
|
|
234
|
+
"mongodb+srv": MongoDBDestination,
|
|
222
235
|
"s3": S3Destination,
|
|
223
236
|
"gs": GCSDestination,
|
|
224
237
|
"sqlite": SqliteDestination,
|
|
225
238
|
"mysql": MySqlDestination,
|
|
226
239
|
"mysql+pymysql": MySqlDestination,
|
|
240
|
+
"trino": TrinoDestination,
|
|
227
241
|
}
|
|
228
242
|
|
|
229
243
|
def __init__(self, source_uri: str, destination_uri: str):
|