xlwings-utils 25.0.8__py3-none-any.whl → 25.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.
Potentially problematic release.
This version of xlwings-utils might be problematic. Click here for more details.
- xlwings_utils/xlwings_utils.py +109 -81
- xlwings_utils/xlwings_utils_old.py +1064 -0
- {xlwings_utils-25.0.8.dist-info → xlwings_utils-25.1.0.dist-info}/METADATA +6 -5
- xlwings_utils-25.1.0.dist-info/RECORD +7 -0
- xlwings_utils-25.0.8.dist-info/RECORD +0 -6
- {xlwings_utils-25.0.8.dist-info → xlwings_utils-25.1.0.dist-info}/WHEEL +0 -0
- {xlwings_utils-25.0.8.dist-info → xlwings_utils-25.1.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xlwings_utils
|
|
3
|
-
Version: 25.0
|
|
3
|
+
Version: 25.1.0
|
|
4
4
|
Summary: xlwings_utils
|
|
5
5
|
Author-email: Ruud van der Ham <rt.van.der.ham@gmail.com>
|
|
6
6
|
Project-URL: Homepage, https://github.com/salabim/xlwings_utils
|
|
@@ -9,7 +9,6 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
9
9
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
10
10
|
Requires-Python: >=3.9
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
12
|
-
Requires-Dist: dropbox
|
|
13
12
|
|
|
14
13
|
<img src="https://www.salabim.org/xlwings_utils_logo2.png">
|
|
15
14
|
|
|
@@ -19,7 +18,7 @@ This module provides some useful functions to be used in xlwings (lite).
|
|
|
19
18
|
|
|
20
19
|
## Installation
|
|
21
20
|
|
|
22
|
-
Just add `xlwings-utils`
|
|
21
|
+
Just add `xlwings-utils` to the *requirements.txt* tab.
|
|
23
22
|
|
|
24
23
|
In the script, add
|
|
25
24
|
|
|
@@ -61,13 +60,15 @@ In order to make a Dropbox app, and get the required environment variables, just
|
|
|
61
60
|
python -c "exec(__import__('requests').get('https://salabim.org/dropbox setup.py').text)"
|
|
62
61
|
```
|
|
63
62
|
|
|
63
|
+
The file `dropbox setup.py` can also be found in the repo of xlwings_lite .
|
|
64
|
+
|
|
64
65
|
Then, it is possible to list all files in a specified folder using the list_dropbox function.
|
|
65
66
|
It is also possible to get at all folders and to access all underlying folders.
|
|
66
67
|
|
|
67
|
-
The `read_dropbox` function can be used to read the contents (bytes) of a Dropbox file. As reading from Dropbox under pyodide is rather unreliable, xlwings_utils automatically retries several times (by default 100 times). The actual number of retries can be found with `read_dropbox.retries`.
|
|
68
|
-
|
|
69
68
|
The function `write_dropbox` can be used to write contents (bytes) to a Dropbox file.
|
|
70
69
|
|
|
70
|
+
The function `delete_from_dropbox` can be used to delete a Dropbox file.
|
|
71
|
+
|
|
71
72
|
The functions `list_local`, `read_local` and `write_local` offer similar functionality for the local file system (on pyodide).
|
|
72
73
|
|
|
73
74
|
So, a way to access a file on the system's drive (mapped to Dropbox) as a local file is:
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
xlwings_utils/__init__.py,sha256=FdaRztevSu5akGL7KBUBRzqwLMRTdvVUuS2Kfp2f1Uc,68
|
|
2
|
+
xlwings_utils/xlwings_utils.py,sha256=E2to_M9F_23uk1h8PLW3wDO5aFRVETrtxs1loQF1ZLM,30256
|
|
3
|
+
xlwings_utils/xlwings_utils_old.py,sha256=l1BowCMx6v6OqSaSKcTcNwwqpbU9EI987s9COcIBFjI,30452
|
|
4
|
+
xlwings_utils-25.1.0.dist-info/METADATA,sha256=IcNOW_IKJ8EISXzenOl4yyr6eSUuIEwnWpXmOB6FM8I,12240
|
|
5
|
+
xlwings_utils-25.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
6
|
+
xlwings_utils-25.1.0.dist-info/top_level.txt,sha256=kf5SEv0gZiRObPhUoYcc1O_iX_wwTOPeUIYvzyYeAM4,14
|
|
7
|
+
xlwings_utils-25.1.0.dist-info/RECORD,,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
xlwings_utils/__init__.py,sha256=FdaRztevSu5akGL7KBUBRzqwLMRTdvVUuS2Kfp2f1Uc,68
|
|
2
|
-
xlwings_utils/xlwings_utils.py,sha256=HNip6tVo2sxhlysNm2zWVRY2bciWUujpzN-NmISUOiM,28690
|
|
3
|
-
xlwings_utils-25.0.8.dist-info/METADATA,sha256=KwS8dQNtM4n95zj2EXYaQfZFXMGga8MkQKVchmCQO9w,12447
|
|
4
|
-
xlwings_utils-25.0.8.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
5
|
-
xlwings_utils-25.0.8.dist-info/top_level.txt,sha256=kf5SEv0gZiRObPhUoYcc1O_iX_wwTOPeUIYvzyYeAM4,14
|
|
6
|
-
xlwings_utils-25.0.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|