olca 0.2.85__py3-none-any.whl → 0.2.88__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.
- olca/oiv.py +4 -0
- {olca-0.2.85.dist-info → olca-0.2.88.dist-info}/METADATA +8 -3
- {olca-0.2.85.dist-info → olca-0.2.88.dist-info}/RECORD +7 -7
- {olca-0.2.85.dist-info → olca-0.2.88.dist-info}/WHEEL +1 -1
- {olca-0.2.85.dist-info → olca-0.2.88.dist-info}/entry_points.txt +0 -0
- {olca-0.2.85.dist-info → olca-0.2.88.dist-info/licenses}/LICENSE +0 -0
- {olca-0.2.85.dist-info → olca-0.2.88.dist-info}/top_level.txt +0 -0
olca/oiv.py
CHANGED
@@ -11,6 +11,7 @@ import os
|
|
11
11
|
import json
|
12
12
|
import tlid
|
13
13
|
import warnings
|
14
|
+
import re
|
14
15
|
|
15
16
|
warnings.filterwarnings("ignore", message="The function `loads` is in beta. It is actively being worked on, so the API may change.")
|
16
17
|
DEBUG_MODE=False
|
@@ -139,6 +140,9 @@ def parse_cli_arguments():
|
|
139
140
|
parser.add_argument('-P','-p','--prefix', type=str,
|
140
141
|
help='a file prefix for output',default="arxiv-")
|
141
142
|
args = parser.parse_args()
|
143
|
+
# Clean up prefix: replace spaces with "_" then remove special characters
|
144
|
+
args.prefix = re.sub(r'\s+', '_', args.prefix)
|
145
|
+
args.prefix = re.sub(r'[^0-9a-zA-Z_]', '', args.prefix)
|
142
146
|
return args
|
143
147
|
|
144
148
|
if __name__ == "__main__":
|
@@ -1,11 +1,11 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: olca
|
3
|
-
Version: 0.2.
|
3
|
+
Version: 0.2.88
|
4
4
|
Summary: A Python package for experimental usage of Langchain and Human-in-the-Loop
|
5
5
|
Home-page: https://github.com/jgwill/olca
|
6
6
|
Author: Jean GUillaume ISabelle
|
7
7
|
Author-email: Jean GUillaume ISabelle <jgi@jgwill.com>
|
8
|
-
License:
|
8
|
+
License: GNU GENERAL PUBLIC LICENSE
|
9
9
|
Version 2, June 1991
|
10
10
|
|
11
11
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
@@ -369,6 +369,11 @@ Requires-Dist: langfuse
|
|
369
369
|
Requires-Dist: pytz
|
370
370
|
Requires-Dist: google.generativeai
|
371
371
|
Requires-Dist: arxiv
|
372
|
+
Requires-Dist: tlid
|
373
|
+
Dynamic: author
|
374
|
+
Dynamic: home-page
|
375
|
+
Dynamic: license-file
|
376
|
+
Dynamic: requires-python
|
372
377
|
|
373
378
|
# oLCa
|
374
379
|
|
@@ -1,15 +1,15 @@
|
|
1
1
|
olca/__init__.py,sha256=3QyLLAys_KiiDIe-cfO_7QyY7di_qCaCS-sVziW2BOw,23
|
2
2
|
olca/fusewill_cli.py,sha256=AJZ-s23F5IMtukob9Hh4yMUG8mc_WbN38W9U-L7h7aM,18650
|
3
3
|
olca/fusewill_utils.py,sha256=Ic4W4_iOI6e741RvOFURW47P8RKMwpoKQwU2cjwjYUg,19192
|
4
|
-
olca/oiv.py,sha256=
|
4
|
+
olca/oiv.py,sha256=zbO49v4vf1McSiBsF3021rIY8Z3_UkZDbc-3F1Td0ag,4791
|
5
5
|
olca/olcacli.py,sha256=wwn4mL1kGonigI9w6UEsnFJDWQ6yONxqvogjrCj-Og4,11246
|
6
6
|
olca/olcahelper.py,sha256=v16ETPboJFdJdkL1iAJ86_oAhkFo5jMFfx5oivOG8kA,4115
|
7
7
|
olca/prompts.py,sha256=q7lvDZ8n_K6ea2nu3K5R2fgBgQYrCIEjh0cA9fUlMFI,3697
|
8
8
|
olca/tracing.py,sha256=cEfPNZoI-PbMHFpX8bvY7OajeW4yvZBMycqwj6sRpDE,1637
|
9
9
|
olca/utils.py,sha256=kDxKwD51234OvA6PIW9IfAND8DHwd8lSyOvSf4abvPE,916
|
10
|
-
olca-0.2.
|
11
|
-
olca-0.2.
|
12
|
-
olca-0.2.
|
13
|
-
olca-0.2.
|
14
|
-
olca-0.2.
|
15
|
-
olca-0.2.
|
10
|
+
olca-0.2.88.dist-info/licenses/LICENSE,sha256=gXf5dRMhNSbfLPYYTY_5hsZ1r7UU1OaKQEAQUhuIBkM,18092
|
11
|
+
olca-0.2.88.dist-info/METADATA,sha256=CXc7QE5yeglzhvRpccrf6_25Jn_wa4YWyP48U1ZRNKU,26122
|
12
|
+
olca-0.2.88.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
|
13
|
+
olca-0.2.88.dist-info/entry_points.txt,sha256=W2UkinpMZYsCLH54must9ahwbzCRl-rekcZ7rL5u3wA,123
|
14
|
+
olca-0.2.88.dist-info/top_level.txt,sha256=bGDtAReS-xlS0F6MM-DyD0IQUqjNdWmgemnM3vNtrpI,5
|
15
|
+
olca-0.2.88.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|