sticker-convert 2.10.2__tar.gz → 2.10.3__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {sticker_convert-2.10.2/src/sticker_convert.egg-info → sticker_convert-2.10.3}/PKG-INFO +3 -3
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/requirements.txt +2 -2
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/__main__.py +3 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/converter.py +3 -2
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui.py +34 -8
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/version.py +1 -1
- {sticker_convert-2.10.2 → sticker_convert-2.10.3/src/sticker_convert.egg-info}/PKG-INFO +3 -3
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert.egg-info/requires.txt +2 -2
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/LICENSE +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/MANIFEST.in +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/README.md +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/pyproject.toml +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/setup.cfg +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/__init__.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/cli.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/definitions.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/__init__.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_base.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_discord.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_kakao.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_line.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_signal.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_telegram.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_viber.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/__init__.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/frames/__init__.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/frames/comp_frame.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/frames/config_frame.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/frames/control_frame.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/frames/cred_frame.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/frames/input_frame.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/frames/output_frame.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/frames/progress_frame.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/frames/right_clicker.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/gui_utils.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/windows/__init__.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/windows/advanced_compression_window.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/windows/base_window.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/windows/discord_get_auth_window.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/windows/kakao_get_auth_window.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/windows/line_get_auth_window.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/windows/signal_get_auth_window.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/windows/viber_get_auth_window.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/.github/FUNDING.yml +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/.gitignore +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/README.md +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers/Info.plist +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Info.plist +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Contents.json +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Contents.json +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 1.sticker/Contents.json +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 1.sticker/Sticker 1.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 2.sticker/Contents.json +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 2.sticker/Sticker 2.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 3.sticker/Contents.json +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/Sticker Pack.stickerpack/Sticker 3.sticker/Sticker 3.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/App-Store-1024x1024pt.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Contents.json +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-App-Store-1024x768pt.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPad-67x50pt@2x.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPad-Pro-74x55pt@2x.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPhone-60x45pt@2x.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages-iPhone-60x45pt@3x.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages27x20pt@2x.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages27x20pt@3x.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages32x24pt@2x.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/Messages32x24pt@3x.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/iPad-Settings-29pt@2x.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/iPhone-Settings-29pt@3x.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers StickerPackExtension/Stickers.xcstickers/iMessage App Icon.stickersiconset/iPhone-settings-29pt@2x.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.pbxproj +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/project.xcworkspace/xcuserdata/niklaspeterson.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/ios-message-stickers-template/stickers.xcodeproj/xcuserdata/niklaspeterson.xcuserdatad/xcschemes/xcschememanagement.plist +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/job.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/job_option.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/NotoColorEmoji.ttf +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/appicon.icns +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/appicon.ico +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/appicon.png +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/compression.json +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/emoji.json +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/help.json +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/input.json +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/memdump_linux.sh +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/memdump_windows.ps1 +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/output.json +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/__init__.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/compress_wastickers.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/upload_base.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/upload_signal.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/upload_telegram.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/upload_viber.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/xcode_imessage.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/auth/get_discord_auth.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/auth/get_kakao_auth.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/auth/get_kakao_desktop_auth.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/auth/get_line_auth.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/auth/get_signal_auth.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/auth/get_viber_auth.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/callback.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/chrome_remotedebug.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/emoji.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/files/cache_store.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/files/json_manager.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/files/json_resources_loader.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/files/metadata_handler.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/files/run_bin.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/files/sanitize_filename.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/media/apple_png_normalize.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/media/codec_info.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/media/decrypt_kakao.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/media/format_verify.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/process.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/url_detect.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert.egg-info/SOURCES.txt +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert.egg-info/dependency_links.txt +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert.egg-info/entry_points.txt +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert.egg-info/top_level.txt +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/tests/test_compression.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/tests/test_download.py +0 -0
- {sticker_convert-2.10.2 → sticker_convert-2.10.3}/tests/test_export.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: sticker-convert
|
3
|
-
Version: 2.10.
|
3
|
+
Version: 2.10.3
|
4
4
|
Summary: Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, Viber, Discord, iMessage. Written in Python.
|
5
5
|
Author-email: laggykiller <chaudominic2@gmail.com>
|
6
6
|
Maintainer-email: laggykiller <chaudominic2@gmail.com>
|
@@ -370,7 +370,7 @@ Requires-Dist: apngasm_python~=1.3.1
|
|
370
370
|
Requires-Dist: av~=12.3.0
|
371
371
|
Requires-Dist: beautifulsoup4~=4.12.3
|
372
372
|
Requires-Dist: rookiepy~=0.5.2
|
373
|
-
Requires-Dist: httpx~=0.27.
|
373
|
+
Requires-Dist: httpx~=0.27.2
|
374
374
|
Requires-Dist: imagequant~=1.1.1
|
375
375
|
Requires-Dist: memory-tempfile~=2.2.3
|
376
376
|
Requires-Dist: mergedeep~=1.3.4
|
@@ -378,7 +378,7 @@ Requires-Dist: mini-racer~=0.12.4
|
|
378
378
|
Requires-Dist: numpy>=1.22.4
|
379
379
|
Requires-Dist: Pillow~=10.4.0
|
380
380
|
Requires-Dist: pyoxipng~=9.0.0
|
381
|
-
Requires-Dist: python-telegram-bot~=21.
|
381
|
+
Requires-Dist: python-telegram-bot~=21.5
|
382
382
|
Requires-Dist: psutil~=6.0.0
|
383
383
|
Requires-Dist: PyMemoryEditor~=1.5.22
|
384
384
|
Requires-Dist: requests~=2.32.3
|
@@ -4,7 +4,7 @@ apngasm_python~=1.3.1
|
|
4
4
|
av~=12.3.0
|
5
5
|
beautifulsoup4~=4.12.3
|
6
6
|
rookiepy~=0.5.2
|
7
|
-
httpx~=0.27.
|
7
|
+
httpx~=0.27.2
|
8
8
|
imagequant~=1.1.1
|
9
9
|
memory-tempfile~=2.2.3
|
10
10
|
mergedeep~=1.3.4
|
@@ -12,7 +12,7 @@ mini-racer~=0.12.4
|
|
12
12
|
numpy>=1.22.4
|
13
13
|
Pillow~=10.4.0
|
14
14
|
pyoxipng~=9.0.0
|
15
|
-
python-telegram-bot~=21.
|
15
|
+
python-telegram-bot~=21.5
|
16
16
|
psutil~=6.0.0
|
17
17
|
PyMemoryEditor~=1.5.22
|
18
18
|
requests~=2.32.3
|
@@ -9,6 +9,9 @@ def main() -> None:
|
|
9
9
|
|
10
10
|
multiprocessing.freeze_support()
|
11
11
|
print(f"sticker-convert {__version__}")
|
12
|
+
print("Free and Opensource software by laggykiller")
|
13
|
+
print("https://github.com/laggykiller/sticker-convert")
|
14
|
+
print()
|
12
15
|
if len(sys.argv) == 1:
|
13
16
|
print("Launching GUI...")
|
14
17
|
from sticker_convert.gui import GUI
|
@@ -324,6 +324,7 @@ class StickerConvert:
|
|
324
324
|
|
325
325
|
def generate_steps_list(self) -> List[Tuple[Optional[int], ...]]:
|
326
326
|
steps_list: List[Tuple[Optional[int], ...]] = []
|
327
|
+
need_even = self.out_f.suffix in (".webm", ".mp4", ".mkv", ".webp")
|
327
328
|
for step in range(self.opt_comp.steps, -1, -1):
|
328
329
|
steps_list.append(
|
329
330
|
(
|
@@ -333,7 +334,7 @@ class StickerConvert:
|
|
333
334
|
step,
|
334
335
|
self.opt_comp.steps,
|
335
336
|
self.opt_comp.res_power,
|
336
|
-
|
337
|
+
need_even,
|
337
338
|
),
|
338
339
|
get_step_value(
|
339
340
|
self.opt_comp.res_h_max,
|
@@ -341,7 +342,7 @@ class StickerConvert:
|
|
341
342
|
step,
|
342
343
|
self.opt_comp.steps,
|
343
344
|
self.opt_comp.res_power,
|
344
|
-
|
345
|
+
need_even,
|
345
346
|
),
|
346
347
|
get_step_value(
|
347
348
|
self.opt_comp.quality_max,
|
@@ -1,4 +1,5 @@
|
|
1
1
|
#!/usr/bin/env python3
|
2
|
+
import locale
|
2
3
|
import os
|
3
4
|
import platform
|
4
5
|
import signal
|
@@ -9,7 +10,7 @@ from math import ceil
|
|
9
10
|
from multiprocessing import Event, cpu_count
|
10
11
|
from pathlib import Path
|
11
12
|
from threading import Thread
|
12
|
-
from typing import Any, Callable, Dict, Optional, Union
|
13
|
+
from typing import Any, Callable, Dict, Optional, Union, cast
|
13
14
|
from urllib.parse import urlparse
|
14
15
|
|
15
16
|
from mergedeep import merge # type: ignore
|
@@ -62,6 +63,7 @@ class GUI(Window):
|
|
62
63
|
self.apply_creds()
|
63
64
|
self.init_frames()
|
64
65
|
self.pack_frames()
|
66
|
+
self.author_info()
|
65
67
|
self.warn_tkinter_bug()
|
66
68
|
GUIUtils.finalize_window(self)
|
67
69
|
|
@@ -206,6 +208,34 @@ class GUI(Window):
|
|
206
208
|
column=0, row=4, columnspan=2, sticky="news", padx=5, pady=5
|
207
209
|
)
|
208
210
|
|
211
|
+
def is_cn(self) -> bool:
|
212
|
+
cn_locs = ("zh_CHS", "zh_CN")
|
213
|
+
loc = cast(str, locale.getdefaultlocale()[0])
|
214
|
+
winloc = ""
|
215
|
+
if platform.system() == "Windows":
|
216
|
+
import ctypes
|
217
|
+
|
218
|
+
windll = ctypes.windll.kernel32 # type: ignore
|
219
|
+
winloc_id = cast(int, windll.GetUserDefaultUILanguage()) # type: ignore
|
220
|
+
winloc = cast(str, locale.windows_locale[winloc_id]) # type: ignore
|
221
|
+
|
222
|
+
if loc.startswith(cn_locs) or winloc.startswith(cn_locs):
|
223
|
+
return True
|
224
|
+
return False
|
225
|
+
|
226
|
+
def author_info(self) -> None:
|
227
|
+
if self.is_cn():
|
228
|
+
msg = "sticker-convert是laggykiller创作的免费开源项目,严禁翻售\n"
|
229
|
+
msg += "https://github.com/laggykiller/sticker-convert\n"
|
230
|
+
msg += "尊重知识产权,做个文明人,请不要转售贴图!\n"
|
231
|
+
else:
|
232
|
+
msg = "sticker-convert is Free and Opensource software by laggykiller\n"
|
233
|
+
msg += "https://github.com/laggykiller/sticker-convert\n"
|
234
|
+
msg += "Please use the stickers with your friends only.\n"
|
235
|
+
msg += "It is illegal and immoral to sell stickers downloaded from this program.\n"
|
236
|
+
|
237
|
+
self.cb_msg(msg)
|
238
|
+
|
209
239
|
def warn_tkinter_bug(self) -> None:
|
210
240
|
if (
|
211
241
|
platform.system() == "Darwin"
|
@@ -215,13 +245,9 @@ class GUI(Window):
|
|
215
245
|
and sys.version_info[2] <= 6
|
216
246
|
):
|
217
247
|
msg = "NOTICE: If buttons are not responsive, try to press "
|
218
|
-
msg += "on title bar or move mouse cursor away from window for a while
|
219
|
-
|
220
|
-
msg
|
221
|
-
"(This is due to a bug in tkinter specific to macOS 14 python <=3.11.6)"
|
222
|
-
)
|
223
|
-
self.cb_msg(msg)
|
224
|
-
msg = "(https://github.com/python/cpython/issues/110218)"
|
248
|
+
msg += "on title bar or move mouse cursor away from window for a while.\n"
|
249
|
+
msg += "(This is a bug in tkinter specific to macOS 14 python <=3.11.6)\n"
|
250
|
+
msg += "(https://github.com/python/cpython/issues/110218)\n"
|
225
251
|
self.cb_msg(msg)
|
226
252
|
|
227
253
|
def load_jsons(self) -> None:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: sticker-convert
|
3
|
-
Version: 2.10.
|
3
|
+
Version: 2.10.3
|
4
4
|
Summary: Convert (animated) stickers to/from WhatsApp, Telegram, Signal, Line, Kakao, Viber, Discord, iMessage. Written in Python.
|
5
5
|
Author-email: laggykiller <chaudominic2@gmail.com>
|
6
6
|
Maintainer-email: laggykiller <chaudominic2@gmail.com>
|
@@ -370,7 +370,7 @@ Requires-Dist: apngasm_python~=1.3.1
|
|
370
370
|
Requires-Dist: av~=12.3.0
|
371
371
|
Requires-Dist: beautifulsoup4~=4.12.3
|
372
372
|
Requires-Dist: rookiepy~=0.5.2
|
373
|
-
Requires-Dist: httpx~=0.27.
|
373
|
+
Requires-Dist: httpx~=0.27.2
|
374
374
|
Requires-Dist: imagequant~=1.1.1
|
375
375
|
Requires-Dist: memory-tempfile~=2.2.3
|
376
376
|
Requires-Dist: mergedeep~=1.3.4
|
@@ -378,7 +378,7 @@ Requires-Dist: mini-racer~=0.12.4
|
|
378
378
|
Requires-Dist: numpy>=1.22.4
|
379
379
|
Requires-Dist: Pillow~=10.4.0
|
380
380
|
Requires-Dist: pyoxipng~=9.0.0
|
381
|
-
Requires-Dist: python-telegram-bot~=21.
|
381
|
+
Requires-Dist: python-telegram-bot~=21.5
|
382
382
|
Requires-Dist: psutil~=6.0.0
|
383
383
|
Requires-Dist: PyMemoryEditor~=1.5.22
|
384
384
|
Requires-Dist: requests~=2.32.3
|
@@ -4,7 +4,7 @@ apngasm_python~=1.3.1
|
|
4
4
|
av~=12.3.0
|
5
5
|
beautifulsoup4~=4.12.3
|
6
6
|
rookiepy~=0.5.2
|
7
|
-
httpx~=0.27.
|
7
|
+
httpx~=0.27.2
|
8
8
|
imagequant~=1.1.1
|
9
9
|
memory-tempfile~=2.2.3
|
10
10
|
mergedeep~=1.3.4
|
@@ -12,7 +12,7 @@ mini-racer~=0.12.4
|
|
12
12
|
numpy>=1.22.4
|
13
13
|
Pillow~=10.4.0
|
14
14
|
pyoxipng~=9.0.0
|
15
|
-
python-telegram-bot~=21.
|
15
|
+
python-telegram-bot~=21.5
|
16
16
|
psutil~=6.0.0
|
17
17
|
PyMemoryEditor~=1.5.22
|
18
18
|
requests~=2.32.3
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/__init__.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_base.py
RENAMED
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_kakao.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_line.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_signal.py
RENAMED
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/downloaders/download_viber.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/__init__.py
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
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/gui_components/gui_utils.py
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
|
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
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/NotoColorEmoji.ttf
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/appicon.icns
RENAMED
File without changes
|
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/compression.json
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/memdump_linux.sh
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/resources/memdump_windows.ps1
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/upload_base.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/upload_signal.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/upload_telegram.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/upload_viber.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/uploaders/xcode_imessage.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/auth/get_discord_auth.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/auth/get_kakao_auth.py
RENAMED
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/auth/get_line_auth.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/auth/get_signal_auth.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/auth/get_viber_auth.py
RENAMED
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/chrome_remotedebug.py
RENAMED
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/files/cache_store.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/files/json_manager.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/files/run_bin.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/media/codec_info.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/media/decrypt_kakao.py
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert/utils/media/format_verify.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert.egg-info/dependency_links.txt
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert.egg-info/entry_points.txt
RENAMED
File without changes
|
{sticker_convert-2.10.2 → sticker_convert-2.10.3}/src/sticker_convert.egg-info/top_level.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|