xlin 0.1.8__py2.py3-none-any.whl → 0.1.9__py2.py3-none-any.whl

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/__init__.py CHANGED
@@ -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 *
@@ -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,15 +1,13 @@
1
- xlin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
1
+ xlin/__init__.py,sha256=a65bDHqGuZDvIO--mWqjKgdW06_nNisGi7yRsSD4r0M,204
2
2
  xlin/ischinese.py,sha256=Ia9IMQ6q-UHkdLwqS70L1fTnfSPbluFrv_I1UqsKquo,293
3
3
  xlin/jsonl.py,sha256=DvVM241a9VgQlp5WIMPRv-JIolT0RdSxw47IG_fc7xE,6690
4
4
  xlin/multiprocess_mapping.py,sha256=pmzyEUYpbpIZ_ezyvWWWRpr7D7n4t3E3jW1nGXBbVck,7652
5
5
  xlin/read_as_dataframe.py,sha256=ir3HUT6dt3crqa3xnlcNn8j3wqjSIGJgiIVLP3KkBaQ,8678
6
6
  xlin/statistic.py,sha256=BLj8hszlbBT5xDIfd70_YtOb8QgZEvYXiFJDGXBwCfw,881
7
- xlin/terminal_color.py,sha256=nfE-CY2BzjY2eZbm9yk8r-AuyJ-hchmLXhASCb4HAIA,191
8
7
  xlin/util.py,sha256=SOQUh506GQlljJYLYuI6nScSTOrgRQnMq2xfxSvKIlI,11303
9
- xlin/uuid.py,sha256=gouvm7_DL22sIhXl-g4e6S2qzIZtmE3SEp00xy1upyg,271
10
8
  xlin/xls2xlsx.py,sha256=5zfcM0gmunFQOcOj9nYd9Dj0HMhU7-cPKnPIy6Ot9iU,930
11
9
  xlin/yaml.py,sha256=kICi7G3Td5q2MaSXXt85qNTWoHMgjzt7pvn7r3C4dME,183
12
- xlin-0.1.8.dist-info/LICENSE,sha256=KX0dDCYlO4DskqMZY8qeY94EZMrDRNnNqlGLkXVlKyM,1063
13
- xlin-0.1.8.dist-info/METADATA,sha256=XRXH6JMQMlIhnRbalOxAze0QmkZRIy6lunDVXp2jyXg,1046
14
- xlin-0.1.8.dist-info/WHEEL,sha256=IrRNNNJ-uuL1ggO5qMvT1GGhQVdQU54d6ZpYqEZfEWo,92
15
- xlin-0.1.8.dist-info/RECORD,,
10
+ xlin-0.1.9.dist-info/LICENSE,sha256=KX0dDCYlO4DskqMZY8qeY94EZMrDRNnNqlGLkXVlKyM,1063
11
+ xlin-0.1.9.dist-info/METADATA,sha256=D8GFp56tFsPGfq5aGwcpfj3vcnBFqT6uvG7woSMKOtA,1046
12
+ xlin-0.1.9.dist-info/WHEEL,sha256=IrRNNNJ-uuL1ggO5qMvT1GGhQVdQU54d6ZpYqEZfEWo,92
13
+ xlin-0.1.9.dist-info/RECORD,,
xlin/terminal_color.py DELETED
@@ -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/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