xlin 0.1.7__tar.gz → 0.1.9__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.
xlin-0.1.9/PKG-INFO ADDED
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.1
2
+ Name: xlin
3
+ Version: 0.1.9
4
+ Summary: toolbox for LinXueyuan
5
+ License: MIT
6
+ Author: XiChen
7
+ Author-email: 23211526+LinXueyuanStdio@users.noreply.github.com
8
+ Classifier: License :: OSI Approved :: MIT License
9
+ Classifier: Programming Language :: Python :: 2
10
+ Classifier: Programming Language :: Python :: 2.7
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.4
13
+ Classifier: Programming Language :: Python :: 3.5
14
+ Classifier: Programming Language :: Python :: 3.6
15
+ Classifier: Programming Language :: Python :: 3.7
16
+ Classifier: Programming Language :: Python :: 3.8
17
+ Classifier: Programming Language :: Python :: 3.9
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Requires-Dist: loguru
22
+ Requires-Dist: pandas
23
+ Requires-Dist: pyexcel
24
+ Requires-Dist: pyexcel-xls
25
+ Requires-Dist: pyexcel-xlsx
26
+ Requires-Dist: xlsxwriter
27
+ Description-Content-Type: text/markdown
28
+
29
+ # xlin
30
+ 个人 python 工具代码
31
+
@@ -1,20 +1,18 @@
1
1
  [tool.poetry]
2
2
  name = "xlin"
3
- version = "0.1.7"
3
+ version = "0.1.9"
4
4
  description = "toolbox for LinXueyuan"
5
5
  authors = ["XiChen <23211526+LinXueyuanStdio@users.noreply.github.com>"]
6
6
  license = "MIT"
7
7
  readme = "README.md"
8
8
 
9
9
  [tool.poetry.dependencies]
10
- python = "^3.10"
11
-
12
- loguru = "^0.7.2"
13
- pandas = "^2.2.3"
14
- pyexcel = "^0.7.1"
15
- pyexcel-xls = "^0.7.0"
16
- pyexcel-xlsx = "^0.6.0"
17
- xlsxwriter = "3.1.2"
10
+ loguru = "*"
11
+ pandas = "*"
12
+ pyexcel = "*"
13
+ pyexcel-xls = "*"
14
+ pyexcel-xlsx = "*"
15
+ xlsxwriter = "*"
18
16
 
19
17
  [build-system]
20
18
  requires = ["poetry-core"]
@@ -0,0 +1,8 @@
1
+ from .ischinese import *
2
+ from .jsonl import *
3
+ from .multiprocess_mapping import *
4
+ from .read_as_dataframe import *
5
+ from .statistic import *
6
+ from .util import *
7
+ from .xls2xlsx import *
8
+ from .yaml import *
xlin-0.1.7/PKG-INFO DELETED
@@ -1,24 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: xlin
3
- Version: 0.1.7
4
- Summary: toolbox for LinXueyuan
5
- License: MIT
6
- Author: XiChen
7
- Author-email: 23211526+LinXueyuanStdio@users.noreply.github.com
8
- Requires-Python: >=3.10,<4.0
9
- Classifier: License :: OSI Approved :: MIT License
10
- Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.10
12
- Classifier: Programming Language :: Python :: 3.11
13
- Classifier: Programming Language :: Python :: 3.12
14
- Requires-Dist: loguru (>=0.7.2,<0.8.0)
15
- Requires-Dist: pandas (>=2.2.3,<3.0.0)
16
- Requires-Dist: pyexcel (>=0.7.1,<0.8.0)
17
- Requires-Dist: pyexcel-xls (>=0.7.0,<0.8.0)
18
- Requires-Dist: pyexcel-xlsx (>=0.6.0,<0.7.0)
19
- Requires-Dist: xlsxwriter (==3.1.2)
20
- Description-Content-Type: text/markdown
21
-
22
- # xlin
23
- 个人 python 工具代码
24
-
File without changes
@@ -1,10 +0,0 @@
1
-
2
- blue = "\x1b[34m"
3
- cyan = "\x1b[36;21m"
4
- green = "\x1b[32;21m"
5
- orange = "\x1b[33;21m"
6
- grey = "\x1b[38;21m"
7
- yellow = "\x1b[33;21m"
8
- red = "\x1b[31;21m"
9
- bold_red = "\x1b[31;1m"
10
- reset = "\x1b[0m"
xlin-0.1.7/xlin/uuid.py DELETED
@@ -1,13 +0,0 @@
1
- from typing import *
2
- import uuid
3
-
4
- import pandas as pd
5
-
6
-
7
- def append_uuid_column(df: pd.DataFrame, uuid_key="uuid"):
8
- rows = []
9
- for i, row in df.iterrows():
10
- row[uuid_key] = str(uuid.uuid4())
11
- rows.append(row)
12
- df = pd.DataFrame(rows)
13
- return df
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