xython 2.0.1__tar.gz → 2.1.0__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 (29) hide show
  1. {xython-2.0.1/src/xython.egg-info → xython-2.1.0}/PKG-INFO +3 -2
  2. {xython-2.0.1 → xython-2.1.0}/README.md +1 -0
  3. {xython-2.0.1 → xython-2.1.0}/setup.py +2 -2
  4. {xython-2.0.1 → xython-2.1.0}/src/xython/__init__.py +1 -1
  5. {xython-2.0.1 → xython-2.1.0}/src/xython/anydb.py +14 -10
  6. xython-2.1.0/src/xython/basic_data.py +1869 -0
  7. xython-2.1.0/src/xython/basic_sample.py +6621 -0
  8. {xython-2.0.1 → xython-2.1.0}/src/xython/ganada.py +835 -721
  9. xython-2.1.0/src/xython/han.py +352 -0
  10. {xython-2.0.1 → xython-2.1.0}/src/xython/jfinder.py +65 -7
  11. {xython-2.0.1 → xython-2.1.0}/src/xython/mygrid.py +23 -6
  12. {xython-2.0.1 → xython-2.1.0}/src/xython/pcell.py +1859 -1652
  13. {xython-2.0.1 → xython-2.1.0}/src/xython/pyclick.py +73 -58
  14. {xython-2.0.1 → xython-2.1.0}/src/xython/pynal.py +14 -14
  15. {xython-2.0.1 → xython-2.1.0}/src/xython/scolor.py +83 -70
  16. {xython-2.0.1 → xython-2.1.0}/src/xython/youtil.py +355 -108
  17. {xython-2.0.1 → xython-2.1.0/src/xython.egg-info}/PKG-INFO +3 -2
  18. {xython-2.0.1 → xython-2.1.0}/src/xython.egg-info/SOURCES.txt +2 -0
  19. xython-2.0.1/src/xython/basic_data.py +0 -1047
  20. {xython-2.0.1 → xython-2.1.0}/MANIFEST.in +0 -0
  21. {xython-2.0.1 → xython-2.1.0}/requirements.txt +0 -0
  22. {xython-2.0.1 → xython-2.1.0}/setup.cfg +0 -0
  23. {xython-2.0.1 → xython-2.1.0}/src/xython/mailmail.py +0 -0
  24. {xython-2.0.1 → xython-2.1.0}/src/xython/mygrid_sample_data_01.py +0 -0
  25. {xython-2.0.1 → xython-2.1.0}/src/xython/pcell_event.py +0 -0
  26. {xython-2.0.1 → xython-2.1.0}/src/xython/rgraph.py +0 -0
  27. {xython-2.0.1 → xython-2.1.0}/src/xython.egg-info/dependency_links.txt +0 -0
  28. {xython-2.0.1 → xython-2.1.0}/src/xython.egg-info/not-zip-safe +0 -0
  29. {xython-2.0.1 → xython-2.1.0}/src/xython.egg-info/top_level.txt +0 -0
@@ -1,12 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xython
3
- Version: 2.0.1
3
+ Version: 2.1.0
4
4
  Summary: Functional Programming for Excel, Word, Outlook, Color, Etc with Python
5
5
  Home-page: https://github.com/sjpark/xython
6
6
  Author: sjpark
7
7
  Author-email: sjpkorea@yahoo.com
8
8
  License: UNKNOWN
9
- Download-URL: https://github.com/sjpark/xython/archive/v2.0.1.tar.gz
9
+ Download-URL: https://github.com/sjpark/xython/archive/v2.1.0.tar.gz
10
10
  Project-URL: Documentation, https://sjpkorea.github.io/xython.github.io/
11
11
  Project-URL: Link 1, https://www.xython.co.kr
12
12
  Project-URL: Link 2, https://www.halmoney.com
@@ -30,6 +30,7 @@ Description: ## About xython module / 개요
30
30
  - pynal : for Date & Time / 시간과 날짜를 다루는것
31
31
  - youtil : utilities / 이러저런 문장이나 시간등을 변환하는데 도움이되는 것
32
32
  - basic_data : xython package for general enum / xython패키지에서 사용되는 전반적인 공유 자료들을 저장하는 곳
33
+ - basic_sample: sample용으로 사용하는 자료를 분리해서 만든것
33
34
  - etc : 나머지들은 추가적인 내용들을 위하여 사용하는 것임
34
35
 
35
36
  ### Brief / 개괄적인 설명
@@ -18,6 +18,7 @@ oficial website : www.xython.co.kr (Korean base) <br>
18
18
  - pynal : for Date & Time / 시간과 날짜를 다루는것
19
19
  - youtil : utilities / 이러저런 문장이나 시간등을 변환하는데 도움이되는 것
20
20
  - basic_data : xython package for general enum / xython패키지에서 사용되는 전반적인 공유 자료들을 저장하는 곳
21
+ - basic_sample: sample용으로 사용하는 자료를 분리해서 만든것
21
22
  - etc : 나머지들은 추가적인 내용들을 위하여 사용하는 것임
22
23
 
23
24
  ### Brief / 개괄적인 설명
@@ -9,9 +9,9 @@ with open("README.md", "rt", encoding='UTF8') as fh:
9
9
  long_description = fh.read()
10
10
  setup(
11
11
  name='xython',
12
- version='2.0.1',
12
+ version='2.1.0',
13
13
  url='https://github.com/sjpark/xython',
14
- download_url='https://github.com/sjpark/xython/archive/v2.0.1.tar.gz',
14
+ download_url='https://github.com/sjpark/xython/archive/v2.1.0.tar.gz',
15
15
  author='sjpark',
16
16
  author_email='sjpkorea@yahoo.com',
17
17
  description='Functional Programming for Excel, Word, Outlook, Color, Etc with Python',
@@ -6,7 +6,7 @@ import inspect
6
6
  import os
7
7
  import sys
8
8
 
9
- __version__ = '2.0.1'
9
+ __version__ = '2.1.0'
10
10
  real_path = os.path.dirname(os.path.abspath(__file__)).replace("\\","/")
11
11
  sys.path.append(real_path)
12
12
 
@@ -1,15 +1,11 @@
1
1
  # -*- coding: utf-8 -*-
2
- import os # 내장모듈
3
- import sqlite3 # 내장모듈
4
- import pickle # 내장모듈
5
-
6
-
7
- import jfinder, scolor, youtil, basic_data # xython 모듈
2
+ import os, sqlite3 # 내장모듈
8
3
 
4
+ import pcell,jfinder, scolor, youtil, basic_data # xython 모듈
9
5
 
10
6
  import pandas as pd
11
7
  import numpy as np
12
- from sqlitedict import SqliteDict
8
+
13
9
 
14
10
 
15
11
  class anydb:
@@ -22,13 +18,13 @@ class anydb:
22
18
  self.db_name = db_name
23
19
  self.util = youtil.youtil()
24
20
  self.color = scolor.scolor()
25
- self.easyre = jfinder.jfinder()
21
+ self.jf = jfinder.jfinder()
26
22
 
27
23
  self.table_name = ""
28
24
  self.con = "" # sqlite db에 연결되는 것
29
25
 
30
26
  self.common_data = basic_data.basic_data()
31
- self.vars = self.common_data.vars # 패키지내에서 공통으로 사용되는 변수
27
+ self.var_common = self.common_data.vars # 패키지내에서 공통으로 사용되는 변수
32
28
 
33
29
  if self.db_name != "":
34
30
  self.con = sqlite3.connect(db_name, isolation_level=None)
@@ -572,7 +568,7 @@ class anydb:
572
568
  """
573
569
 
574
570
  # 기존의 테이블의 컬럼이름들을 갖고온다
575
- all_exist_yname = self.read_all_column_in_sqlite(table_name)
571
+ all_exist_yname = self.read_all_yname_in_table_for_sqlite(table_name)
576
572
 
577
573
  for one_list in col_data_list_s:
578
574
  if type(one_list) == type([]):
@@ -1360,3 +1356,11 @@ class anydb:
1360
1356
  df.loc[len(df.index)] = data_set
1361
1357
  df.iat[int(xy[0]), int(xy[1])] = value
1362
1358
 
1359
+
1360
+ def check_title_name(self, temp_title):
1361
+ # 각 제목으로 들어가는 글자에 대해서 변경해야 하는것을 변경하는 것이다
1362
+ for temp_01 in [[" ", "_"], ["(", "_"], [")", "_"], ["/", "_per_"], ["%", ""], ["'", ""], ['"', ""], ["$", ""],
1363
+ ["__", "_"], ["__", "_"]]:
1364
+ temp_title = temp_title.replace(temp_01[0], temp_01[1])
1365
+ if temp_title[-1] == "_": temp_title = temp_title[:-2]
1366
+ return temp_title