xlin 0.1.6__tar.gz → 0.1.8__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.8/PKG-INFO ADDED
@@ -0,0 +1,31 @@
1
+ Metadata-Version: 2.1
2
+ Name: xlin
3
+ Version: 0.1.8
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.6"
3
+ version = "0.1.8"
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"]
@@ -62,6 +62,10 @@ def is_jsonl(filepath: str):
62
62
  else:
63
63
  return True # 第一行是json,所以是jsonl格式
64
64
 
65
+ def load_text(filename):
66
+ with open(filename, 'r') as f:
67
+ return f.read()
68
+
65
69
 
66
70
  def load_json_or_jsonl(filepath: str):
67
71
  if is_jsonl(filepath):
xlin-0.1.6/PKG-INFO DELETED
@@ -1,24 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: xlin
3
- Version: 0.1.6
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
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
File without changes