KeyboardPaster 0.1.22__tar.gz → 0.1.24__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.
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/KeyboardPaster.egg-info/PKG-INFO +8 -2
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/PKG-INFO +8 -2
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/README.md +6 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/keyboardpaster/app.py +4 -3
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/keyboardpaster/modules/autoupdate.py +7 -2
- keyboardpaster-0.1.24/keyboardpaster/shared_resources.py +1 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/setup.py +1 -1
- keyboardpaster-0.1.22/keyboardpaster/shared_resources.py +0 -1
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/KeyboardPaster.egg-info/SOURCES.txt +0 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/KeyboardPaster.egg-info/dependency_links.txt +0 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/KeyboardPaster.egg-info/entry_points.txt +0 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/KeyboardPaster.egg-info/requires.txt +0 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/KeyboardPaster.egg-info/top_level.txt +0 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/LICENSE +0 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/keyboardpaster/__init__.py +0 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/keyboardpaster/keyboard_layout_detector.py +0 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/keyboardpaster/keyboardpaster_app.kv +0 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/keyboardpaster/modules/__init__.py +0 -0
- {keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: KeyboardPaster
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.24
|
|
4
4
|
Summary: A Python package to type text using the keyboard module
|
|
5
5
|
Home-page: https://github.com/KnutssonDevelopment/KeyboardPaster
|
|
6
6
|
Author: Brian Knutsson
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
-
Requires-Python:
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
21
|
Requires-Dist: pynput
|
|
@@ -52,6 +52,12 @@ A Python package to type text using the keyboard module. This is useful in situa
|
|
|
52
52
|
- Paste images as base64 code
|
|
53
53
|
|
|
54
54
|
## Changes
|
|
55
|
+
### v0.1.24
|
|
56
|
+
- BUGFIX: Corrected Python requirement
|
|
57
|
+
|
|
58
|
+
### v0.1.23
|
|
59
|
+
- BUGFIX: Corrected Python requirement
|
|
60
|
+
|
|
55
61
|
### v0.1.22
|
|
56
62
|
- FEATURE: Added Python 3.13 support
|
|
57
63
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: KeyboardPaster
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.24
|
|
4
4
|
Summary: A Python package to type text using the keyboard module
|
|
5
5
|
Home-page: https://github.com/KnutssonDevelopment/KeyboardPaster
|
|
6
6
|
Author: Brian Knutsson
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.10
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.12
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
-
Requires-Python:
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
19
|
Description-Content-Type: text/markdown
|
|
20
20
|
License-File: LICENSE
|
|
21
21
|
Requires-Dist: pynput
|
|
@@ -52,6 +52,12 @@ A Python package to type text using the keyboard module. This is useful in situa
|
|
|
52
52
|
- Paste images as base64 code
|
|
53
53
|
|
|
54
54
|
## Changes
|
|
55
|
+
### v0.1.24
|
|
56
|
+
- BUGFIX: Corrected Python requirement
|
|
57
|
+
|
|
58
|
+
### v0.1.23
|
|
59
|
+
- BUGFIX: Corrected Python requirement
|
|
60
|
+
|
|
55
61
|
### v0.1.22
|
|
56
62
|
- FEATURE: Added Python 3.13 support
|
|
57
63
|
|
|
@@ -10,6 +10,12 @@ A Python package to type text using the keyboard module. This is useful in situa
|
|
|
10
10
|
- Paste images as base64 code
|
|
11
11
|
|
|
12
12
|
## Changes
|
|
13
|
+
### v0.1.24
|
|
14
|
+
- BUGFIX: Corrected Python requirement
|
|
15
|
+
|
|
16
|
+
### v0.1.23
|
|
17
|
+
- BUGFIX: Corrected Python requirement
|
|
18
|
+
|
|
13
19
|
### v0.1.22
|
|
14
20
|
- FEATURE: Added Python 3.13 support
|
|
15
21
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import time
|
|
2
2
|
import re
|
|
3
3
|
import json
|
|
4
|
-
import pkg_resources
|
|
5
4
|
import subprocess
|
|
5
|
+
import importlib.resources
|
|
6
|
+
import keyboardpaster
|
|
6
7
|
|
|
7
8
|
from pynput.keyboard import Controller, Key
|
|
8
9
|
|
|
@@ -147,8 +148,8 @@ class KeyboardPasterApp(MDApp):
|
|
|
147
148
|
self.title = f"Keyboard Paster v{app_version}"
|
|
148
149
|
Window.size = (1000, 700)
|
|
149
150
|
|
|
150
|
-
|
|
151
|
-
|
|
151
|
+
with importlib.resources.path(keyboardpaster, "keyboardpaster_app.kv") as kv_file_path:
|
|
152
|
+
return Builder.load_file(str(kv_file_path))
|
|
152
153
|
|
|
153
154
|
def on_stop(self):
|
|
154
155
|
pass
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import subprocess
|
|
2
2
|
import requests
|
|
3
|
-
import pkg_resources
|
|
4
3
|
import sys
|
|
4
|
+
from importlib.metadata import version, PackageNotFoundError
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
def check_for_update(package_name):
|
|
@@ -22,7 +22,12 @@ def update_package(package_name):
|
|
|
22
22
|
def autoupdate(package_name='keyboardpaster'):
|
|
23
23
|
"""Main function to check and update package."""
|
|
24
24
|
try:
|
|
25
|
-
|
|
25
|
+
try:
|
|
26
|
+
installed_version = version(package_name)
|
|
27
|
+
except PackageNotFoundError:
|
|
28
|
+
print(f"{package_name} is not installed.")
|
|
29
|
+
return
|
|
30
|
+
|
|
26
31
|
latest_version = check_for_update(package_name)
|
|
27
32
|
|
|
28
33
|
print(f"Installed version: {installed_version}")
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
app_version = "0.1.24"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
app_version = "0.1.22"
|
|
File without changes
|
{keyboardpaster-0.1.22 → keyboardpaster-0.1.24}/KeyboardPaster.egg-info/dependency_links.txt
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
|