dve-lumipy-testing 1.0.540__py3-none-any.whl → 1.0.541__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.
- {dve_lumipy_testing-1.0.540.dist-info → dve_lumipy_testing-1.0.541.dist-info}/METADATA +33 -2
- {dve_lumipy_testing-1.0.540.dist-info → dve_lumipy_testing-1.0.541.dist-info}/RECORD +6 -6
- lumipy/client.py +1 -1
- {dve_lumipy_testing-1.0.540.dist-info → dve_lumipy_testing-1.0.541.dist-info}/WHEEL +0 -0
- {dve_lumipy_testing-1.0.540.dist-info → dve_lumipy_testing-1.0.541.dist-info}/entry_points.txt +0 -0
- {dve_lumipy_testing-1.0.540.dist-info → dve_lumipy_testing-1.0.541.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dve-lumipy-testing
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.541
|
|
4
4
|
Summary: Python library for Luminesce
|
|
5
5
|
Author: FINBOURNE Technology
|
|
6
6
|
Author-email: engineering@finbourne.com
|
|
@@ -72,6 +72,27 @@ command instead:
|
|
|
72
72
|
pip install lumipy
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
+
If the above commands do not work, you may need to upgrade pip first:
|
|
76
|
+
```
|
|
77
|
+
pip install --upgrade pip
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
### Install via Brew
|
|
81
|
+
|
|
82
|
+
Else you can install lumipy via brew.
|
|
83
|
+
|
|
84
|
+
First need to install Python 3.11:
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
brew install python@3.11
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
Next using Python 3.11, install the lumipy package:
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
python3.11 -m pip install lumipy
|
|
94
|
+
```
|
|
95
|
+
|
|
75
96
|
**Dve-Lumipy-Preview** uses the V1 Finbourne SDKs and is no longer maintained.
|
|
76
97
|
```
|
|
77
98
|
pip install dve-lumipy-preview
|
|
@@ -92,6 +113,11 @@ lm.config.add('fbn-ci', '<your PAT>')
|
|
|
92
113
|
lm.config.domain = 'fbn-ci'
|
|
93
114
|
```
|
|
94
115
|
|
|
116
|
+
If the above does not work, can also configure via environment variables.
|
|
117
|
+
```
|
|
118
|
+
lumipy config add --domain='my-domain' --token='my-token'
|
|
119
|
+
```
|
|
120
|
+
|
|
95
121
|
## Connect
|
|
96
122
|
|
|
97
123
|
Python providers are build by inheriting from a base class, `BaseProvider`, and implementing the `__init__` and `get_data` methods.
|
|
@@ -242,7 +268,6 @@ Directory
|
|
|
242
268
|
$ lumipy run path/to/dir
|
|
243
269
|
```
|
|
244
270
|
|
|
245
|
-
|
|
246
271
|
## Query Using SQL
|
|
247
272
|
This command runs a SQL query, gets the result back, shows it on screen and then saves it as a CSV.
|
|
248
273
|
|
|
@@ -275,6 +300,12 @@ You can run `unit` tests, `integration` tests, `provider` tests, or `everything`
|
|
|
275
300
|
$ lumipy test unit
|
|
276
301
|
```
|
|
277
302
|
|
|
303
|
+
To run a specific test:
|
|
304
|
+
```
|
|
305
|
+
python3.11 -m unittest
|
|
306
|
+
python3.11 -m unittest lumipy.test.{test_type}.{test_name}
|
|
307
|
+
```
|
|
308
|
+
|
|
278
309
|
## Windows Setup
|
|
279
310
|
|
|
280
311
|
To use LumiPy and run local providers it is recommended that you use an admin `powershell` terminal.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
lumipy/__init__.py,sha256=Ei0SkyOIPS-aC-ZSdaHwfiH7xWMBelLY-EXJ0--jzUo,443
|
|
2
2
|
lumipy/_config_manager.py,sha256=0ziIk7EyZb44uDw84Pw9UBrY9PmcMYe92WbgF58xylM,8675
|
|
3
|
-
lumipy/client.py,sha256=
|
|
3
|
+
lumipy/client.py,sha256=Ksb3poT2PGkfkSbS6jhth1aReQ5-t5VCPqRJ3Z2jIZg,23202
|
|
4
4
|
lumipy/common.py,sha256=wMCeQ8SdCdPiAqyHmVCTy8Wpxs8uJU7sSbYkgu3k5Ls,1701
|
|
5
5
|
lumipy/query_job.py,sha256=f13vvK1n4czNNg0Jxq8ACrVHdZ20bRQi2rAV_HlfKBA,5395
|
|
6
6
|
lumipy/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -379,8 +379,8 @@ lumipy/test/unit/provider_tests/test_provider_factory.py,sha256=ICHlEiYS-GvKFoI5
|
|
|
379
379
|
lumipy/test/unit/provider_tests/test_provider_manager.py,sha256=-TT-3ZGpDsFKMz4efWIy7TGAUVtZ2gTDa67DiorIioc,13456
|
|
380
380
|
lumipy/test/unit/queryjob_tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
381
381
|
lumipy/test/unit/queryjob_tests/test_queryjob.py,sha256=CVcMaezQ578Qh_5sukr6BqKMHJxs9Pawiik0J1rVObo,1539
|
|
382
|
-
dve_lumipy_testing-1.0.
|
|
383
|
-
dve_lumipy_testing-1.0.
|
|
384
|
-
dve_lumipy_testing-1.0.
|
|
385
|
-
dve_lumipy_testing-1.0.
|
|
386
|
-
dve_lumipy_testing-1.0.
|
|
382
|
+
dve_lumipy_testing-1.0.541.dist-info/METADATA,sha256=MULkS0SQ2g4_uBcJWoQ7ihqMmoIOiX7ZGJWxsb3y4LY,15413
|
|
383
|
+
dve_lumipy_testing-1.0.541.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
384
|
+
dve_lumipy_testing-1.0.541.dist-info/entry_points.txt,sha256=L7hRlqwmvzHMwaOQzygKLK-gx4k4e1q4Qz5m0DGihW8,46
|
|
385
|
+
dve_lumipy_testing-1.0.541.dist-info/top_level.txt,sha256=DVww8LaQM3Xm0WOgo4JE0epePgCM1xGWWWxh7wuv-CY,7
|
|
386
|
+
dve_lumipy_testing-1.0.541.dist-info/RECORD,,
|
lumipy/client.py
CHANGED
|
@@ -178,7 +178,7 @@ class Client:
|
|
|
178
178
|
sql: str,
|
|
179
179
|
name: Optional[str] = "query",
|
|
180
180
|
timeout: Optional[int] = 3600,
|
|
181
|
-
keep_for: Optional[int] =
|
|
181
|
+
keep_for: Optional[int] = 28800,
|
|
182
182
|
correlation_id: Optional[str] = None,
|
|
183
183
|
) -> str:
|
|
184
184
|
"""Send an asynchronous query to Luminesce. Starts the query but does not wait and fetch the result.
|
|
File without changes
|
{dve_lumipy_testing-1.0.540.dist-info → dve_lumipy_testing-1.0.541.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|