dotstat_io 1.0.5__tar.gz → 1.0.6__tar.gz
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 dotstat_io might be problematic. Click here for more details.
- {dotstat_io-1.0.5 → dotstat_io-1.0.6}/PKG-INFO +3 -2
- {dotstat_io-1.0.5 → dotstat_io-1.0.6}/README.md +2 -1
- {dotstat_io-1.0.5 → dotstat_io-1.0.6}/pyproject.toml +1 -1
- {dotstat_io-1.0.5 → dotstat_io-1.0.6}/dotstat_io/__init__.py +0 -0
- {dotstat_io-1.0.5 → dotstat_io-1.0.6}/dotstat_io/authentication.py +0 -0
- {dotstat_io-1.0.5 → dotstat_io-1.0.6}/dotstat_io/client.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: dotstat_io
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.6
|
|
4
4
|
Summary: Utility to download or upload data from/to .Stat Suite using ADFS authentication to connect to it
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Gyorgy Gyomai
|
|
@@ -144,13 +144,14 @@ returned_result = client_obj.download_data_stream(
|
|
|
144
144
|
from dotstat_io.client import Client
|
|
145
145
|
client_obj = Client.init_with_authentication_obj(Authentication_obj)
|
|
146
146
|
returned_result = client_obj.upload_data_file(
|
|
147
|
-
transfer_url, Path(file_path), space, validationType, use_filepath)
|
|
147
|
+
transfer_url, Path(file_path), space, validationType, use_filepath, optimize)
|
|
148
148
|
```
|
|
149
149
|
* `transfer_url:` URL of the transfer service
|
|
150
150
|
* `file_path:` The full path of the SDMX-CSV file to be imported
|
|
151
151
|
* `space:` Data space where the file will be uploaded
|
|
152
152
|
* `validationType:` The type of validation to use during upload. Possible values: Basic Validation (0), Advanced Validation (1)
|
|
153
153
|
* `use_filepath:` Use a file path of a shared folder accessible by the .Stat Suite data upload engine (for unlimited file sizes)
|
|
154
|
+
* `optimize:` Controls whether optimization is applied after data changes
|
|
154
155
|
|
|
155
156
|
#### 6. To upload an Excel data file to .Stat Suite:
|
|
156
157
|
```python
|
|
@@ -123,13 +123,14 @@ returned_result = client_obj.download_data_stream(
|
|
|
123
123
|
from dotstat_io.client import Client
|
|
124
124
|
client_obj = Client.init_with_authentication_obj(Authentication_obj)
|
|
125
125
|
returned_result = client_obj.upload_data_file(
|
|
126
|
-
transfer_url, Path(file_path), space, validationType, use_filepath)
|
|
126
|
+
transfer_url, Path(file_path), space, validationType, use_filepath, optimize)
|
|
127
127
|
```
|
|
128
128
|
* `transfer_url:` URL of the transfer service
|
|
129
129
|
* `file_path:` The full path of the SDMX-CSV file to be imported
|
|
130
130
|
* `space:` Data space where the file will be uploaded
|
|
131
131
|
* `validationType:` The type of validation to use during upload. Possible values: Basic Validation (0), Advanced Validation (1)
|
|
132
132
|
* `use_filepath:` Use a file path of a shared folder accessible by the .Stat Suite data upload engine (for unlimited file sizes)
|
|
133
|
+
* `optimize:` Controls whether optimization is applied after data changes
|
|
133
134
|
|
|
134
135
|
#### 6. To upload an Excel data file to .Stat Suite:
|
|
135
136
|
```python
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "dotstat_io"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.6"
|
|
4
4
|
description = "Utility to download or upload data from/to .Stat Suite using ADFS authentication to connect to it"
|
|
5
5
|
license = "MIT"
|
|
6
6
|
authors = ["Gyorgy Gyomai <gyorgy.gyomai@oecd.org>", "Abdel Aliaoui <abdel.aliaoui@oecd.org>"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|