xython 4.6.1__tar.gz → 4.6.3__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 (31) hide show
  1. {xython-4.6.1/src/xython.egg-info → xython-4.6.3}/PKG-INFO +1 -1
  2. {xython-4.6.1 → xython-4.6.3}/pyproject.toml +1 -1
  3. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_auto.py +7 -15
  4. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_chrome.py +1 -4
  5. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_color.py +822 -588
  6. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_common.py +0 -55
  7. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_db.py +11 -36
  8. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_edge.py +2 -2
  9. xython-4.6.3/src/xython/xy_excel.py +10025 -0
  10. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_hwp.py +8 -7
  11. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_list.py +5 -6
  12. xython-4.6.3/src/xython/xy_manual.py +99 -0
  13. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_map.py +3 -3
  14. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_outlook.py +6 -5
  15. xython-4.6.3/src/xython/xy_re.py +1726 -0
  16. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_time.py +15 -15
  17. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_util.py +1521 -5009
  18. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_word.py +22 -22
  19. {xython-4.6.1 → xython-4.6.3/src/xython.egg-info}/PKG-INFO +1 -1
  20. {xython-4.6.1 → xython-4.6.3}/src/xython.egg-info/SOURCES.txt +1 -0
  21. xython-4.6.1/src/xython/xy_excel.py +0 -16512
  22. xython-4.6.1/src/xython/xy_re.py +0 -814
  23. {xython-4.6.1 → xython-4.6.3}/MANIFEST.in +0 -0
  24. {xython-4.6.1 → xython-4.6.3}/README.md +0 -0
  25. {xython-4.6.1 → xython-4.6.3}/requirements.txt +0 -0
  26. {xython-4.6.1 → xython-4.6.3}/setup.cfg +0 -0
  27. {xython-4.6.1 → xython-4.6.3}/src/xython/__init__.py +0 -0
  28. {xython-4.6.1 → xython-4.6.3}/src/xython/xy_excel_event.py +0 -0
  29. {xython-4.6.1 → xython-4.6.3}/src/xython.egg-info/dependency_links.txt +0 -0
  30. {xython-4.6.1 → xython-4.6.3}/src/xython.egg-info/requires.txt +0 -0
  31. {xython-4.6.1 → xython-4.6.3}/src/xython.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xython
3
- Version: 4.6.1
3
+ Version: 4.6.3
4
4
  Summary: xython package
5
5
  Author-email: "SJ.Park" <sjpkorea@naver.com>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "xython"
7
- version = "4.6.1"
7
+ version = "4.6.3"
8
8
  description = "xython package"
9
9
  readme = {file = "README.md", content-type = "text/markdown"}
10
10
  requires-python = ">=3.8"
@@ -6,6 +6,7 @@ import ctypes
6
6
  import ctypes.wintypes
7
7
  from screeninfo import get_monitors
8
8
  from xython import xy_color, xy_common
9
+ from PIL import Image, ImageGrab
9
10
 
10
11
  # pywin32 및 기본 모듈
11
12
  import psutil
@@ -185,16 +186,7 @@ class xy_auto:
185
186
  마우스를 클릭하고 키보드를 자동으로 작동이 가능하게 만든 모듈
186
187
  """
187
188
  def __init__(self):
188
-
189
- """
190
- init 관련 기능을 수행한다.
191
-
192
- Returns:
193
- None
194
- """
195
189
  self.colorx = xy_color.xy_color()
196
-
197
- def __init___old(self):
198
190
  self.varx = xy_common.xy_common().varx
199
191
  self.colorx = xy_color.xy_color()
200
192
 
@@ -289,7 +281,7 @@ class xy_auto:
289
281
  처리 결과 값 (자세한 내용은 함수 본문 참고).
290
282
  """
291
283
  input_value = str(input_value).lower()
292
- if input_value in varx["keyboard_action_list_all"]:
284
+ if input_value in self.varx["keyboard_action_list_all"]:
293
285
  result = input_value
294
286
  else:
295
287
  result = ""
@@ -319,7 +311,7 @@ class xy_auto:
319
311
  Returns:
320
312
  None
321
313
  """
322
- key_list_1 = varx["key_list"]
314
+ key_list_1 = self.varx["key_list"]
323
315
  vk = _get_vk(input_key)
324
316
  if vk:
325
317
  _press_key(vk)
@@ -965,7 +957,7 @@ class xy_auto:
965
957
  Returns:
966
958
  처리 결과 값 (자세한 내용은 함수 본문 참고).
967
959
  """
968
- return varx["key_list"]
960
+ return self.varx["key_list"]
969
961
 
970
962
  def get_all_keyboard_list_old(self):
971
963
  """win32api/pyautogui 호환 키 이름 목록"""
@@ -1438,7 +1430,7 @@ class xy_auto:
1438
1430
  Returns:
1439
1431
  처리 결과 값 (자세한 내용은 함수 본문 참고).
1440
1432
  """
1441
- result = varx["keyboard_action_list_all"]
1433
+ result = self.varx["keyboard_action_list_all"]
1442
1434
  return result
1443
1435
 
1444
1436
  def get_keyboard_action_list_old(self):
@@ -1453,7 +1445,7 @@ class xy_auto:
1453
1445
  Returns:
1454
1446
  처리 결과 값 (자세한 내용은 함수 본문 참고).
1455
1447
  """
1456
- result = varx["keyboard_action_list_short"]
1448
+ result = self.varx["keyboard_action_list_short"]
1457
1449
  return result
1458
1450
 
1459
1451
  def get_keyboard_action_list_short_old(self):
@@ -2629,7 +2621,7 @@ def _get_vk(key_name):
2629
2621
  Returns:
2630
2622
  처리 결과 값 (자세한 내용은 함수 본문 참고).
2631
2623
  """
2632
- _VK_MAP = varx["auto"]["_VK_MAP"]
2624
+ _VK_MAP = self.varx["auto"]["_VK_MAP"]
2633
2625
  """키 이름 → 가상키코드 반환"""
2634
2626
  key_name = str(key_name).lower()
2635
2627
  if key_name in _VK_MAP:
@@ -1,15 +1,12 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  import copy
3
3
  from html.parser import HTMLParser
4
- from xython import xy_util, xy_excel, xy_re
4
+ from xython import xy_util
5
5
  import os, time
6
6
  import winreg, shutil, socket, traceback
7
7
  import ctypes
8
8
  import ctypes.wintypes
9
9
  from DrissionPage import ChromiumPage, ChromiumOptions
10
- from DrissionPage.common import By
11
- from DrissionPage.common import Actions, Keys
12
-
13
10
 
14
11
  class TableParser(HTMLParser):
15
12
  def __init__(self):