xlin 0.1.8__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: xlin
3
- Version: 0.1.8
3
+ Version: 0.1.9
4
4
  Summary: toolbox for LinXueyuan
5
5
  License: MIT
6
6
  Author: XiChen
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "xlin"
3
- version = "0.1.8"
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"
@@ -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 *
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.8/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