olca 0.2.85__tar.gz → 0.2.88__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
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: olca
3
- Version: 0.2.85
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
@@ -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
 
@@ -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,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: olca
3
- Version: 0.2.85
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
@@ -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
 
@@ -16,3 +16,4 @@ langfuse
16
16
  pytz
17
17
  google.generativeai
18
18
  arxiv
19
+ tlid
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "olca"
10
- version = "0.2.85"
10
+ version = "0.2.88"
11
11
 
12
12
  description = "A Python package for experimental usage of Langchain and Human-in-the-Loop"
13
13
  readme = "README.md"
@@ -35,6 +35,7 @@ dependencies = [
35
35
  "pytz",
36
36
  "google.generativeai",
37
37
  "arxiv",
38
+ "tlid",
38
39
  ]
39
40
  classifiers = [
40
41
  "Programming Language :: Python :: 3",
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='olca',
5
- version = "0.2.85",
5
+ version = "0.2.88",
6
6
  author='Jean GUillaume ISabelle',
7
7
  author_email='jgi@jgwill.com',
8
8
  description='A Python package for experimenting with Langchain agent and interactivity in Terminal modalities.',
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
File without changes