ingestr 0.13.19__py3-none-any.whl → 0.13.20__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/buildinfo.py CHANGED
@@ -1 +1 @@
1
- version = "v0.13.19"
1
+ version = "v0.13.20"
ingestr/src/factory.py CHANGED
@@ -72,6 +72,7 @@ SQL_SOURCE_SCHEMES = [
72
72
  "hana",
73
73
  "clickhouse",
74
74
  "databricks",
75
+ "db2",
75
76
  ]
76
77
 
77
78
 
ingestr/src/sources.py CHANGED
@@ -177,6 +177,9 @@ class SqlSource:
177
177
  scheme="clickhouse+native",
178
178
  query=urlencode(query_params, doseq=True),
179
179
  ).geturl()
180
+
181
+ if uri.startswith("db2://"):
182
+ uri = uri.replace("db2://", "db2+ibm_db://")
180
183
 
181
184
  query_adapters = []
182
185
  if kwargs.get("sql_limit"):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ingestr
3
- Version: 0.13.19
3
+ Version: 0.13.20
4
4
  Summary: ingestr is a command-line application that ingests data from various sources and stores them in any database.
5
5
  Project-URL: Homepage, https://github.com/bruin-data/ingestr
6
6
  Project-URL: Issues, https://github.com/bruin-data/ingestr/issues
@@ -81,6 +81,8 @@ Requires-Dist: hdbcli==2.23.27
81
81
  Requires-Dist: hexbytes==1.3.0
82
82
  Requires-Dist: httplib2==0.22.0
83
83
  Requires-Dist: humanize==4.12.1
84
+ Requires-Dist: ibm-db-sa==0.4.1
85
+ Requires-Dist: ibm-db==3.2.6
84
86
  Requires-Dist: idna==3.10
85
87
  Requires-Dist: inflection==0.5.1
86
88
  Requires-Dist: isodate==0.7.2
@@ -1,15 +1,15 @@
1
1
  ingestr/main.py,sha256=0KTNvWPaMrEVcHN6p8Vvffhui8e6OjlNY9UrsGbh36I,24715
2
2
  ingestr/src/.gitignore,sha256=8cX1AZTSI0TcdZFGTmS_oyBjpfCzhOEt0DdAo2dFIY8,203
3
3
  ingestr/src/blob.py,sha256=onMe5ZHxPXTdcB_s2oGNdMo-XQJ3ajwOsWE9eSTGFmc,1495
4
- ingestr/src/buildinfo.py,sha256=68wPE6UM1mnzvFqCjAYCZcJWG8TjiDQV8y4j0wLlD0U,21
4
+ ingestr/src/buildinfo.py,sha256=EBuceGyhPAkrN4l1DhYfU8x1n5cj9U52NNldhLqPt_U,21
5
5
  ingestr/src/destinations.py,sha256=vrGij4qMPCdXTMIimROWBJFqzOqCM4DFmgyubgSHejA,11279
6
6
  ingestr/src/errors.py,sha256=Ufs4_DfE77_E3vnA1fOQdi6cmuLVNm7_SbFLkL1XPGk,686
7
- ingestr/src/factory.py,sha256=Si3xQuaqiwR_LMtxg2rA93MkDYpq_BnVWTfBsNVnFIA,5198
7
+ ingestr/src/factory.py,sha256=-Mv9vWvY7PJOnOSMvLYq6zLtPLYpTORLD6bUvf8xUc8,5209
8
8
  ingestr/src/filters.py,sha256=0JQXeAr2APFMnW2sd-6BlAMWv93bXV17j8b5MM8sHmM,580
9
9
  ingestr/src/loader.py,sha256=9NaWAyfkXdqAZSS-N72Iwo36Lbx4PyqIfaaH1dNdkFs,1712
10
10
  ingestr/src/partition.py,sha256=ZqcCTz6xrSurgJDSZYn-_gaBaEXj4peV7N1wYe3IiQk,953
11
11
  ingestr/src/resource.py,sha256=XG-sbBapFVEM7OhHQFQRTdTLlh-mHB-N4V1t8F8Tsww,543
12
- ingestr/src/sources.py,sha256=y6zFGGbi5FvrdQ89e0t1ud3BWNN2kvrNu2iuXb9wu6g,70977
12
+ ingestr/src/sources.py,sha256=7WL0QVfQJNwyGLCJzIa_m3d7z-eA3etp-klIErtGvco,71081
13
13
  ingestr/src/table_definition.py,sha256=REbAbqdlmUMUuRh8nEQRreWjPVOQ5ZcfqGkScKdCrmk,390
14
14
  ingestr/src/time.py,sha256=H_Fk2J4ShXyUM-EMY7MqCLZQhlnZMZvO952bmZPc4yE,254
15
15
  ingestr/src/version.py,sha256=J_2xgZ0mKlvuHcjdKCx2nlioneLH0I47JiU_Slr_Nwc,189
@@ -112,8 +112,8 @@ ingestr/testdata/delete_insert_part2.csv,sha256=B_KUzpzbNdDY_n7wWop1mT2cz36TmayS
112
112
  ingestr/testdata/merge_expected.csv,sha256=DReHqWGnQMsf2PBv_Q2pfjsgvikYFnf1zYcQZ7ZqYN0,276
113
113
  ingestr/testdata/merge_part1.csv,sha256=Pw8Z9IDKcNU0qQHx1z6BUf4rF_-SxKGFOvymCt4OY9I,185
114
114
  ingestr/testdata/merge_part2.csv,sha256=T_GiWxA81SN63_tMOIuemcvboEFeAmbKc7xRXvL9esw,287
115
- ingestr-0.13.19.dist-info/METADATA,sha256=eA-R_U1t7kGuLAZoUOf3QX3PfYHlNAEy0YRGe9nZYfk,13569
116
- ingestr-0.13.19.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
117
- ingestr-0.13.19.dist-info/entry_points.txt,sha256=oPJy0KBnPWYjDtP1k8qwAihcTLHSZokSQvRAw_wtfJM,46
118
- ingestr-0.13.19.dist-info/licenses/LICENSE.md,sha256=cW8wIhn8HFE-KLStDF9jHQ1O_ARWP3kTpk_-eOccL24,1075
119
- ingestr-0.13.19.dist-info/RECORD,,
115
+ ingestr-0.13.20.dist-info/METADATA,sha256=N3P4HTln7RTUxn6Hk42Et7nN6WBSPMN8G3wWgXuUrTY,13630
116
+ ingestr-0.13.20.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
117
+ ingestr-0.13.20.dist-info/entry_points.txt,sha256=oPJy0KBnPWYjDtP1k8qwAihcTLHSZokSQvRAw_wtfJM,46
118
+ ingestr-0.13.20.dist-info/licenses/LICENSE.md,sha256=cW8wIhn8HFE-KLStDF9jHQ1O_ARWP3kTpk_-eOccL24,1075
119
+ ingestr-0.13.20.dist-info/RECORD,,