KeyboardPaster 0.1.16__tar.gz → 0.1.17__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.16 → keyboardpaster-0.1.17}/KeyboardPaster.egg-info/PKG-INFO +5 -3
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/PKG-INFO +5 -3
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/README.md +4 -2
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/keyboardpaster/app.py +11 -1
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/keyboardpaster/keyboardpaster_app.kv +7 -3
- keyboardpaster-0.1.17/keyboardpaster/shared_resources.py +1 -0
- keyboardpaster-0.1.16/keyboardpaster/shared_resources.py +0 -1
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/KeyboardPaster.egg-info/SOURCES.txt +0 -0
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/KeyboardPaster.egg-info/dependency_links.txt +0 -0
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/KeyboardPaster.egg-info/entry_points.txt +0 -0
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/KeyboardPaster.egg-info/requires.txt +0 -0
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/KeyboardPaster.egg-info/top_level.txt +0 -0
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/LICENSE +0 -0
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/keyboardpaster/__init__.py +0 -0
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/keyboardpaster/keyboard_layout_detector.py +0 -0
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/keyboardpaster/modules/__init__.py +0 -0
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/keyboardpaster/modules/autoupdate.py +0 -0
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/setup.cfg +0 -0
- {keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: KeyboardPaster
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.17
|
|
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
|
|
@@ -37,10 +37,12 @@ A Python package to type text using the keyboard module. This is useful in situa
|
|
|
37
37
|
|
|
38
38
|
## Future features
|
|
39
39
|
- Paste images as base64 code
|
|
40
|
-
- Enter would activate the Paste operation
|
|
41
|
-
- Shift+Enter would move all inputs downwards and put the cursor into the next, now empty, field
|
|
42
40
|
|
|
43
41
|
## Changes
|
|
42
|
+
### v0.1.17
|
|
43
|
+
- FEATURE: Added a button to put text into clipboard
|
|
44
|
+
- UPDATE: Changed the keyboard paste option into an icon
|
|
45
|
+
|
|
44
46
|
### v0.1.16
|
|
45
47
|
- FEATURE: Changes the launcher to run as a gui application and not show the command line when executed
|
|
46
48
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: KeyboardPaster
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.17
|
|
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
|
|
@@ -37,10 +37,12 @@ A Python package to type text using the keyboard module. This is useful in situa
|
|
|
37
37
|
|
|
38
38
|
## Future features
|
|
39
39
|
- Paste images as base64 code
|
|
40
|
-
- Enter would activate the Paste operation
|
|
41
|
-
- Shift+Enter would move all inputs downwards and put the cursor into the next, now empty, field
|
|
42
40
|
|
|
43
41
|
## Changes
|
|
42
|
+
### v0.1.17
|
|
43
|
+
- FEATURE: Added a button to put text into clipboard
|
|
44
|
+
- UPDATE: Changed the keyboard paste option into an icon
|
|
45
|
+
|
|
44
46
|
### v0.1.16
|
|
45
47
|
- FEATURE: Changes the launcher to run as a gui application and not show the command line when executed
|
|
46
48
|
|
|
@@ -8,10 +8,12 @@ A Python package to type text using the keyboard module. This is useful in situa
|
|
|
8
8
|
|
|
9
9
|
## Future features
|
|
10
10
|
- Paste images as base64 code
|
|
11
|
-
- Enter would activate the Paste operation
|
|
12
|
-
- Shift+Enter would move all inputs downwards and put the cursor into the next, now empty, field
|
|
13
11
|
|
|
14
12
|
## Changes
|
|
13
|
+
### v0.1.17
|
|
14
|
+
- FEATURE: Added a button to put text into clipboard
|
|
15
|
+
- UPDATE: Changed the keyboard paste option into an icon
|
|
16
|
+
|
|
15
17
|
### v0.1.16
|
|
16
18
|
- FEATURE: Changes the launcher to run as a gui application and not show the command line when executed
|
|
17
19
|
|
|
@@ -2,6 +2,7 @@ import time
|
|
|
2
2
|
import re
|
|
3
3
|
import json
|
|
4
4
|
import pkg_resources
|
|
5
|
+
import subprocess
|
|
5
6
|
from pynput.keyboard import Controller, Key
|
|
6
7
|
|
|
7
8
|
from kivymd.app import MDApp
|
|
@@ -205,7 +206,7 @@ class KeyboardPasterApp(MDApp):
|
|
|
205
206
|
with open("saved_inputs.json", "w") as file:
|
|
206
207
|
json.dump(input_fields, file)
|
|
207
208
|
|
|
208
|
-
def
|
|
209
|
+
def type_text(self, input_text, _checkbox):
|
|
209
210
|
if not input_text:
|
|
210
211
|
# print("No text found")
|
|
211
212
|
return
|
|
@@ -219,6 +220,15 @@ class KeyboardPasterApp(MDApp):
|
|
|
219
220
|
mod_delay = float(self.root.ids["mod_delay"].value)
|
|
220
221
|
type_string_with_delay(input_text, start_delay=start_delay, mod_delay=mod_delay, layout=self.layout, end_line=end_line)
|
|
221
222
|
|
|
223
|
+
@staticmethod
|
|
224
|
+
def copy_text(input_text, _checkbox):
|
|
225
|
+
if not input_text:
|
|
226
|
+
# print("No text found")
|
|
227
|
+
return
|
|
228
|
+
|
|
229
|
+
cmd = 'echo ' + input_text.strip() + '|clip'
|
|
230
|
+
subprocess.check_call(cmd, shell=True)
|
|
231
|
+
|
|
222
232
|
@staticmethod
|
|
223
233
|
def hide_text(_input_text, _checkbox):
|
|
224
234
|
if _checkbox.state == "down":
|
|
@@ -28,9 +28,13 @@
|
|
|
28
28
|
text: "Secret"
|
|
29
29
|
size_hint: 0.1, 1
|
|
30
30
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
on_press: app.
|
|
31
|
+
MDIconButton:
|
|
32
|
+
icon: "keyboard"
|
|
33
|
+
on_press: app.type_text(_text_input.text, _cb_execute)
|
|
34
|
+
|
|
35
|
+
MDIconButton:
|
|
36
|
+
icon: "content-copy"
|
|
37
|
+
on_press: app.copy_text(_text_input.text, _cb_execute)
|
|
34
38
|
|
|
35
39
|
|
|
36
40
|
MDBoxLayout:
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
app_version = "0.1.17"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
app_version = "0.1.16"
|
|
File without changes
|
{keyboardpaster-0.1.16 → keyboardpaster-0.1.17}/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
|
|
File without changes
|