pbrenamer 1.5.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.
- pbrenamer/__init__.py +13 -0
- pbrenamer/__main__.py +732 -0
- pbrenamer/argparse_qt.py +92 -0
- pbrenamer/core/__init__.py +1 -0
- pbrenamer/core/audio_meta.py +168 -0
- pbrenamer/core/filetools.py +386 -0
- pbrenamer/core/image_meta.py +252 -0
- pbrenamer/core/meta_common.py +20 -0
- pbrenamer/core/replacement.py +448 -0
- pbrenamer/core/undo.py +30 -0
- pbrenamer/core/video_meta.py +174 -0
- pbrenamer/i18n.py +115 -0
- pbrenamer/locale/de/LC_MESSAGES/pbrenamer.mo +0 -0
- pbrenamer/locale/de/LC_MESSAGES/pbrenamer.po +1558 -0
- pbrenamer/locale/en/LC_MESSAGES/pbrenamer.mo +0 -0
- pbrenamer/locale/en/LC_MESSAGES/pbrenamer.po +1227 -0
- pbrenamer/locale/es/LC_MESSAGES/pbrenamer.mo +0 -0
- pbrenamer/locale/es/LC_MESSAGES/pbrenamer.po +1565 -0
- pbrenamer/locale/fr/LC_MESSAGES/pbrenamer.mo +0 -0
- pbrenamer/locale/fr/LC_MESSAGES/pbrenamer.po +1240 -0
- pbrenamer/locale/it/LC_MESSAGES/pbrenamer.mo +0 -0
- pbrenamer/locale/it/LC_MESSAGES/pbrenamer.po +1566 -0
- pbrenamer/locale/ru/LC_MESSAGES/pbrenamer.mo +0 -0
- pbrenamer/locale/ru/LC_MESSAGES/pbrenamer.po +1546 -0
- pbrenamer/locale/vi/LC_MESSAGES/pbrenamer.mo +0 -0
- pbrenamer/locale/vi/LC_MESSAGES/pbrenamer.po +1529 -0
- pbrenamer/locale/zh_CN/LC_MESSAGES/pbrenamer.mo +0 -0
- pbrenamer/locale/zh_CN/LC_MESSAGES/pbrenamer.po +1464 -0
- pbrenamer/platform/__init__.py +16 -0
- pbrenamer/platform/bookmarks.py +67 -0
- pbrenamer/platform/desktop.py +164 -0
- pbrenamer/platform/dirs.py +145 -0
- pbrenamer/platform/fs.py +54 -0
- pbrenamer/platform/locale.py +28 -0
- pbrenamer/resources/__init__.py +8 -0
- pbrenamer/resources/pbrenamer.icns +0 -0
- pbrenamer/resources/pbrenamer.ico +0 -0
- pbrenamer/resources/pbrenamer.svg +37 -0
- pbrenamer/settings.py +180 -0
- pbrenamer/ui/__init__.py +0 -0
- pbrenamer/ui/about_dialog.py +50 -0
- pbrenamer/ui/about_dialog_ui.py +76 -0
- pbrenamer/ui/file_info_window.py +244 -0
- pbrenamer/ui/geometry_mixin.py +73 -0
- pbrenamer/ui/history_dialog.py +98 -0
- pbrenamer/ui/history_dialog_ui.py +141 -0
- pbrenamer/ui/main_window.py +1177 -0
- pbrenamer/ui/main_window_ui.py +556 -0
- pbrenamer/ui/pattern_help.py +605 -0
- pbrenamer/ui/presets.py +181 -0
- pbrenamer/ui/settings_dialog.py +51 -0
- pbrenamer/ui/settings_dialog_ui.py +100 -0
- pbrenamer/ui/shortcuts_dialog.py +106 -0
- pbrenamer/ui/widgets.py +84 -0
- pbrenamer/ui/window_state.py +106 -0
- pbrenamer/xdg.py +5 -0
- pbrenamer-1.5.0.dist-info/METADATA +225 -0
- pbrenamer-1.5.0.dist-info/RECORD +61 -0
- pbrenamer-1.5.0.dist-info/WHEEL +4 -0
- pbrenamer-1.5.0.dist-info/entry_points.txt +2 -0
- pbrenamer-1.5.0.dist-info/licenses/LICENSE +674 -0
pbrenamer/__init__.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"""PBRenamer — A graphical batch file renaming utility."""
|
|
2
|
+
|
|
3
|
+
import builtins
|
|
4
|
+
|
|
5
|
+
__version__ = "1.5.0"
|
|
6
|
+
__author__ = "Marcel Spock"
|
|
7
|
+
__email__ = "mrspock@cardolan.net"
|
|
8
|
+
__license__ = "GPLv3"
|
|
9
|
+
|
|
10
|
+
# No-op fallback so _() is always defined even when i18n.setup() is not called
|
|
11
|
+
# (e.g. during unit tests or direct imports without launching the app).
|
|
12
|
+
if not hasattr(builtins, "_"):
|
|
13
|
+
builtins._ = lambda s: s # type: ignore[assignment]
|