xython 2.0.2__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.
- {xython-2.0.2/src/xython.egg-info → xython-2.1.0}/PKG-INFO +2 -2
- {xython-2.0.2 → xython-2.1.0}/setup.py +2 -2
- {xython-2.0.2 → xython-2.1.0}/src/xython/__init__.py +1 -1
- {xython-2.0.2 → xython-2.1.0}/src/xython/anydb.py +14 -10
- {xython-2.0.2 → xython-2.1.0}/src/xython/basic_data.py +987 -214
- {xython-2.0.2 → xython-2.1.0}/src/xython/basic_sample.py +3 -481
- {xython-2.0.2 → xython-2.1.0}/src/xython/ganada.py +831 -723
- xython-2.1.0/src/xython/han.py +352 -0
- {xython-2.0.2 → xython-2.1.0}/src/xython/jfinder.py +55 -7
- {xython-2.0.2 → xython-2.1.0}/src/xython/mygrid.py +23 -6
- {xython-2.0.2 → xython-2.1.0}/src/xython/pcell.py +2042 -1910
- {xython-2.0.2 → xython-2.1.0}/src/xython/pyclick.py +4 -4
- {xython-2.0.2 → xython-2.1.0}/src/xython/pynal.py +14 -14
- {xython-2.0.2 → xython-2.1.0}/src/xython/scolor.py +83 -70
- {xython-2.0.2 → xython-2.1.0}/src/xython/youtil.py +122 -24
- {xython-2.0.2 → xython-2.1.0/src/xython.egg-info}/PKG-INFO +2 -2
- {xython-2.0.2 → xython-2.1.0}/src/xython.egg-info/SOURCES.txt +1 -0
- {xython-2.0.2 → xython-2.1.0}/MANIFEST.in +0 -0
- {xython-2.0.2 → xython-2.1.0}/README.md +0 -0
- {xython-2.0.2 → xython-2.1.0}/requirements.txt +0 -0
- {xython-2.0.2 → xython-2.1.0}/setup.cfg +0 -0
- {xython-2.0.2 → xython-2.1.0}/src/xython/mailmail.py +0 -0
- {xython-2.0.2 → xython-2.1.0}/src/xython/mygrid_sample_data_01.py +0 -0
- {xython-2.0.2 → xython-2.1.0}/src/xython/pcell_event.py +0 -0
- {xython-2.0.2 → xython-2.1.0}/src/xython/rgraph.py +0 -0
- {xython-2.0.2 → xython-2.1.0}/src/xython.egg-info/dependency_links.txt +0 -0
- {xython-2.0.2 → xython-2.1.0}/src/xython.egg-info/not-zip-safe +0 -0
- {xython-2.0.2 → 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
|
|
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.
|
|
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
|
|
@@ -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
|
|
12
|
+
version='2.1.0',
|
|
13
13
|
url='https://github.com/sjpark/xython',
|
|
14
|
-
download_url='https://github.com/sjpark/xython/archive/v2.0.
|
|
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',
|
|
@@ -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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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
|