xython 2.2.1__tar.gz → 2.2.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-2.2.1/src/xython.egg-info → xython-2.2.3}/PKG-INFO +2 -3
  2. {xython-2.2.1 → xython-2.2.3}/setup.py +2 -3
  3. {xython-2.2.1 → xython-2.2.3}/src/xython/__init__.py +1 -1
  4. {xython-2.2.1 → xython-2.2.3}/src/xython/anydb.py +11 -11
  5. {xython-2.2.1 → xython-2.2.3}/src/xython/ganada.py +529 -175
  6. {xython-2.2.1 → xython-2.2.3}/src/xython/han.py +191 -4
  7. xython-2.2.3/src/xython/html.py +250 -0
  8. {xython-2.2.1 → xython-2.2.3}/src/xython/jfinder.py +1 -1
  9. {xython-2.2.1 → xython-2.2.3}/src/xython/mailmail.py +40 -2
  10. xython-2.2.3/src/xython/pcell.py +12305 -0
  11. {xython-2.2.1 → xython-2.2.3}/src/xython/pyclick.py +90 -6
  12. {xython-2.2.1 → xython-2.2.3}/src/xython/pynal.py +70 -7
  13. {xython-2.2.1 → xython-2.2.3}/src/xython/rgraph.py +3 -3
  14. {xython-2.2.1 → xython-2.2.3}/src/xython/scolor.py +51 -6
  15. xython-2.2.3/src/xython/xython_basic_data.py +6792 -0
  16. {xython-2.2.1 → xython-2.2.3}/src/xython/youtil.py +2238 -1990
  17. {xython-2.2.1 → xython-2.2.3/src/xython.egg-info}/PKG-INFO +2 -3
  18. {xython-2.2.1 → xython-2.2.3}/src/xython.egg-info/SOURCES.txt +2 -5
  19. xython-2.2.1/src/xython/basic_data.py +0 -1869
  20. xython-2.2.1/src/xython/basic_sample.py +0 -6621
  21. xython-2.2.1/src/xython/mygrid.py +0 -2152
  22. xython-2.2.1/src/xython/mygrid_sample_data_01.py +0 -90
  23. xython-2.2.1/src/xython/pcell.py +0 -8318
  24. xython-2.2.1/src/xython/pcell_event.py +0 -349
  25. {xython-2.2.1 → xython-2.2.3}/MANIFEST.in +0 -0
  26. {xython-2.2.1 → xython-2.2.3}/README.md +0 -0
  27. {xython-2.2.1 → xython-2.2.3}/requirements.txt +0 -0
  28. {xython-2.2.1 → xython-2.2.3}/setup.cfg +0 -0
  29. {xython-2.2.1 → xython-2.2.3}/src/xython.egg-info/dependency_links.txt +0 -0
  30. {xython-2.2.1 → xython-2.2.3}/src/xython.egg-info/not-zip-safe +0 -0
  31. {xython-2.2.1 → xython-2.2.3}/src/xython.egg-info/top_level.txt +0 -0
@@ -1,15 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xython
3
- Version: 2.2.1
3
+ Version: 2.2.3
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.2.1.tar.gz
9
+ Download-URL: https://github.com/sjpark/xython/archive/v2.2.3.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
- Project-URL: Link 2, https://www.halmoney.com
13
12
  Description: ## About xython module / 개요
14
13
  Functional Programming for Excel, Hwp, Word, Outlook, Color, Etc by Python
15
14
 
@@ -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.2.1',
12
+ version='2.2.3',
13
13
  url='https://github.com/sjpark/xython',
14
- download_url='https://github.com/sjpark/xython/archive/v2.2.1.tar.gz',
14
+ download_url='https://github.com/sjpark/xython/archive/v2.2.3.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',
@@ -30,7 +30,6 @@ setup(
30
30
  project_urls = {
31
31
  'Documentation': 'https://sjpkorea.github.io/xython.github.io/',
32
32
  'Link 1': 'https://www.xython.co.kr',
33
- 'Link 2': 'https://www.halmoney.com'
34
33
  }
35
34
  )
36
35
 
@@ -6,7 +6,7 @@ import inspect
6
6
  import os
7
7
  import sys
8
8
 
9
- __version__ = '2.2.1'
9
+ __version__ = '2.2.3'
10
10
  real_path = os.path.dirname(os.path.abspath(__file__)).replace("\\","/")
11
11
  sys.path.append(real_path)
12
12
 
@@ -1,8 +1,8 @@
1
1
  # -*- coding: utf-8 -*-
2
2
  import os, sqlite3 # 내장모듈
3
3
 
4
- import pcell,jfinder, scolor, youtil, basic_data # xython 모듈
5
-
4
+ from xython import pcell,jfinder, scolor, youtil # xython 모듈
5
+ import xython_basic_data
6
6
  import pandas as pd
7
7
  import numpy as np
8
8
 
@@ -23,7 +23,7 @@ class anydb:
23
23
  self.table_name = ""
24
24
  self.con = "" # sqlite db에 연결되는 것
25
25
 
26
- self.common_data = basic_data.basic_data()
26
+ self.common_data = xython_basic_data.basic_data_basic_data()
27
27
  self.var_common = self.common_data.vars # 패키지내에서 공통으로 사용되는 변수
28
28
 
29
29
  if self.db_name != "":
@@ -135,18 +135,18 @@ class anydb:
135
135
 
136
136
  return result
137
137
 
138
- def change_list_to_df(self, col_list="", list2d=""):
138
+ def change_list_to_df(self, col_list="", list_2d=""):
139
139
  """
140
140
  리스트 자료를 dataframe로 만드는것
141
141
 
142
142
  :param col_list: 제목리스트
143
- :param list2d: 2차원 값리스트형
143
+ :param list_2d: 2차원 값리스트형
144
144
  :return: dataframe로 바꾼것
145
145
  """
146
- checked_list2d = self.util.change_list1d_to_list2d(list2d)
146
+ checked_list_2d = self.util.change_list_1d_to_list_2d(list_2d)
147
147
  # 컬럼의 이름이 없거나하면 기본적인 이름을 만드는 것이다
148
- checked_col_list = self.check_input_data(col_list, list2d)
149
- input_df = pd.DataFrame(data=checked_list2d, columns=checked_col_list)
148
+ checked_col_list = self.check_input_data(col_list, list_2d)
149
+ input_df = pd.DataFrame(data=checked_list_2d, columns=checked_col_list)
150
150
  return input_df
151
151
 
152
152
  def change_sqlite_table_data_to_df(self, table_name, db_name=""):
@@ -719,7 +719,7 @@ class anydb:
719
719
  :param col_list: y컬럼 이름들
720
720
  :return:
721
721
  """
722
- sql_columns = self.util.change_list1d_to_text_with_chainword(col_list, ", ")
722
+ sql_columns = self.util.change_list_1d_to_text_with_chainword(col_list, ", ")
723
723
  sql_values = "?," * len(col_list)
724
724
  result = "insert into %s (%s) values (%s)" % (table_name, sql_columns, sql_values[:-1])
725
725
  return result
@@ -1002,7 +1002,7 @@ class anydb:
1002
1002
  if yname_s == "":
1003
1003
  sql_columns = "*"
1004
1004
  else:
1005
- sql_columns = self.util.change_list1d_to_text_with_chainword(yname_s, ", ")
1005
+ sql_columns = self.util.change_list_1d_to_text_with_chainword(yname_s, ", ")
1006
1006
 
1007
1007
  if condition == "all":
1008
1008
  lim_no = 100
@@ -1266,7 +1266,7 @@ class anydb:
1266
1266
  col_list = input_df.columns.values.tolist()
1267
1267
  value_list = input_df.values.tolist()
1268
1268
  excel = pcell.pcell()
1269
- excel.write_list1d_in_yline("", xy, col_list)
1269
+ excel.write_list_1d_in_yline("", xy, col_list)
1270
1270
  excel.write_value_in_range_as_speedy("", [xy[0] + 1, xy[1]], value_list)
1271
1271
 
1272
1272
  def write_df_data_to_sqlite(self, table_name, df_data, db_name=""):