CTKFileDialog-plus 0.5.5__tar.gz → 0.6.0__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.
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/PKG-INFO +3 -1
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/Constants/__init__.py +10 -2
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/Constants/constants.py +16 -2
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/PKG-INFO +3 -1
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/README.md +2 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/pyproject.toml +1 -1
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/setup.py +1 -1
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/SOURCES.txt +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/dependency_links.txt +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/requires.txt +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/top_level.txt +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/Dialog.py +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/__init__.py +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/_functions.py +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/_system.py +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/_IconsMini/file.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/_IconsMini/folder.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/bash.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/conf.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/css.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/exe.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/folder.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/gz.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/html.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/image.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/ini.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/javascript.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/js.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/json.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/markdown.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/odt.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/pdf.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/php.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/python.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/text.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/video.png +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/MANIFEST.in +0 -0
- {ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: CTKFileDialog-plus
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.0
|
|
4
4
|
Summary: A modern file dialog for CustomTkinter
|
|
5
5
|
Home-page: https://github.com/hmidani-abdelilah/CTkFileDialog-plus
|
|
6
6
|
Author: abdelilah
|
|
@@ -388,6 +388,8 @@ root.mainloop()
|
|
|
388
388
|
| `PATH` | System PATH split into a list of directories |
|
|
389
389
|
| `DATA_DIR` | XDG-compliant user data directory (default: ~/.local/share) |
|
|
390
390
|
| `VENV` | Active Python virtual environment (venv or conda), fallback to PWD |
|
|
391
|
+
| `DOWNLOAD_DIR` | Default download directory (e.g., ~/Downloads or C:\Users\user\Download). |
|
|
392
|
+
| `DOWNLOAD_DIR_VIDEO` | Default video download directory (e.g., ~/Downloads/Video or C:\Users\user\Download\Video).|
|
|
391
393
|
|
|
392
394
|
|
|
393
395
|
</div>
|
|
@@ -17,12 +17,18 @@ Available constants:
|
|
|
17
17
|
- DATA_DIR: XDG-compliant user data directory (e.g., ~/.local/share).
|
|
18
18
|
- PATH: List of directories in the system PATH environment variable.
|
|
19
19
|
- VENV: Path to the active Python virtual environment (VIRTUAL_ENV or CONDA_PREFIX).
|
|
20
|
+
- DOWNLOAD_DIR: Default download directory (e.g., ~/Downloads).
|
|
21
|
+
- DOWNLOAD_DIR_VIDEO: Default video download directory (e.g., ~/Downloads/Video).
|
|
20
22
|
|
|
21
23
|
Author: Flick
|
|
22
24
|
Repository: https://github.com/FlickGMD/CTkFileDialog
|
|
25
|
+
|
|
26
|
+
Modified: by abdelilah
|
|
27
|
+
https://github.com/hmidani-abdelilah/CTkFileDialog-plus
|
|
28
|
+
|
|
23
29
|
"""
|
|
24
30
|
|
|
25
|
-
from .constants import PWD, HOME, PATH, TEMP, CONFIG_DIR, CACHE_DIR, DATA_DIR, VENV, PATHS
|
|
31
|
+
from .constants import PWD, HOME, PATH, TEMP, CONFIG_DIR, CACHE_DIR, DATA_DIR, VENV, PATHS ,DOWNLOAD_DIR, DOWNLOAD_DIR_VIDEO
|
|
26
32
|
|
|
27
33
|
__all__ = [
|
|
28
34
|
'PWD',
|
|
@@ -34,4 +40,6 @@ __all__ = [
|
|
|
34
40
|
'DATA_DIR',
|
|
35
41
|
'VENV',
|
|
36
42
|
'PATHS',
|
|
37
|
-
|
|
43
|
+
'DOWNLOAD_DIR',
|
|
44
|
+
'DOWNLOAD_DIR_VIDEO',
|
|
45
|
+
]
|
|
@@ -8,6 +8,8 @@ PWD = str(Path.cwd())
|
|
|
8
8
|
# User's home directory (e.g., /home/user or C:\Users\user)
|
|
9
9
|
HOME = str(Path.home())
|
|
10
10
|
|
|
11
|
+
|
|
12
|
+
|
|
11
13
|
# System PATH split into a list of directories
|
|
12
14
|
PATH = os.getenv('PATH').split(os.pathsep)
|
|
13
15
|
|
|
@@ -26,6 +28,16 @@ DATA_DIR = os.getenv('XDG_DATA_HOME', str(Path(HOME) / '.local' / 'share'))
|
|
|
26
28
|
# Active Python virtual environment (venv or conda), fallback to PWD
|
|
27
29
|
VENV = os.getenv("VIRTUAL_ENV") or os.getenv("CONDA_PREFIX") or PWD
|
|
28
30
|
|
|
31
|
+
# Download directory windows and linux (default: ~/Downloads)
|
|
32
|
+
DOWNLOAD_DIR = str(Path(HOME) / 'Downloads')
|
|
33
|
+
|
|
34
|
+
# Download directory Video windows and linux (default: ~/Downloads/Video )
|
|
35
|
+
DOWNLOAD_DIR_VIDEO = str(Path(DOWNLOAD_DIR) / 'Video')
|
|
36
|
+
# create the directory if it doesn't exist
|
|
37
|
+
if not os.path.exists(DOWNLOAD_DIR_VIDEO):
|
|
38
|
+
os.makedirs(DOWNLOAD_DIR_VIDEO)
|
|
39
|
+
|
|
40
|
+
|
|
29
41
|
# All paths in a single dictionary for easy access
|
|
30
42
|
PATHS = {
|
|
31
43
|
"HOME": HOME,
|
|
@@ -35,5 +47,7 @@ PATHS = {
|
|
|
35
47
|
"DATA_DIR": DATA_DIR,
|
|
36
48
|
"CACHE_DIR": CACHE_DIR,
|
|
37
49
|
"PATH": PATH,
|
|
38
|
-
'VENV': VENV
|
|
39
|
-
|
|
50
|
+
'VENV': VENV,
|
|
51
|
+
'DOWNLOAD_DIR': DOWNLOAD_DIR,
|
|
52
|
+
'DOWNLOAD_DIR_VIDEO': DOWNLOAD_DIR_VIDEO
|
|
53
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: CTKFileDialog-plus
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.6.0
|
|
4
4
|
Summary: A modern file dialog for CustomTkinter
|
|
5
5
|
Home-page: https://github.com/hmidani-abdelilah/CTkFileDialog-plus
|
|
6
6
|
Author: abdelilah
|
|
@@ -388,6 +388,8 @@ root.mainloop()
|
|
|
388
388
|
| `PATH` | System PATH split into a list of directories |
|
|
389
389
|
| `DATA_DIR` | XDG-compliant user data directory (default: ~/.local/share) |
|
|
390
390
|
| `VENV` | Active Python virtual environment (venv or conda), fallback to PWD |
|
|
391
|
+
| `DOWNLOAD_DIR` | Default download directory (e.g., ~/Downloads or C:\Users\user\Download). |
|
|
392
|
+
| `DOWNLOAD_DIR_VIDEO` | Default video download directory (e.g., ~/Downloads/Video or C:\Users\user\Download\Video).|
|
|
391
393
|
|
|
392
394
|
|
|
393
395
|
</div>
|
|
@@ -371,6 +371,8 @@ root.mainloop()
|
|
|
371
371
|
| `PATH` | System PATH split into a list of directories |
|
|
372
372
|
| `DATA_DIR` | XDG-compliant user data directory (default: ~/.local/share) |
|
|
373
373
|
| `VENV` | Active Python virtual environment (venv or conda), fallback to PWD |
|
|
374
|
+
| `DOWNLOAD_DIR` | Default download directory (e.g., ~/Downloads or C:\Users\user\Download). |
|
|
375
|
+
| `DOWNLOAD_DIR_VIDEO` | Default video download directory (e.g., ~/Downloads/Video or C:\Users\user\Download\Video).|
|
|
374
376
|
|
|
375
377
|
|
|
376
378
|
</div>
|
|
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name="CTkFileDialog-plus",
|
|
5
|
-
version="0.
|
|
5
|
+
version="0.6.0", # bump for each release
|
|
6
6
|
author="abdelilah",
|
|
7
7
|
description="A modern file dialog for CustomTkinter",
|
|
8
8
|
long_description=open("README.md").read(),
|
{ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/requires.txt
RENAMED
|
File without changes
|
{ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/_IconsMini/file.png
RENAMED
|
File without changes
|
{ctkfiledialog_plus-0.5.5 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/_IconsMini/folder.png
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|