parsagon 0.14.33__tar.gz → 0.14.34__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.
- {parsagon-0.14.33 → parsagon-0.14.34}/PKG-INFO +2 -1
- {parsagon-0.14.33 → parsagon-0.14.34}/pyproject.toml +2 -1
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/executor.py +5 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon.egg-info/PKG-INFO +2 -1
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon.egg-info/requires.txt +1 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/README.md +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/setup.cfg +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/__init__.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/__init__.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/api.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/assistant.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/create.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/custom_function.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/edit.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/exceptions.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/gui/__init__.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/gui/controller.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/gui/menu.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/gui/window.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/gui_entry.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/highlights.js +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/main.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/print.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/runs.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/secrets.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/settings.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/tests/__init__.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/tests/api_mocks.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/tests/conftest.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/tests/test_executor.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/tests/test_invalid_args.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/tests/test_pipeline_operations.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/tests/test_print.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon/tests/test_secrets.py +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon.egg-info/SOURCES.txt +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon.egg-info/dependency_links.txt +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon.egg-info/entry_points.txt +0 -0
- {parsagon-0.14.33 → parsagon-0.14.34}/src/parsagon.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: parsagon
|
3
|
-
Version: 0.14.
|
3
|
+
Version: 0.14.34
|
4
4
|
Summary: Allows you to create browser automations with natural language
|
5
5
|
Author-email: Sandy Suh <sandy@parsagon.io>
|
6
6
|
Project-URL: Homepage, https://parsagon.io
|
@@ -21,6 +21,7 @@ Requires-Dist: webdriver-manager==4.0.2
|
|
21
21
|
Requires-Dist: jsonpath-ng==1.5.3
|
22
22
|
Requires-Dist: simplejson==3.19.1
|
23
23
|
Requires-Dist: pypdf==4.2.0
|
24
|
+
Requires-Dist: python-dateutil==2.9.0.post0
|
24
25
|
Provides-Extra: dev
|
25
26
|
Requires-Dist: pytest==7.3.2; extra == "dev"
|
26
27
|
Requires-Dist: pytest-mock==3.11.1; extra == "dev"
|
@@ -16,7 +16,7 @@ line-length = 120
|
|
16
16
|
|
17
17
|
[project]
|
18
18
|
name = "parsagon"
|
19
|
-
version = "0.14.
|
19
|
+
version = "0.14.34"
|
20
20
|
description = "Allows you to create browser automations with natural language"
|
21
21
|
readme = "README.md"
|
22
22
|
requires-python = ">=3.8"
|
@@ -44,6 +44,7 @@ dependencies = [
|
|
44
44
|
'jsonpath-ng==1.5.3',
|
45
45
|
'simplejson==3.19.1',
|
46
46
|
'pypdf==4.2.0',
|
47
|
+
'python-dateutil==2.9.0.post0',
|
47
48
|
]
|
48
49
|
|
49
50
|
[project.optional-dependencies]
|
@@ -1,5 +1,6 @@
|
|
1
1
|
from collections import defaultdict
|
2
2
|
import copy
|
3
|
+
import dateutil.parser
|
3
4
|
import glob
|
4
5
|
import json
|
5
6
|
import logging
|
@@ -150,6 +151,7 @@ class Executor:
|
|
150
151
|
"get_json_about_data": get_json_about_data,
|
151
152
|
"get_serp_data": get_serp_data,
|
152
153
|
"get_pdf_text": self.get_pdf_text,
|
154
|
+
"str_to_iso8601": self.str_to_iso8601,
|
153
155
|
}
|
154
156
|
self.custom_functions = {}
|
155
157
|
self.infer = infer
|
@@ -671,6 +673,9 @@ class Executor:
|
|
671
673
|
os.remove(most_recent_file)
|
672
674
|
return text
|
673
675
|
|
676
|
+
def str_to_iso8601(self, s):
|
677
|
+
return dateutil.parser.parse(s).isoformat()
|
678
|
+
|
674
679
|
def execute(self, code):
|
675
680
|
loc = {}
|
676
681
|
try:
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: parsagon
|
3
|
-
Version: 0.14.
|
3
|
+
Version: 0.14.34
|
4
4
|
Summary: Allows you to create browser automations with natural language
|
5
5
|
Author-email: Sandy Suh <sandy@parsagon.io>
|
6
6
|
Project-URL: Homepage, https://parsagon.io
|
@@ -21,6 +21,7 @@ Requires-Dist: webdriver-manager==4.0.2
|
|
21
21
|
Requires-Dist: jsonpath-ng==1.5.3
|
22
22
|
Requires-Dist: simplejson==3.19.1
|
23
23
|
Requires-Dist: pypdf==4.2.0
|
24
|
+
Requires-Dist: python-dateutil==2.9.0.post0
|
24
25
|
Provides-Extra: dev
|
25
26
|
Requires-Dist: pytest==7.3.2; extra == "dev"
|
26
27
|
Requires-Dist: pytest-mock==3.11.1; extra == "dev"
|
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
|
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
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|