CTKFileDialog-plus 0.5.4__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.
Files changed (38) hide show
  1. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/PKG-INFO +3 -1
  2. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/SOURCES.txt +3 -1
  3. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/Constants/__init__.py +10 -2
  4. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/Constants/constants.py +16 -2
  5. ctkfiledialog_plus-0.6.0/CTkFileDialog/icons/_IconsMini/file.png +0 -0
  6. ctkfiledialog_plus-0.6.0/CTkFileDialog/icons/_IconsMini/folder.png +0 -0
  7. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/MANIFEST.in +1 -1
  8. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/PKG-INFO +3 -1
  9. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/README.md +2 -0
  10. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/pyproject.toml +1 -1
  11. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/setup.py +1 -1
  12. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/dependency_links.txt +0 -0
  13. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/requires.txt +0 -0
  14. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTKFileDialog_plus.egg-info/top_level.txt +0 -0
  15. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/Dialog.py +0 -0
  16. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/__init__.py +0 -0
  17. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/_functions.py +0 -0
  18. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/_system.py +0 -0
  19. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/bash.png +0 -0
  20. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/conf.png +0 -0
  21. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/css.png +0 -0
  22. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/exe.png +0 -0
  23. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/folder.png +0 -0
  24. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/gz.png +0 -0
  25. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/html.png +0 -0
  26. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/image.png +0 -0
  27. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/ini.png +0 -0
  28. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/javascript.png +0 -0
  29. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/js.png +0 -0
  30. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/json.png +0 -0
  31. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/markdown.png +0 -0
  32. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/odt.png +0 -0
  33. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/pdf.png +0 -0
  34. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/php.png +0 -0
  35. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/python.png +0 -0
  36. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/text.png +0 -0
  37. {ctkfiledialog_plus-0.5.4 → ctkfiledialog_plus-0.6.0}/CTkFileDialog/icons/video.png +0 -0
  38. {ctkfiledialog_plus-0.5.4 → 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.5.4
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>
@@ -31,4 +31,6 @@ CTkFileDialog/icons/pdf.png
31
31
  CTkFileDialog/icons/php.png
32
32
  CTkFileDialog/icons/python.png
33
33
  CTkFileDialog/icons/text.png
34
- CTkFileDialog/icons/video.png
34
+ CTkFileDialog/icons/video.png
35
+ CTkFileDialog/icons/_IconsMini/file.png
36
+ CTkFileDialog/icons/_IconsMini/folder.png
@@ -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,3 +1,3 @@
1
1
  [project.readme]
2
2
  include = "README.md"
3
- recursive-include CTkFileDialog/Icons *
3
+ recursive-include CTkFileDialog/icons *
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: CTKFileDialog-plus
3
- Version: 0.5.4
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>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "CTKFileDialog-plus"
7
- version = "0.5.4"
7
+ version = "0.6.0"
8
8
  description = "A modern file dialog for CustomTkinter"
9
9
  readme = "README.md"
10
10
  authors = [{name="abdelilah"}]
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="CTkFileDialog-plus",
5
- version="0.5.4", # bump for each release
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(),