parsagon 0.14.35__tar.gz → 0.14.37__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.
Files changed (38) hide show
  1. {parsagon-0.14.35 → parsagon-0.14.37}/PKG-INFO +3 -2
  2. {parsagon-0.14.35 → parsagon-0.14.37}/pyproject.toml +2 -1
  3. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/create.py +2 -1
  4. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/executor.py +1 -0
  5. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon.egg-info/PKG-INFO +3 -2
  6. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon.egg-info/requires.txt +1 -0
  7. {parsagon-0.14.35 → parsagon-0.14.37}/README.md +0 -0
  8. {parsagon-0.14.35 → parsagon-0.14.37}/setup.cfg +0 -0
  9. {parsagon-0.14.35 → parsagon-0.14.37}/src/__init__.py +0 -0
  10. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/__init__.py +0 -0
  11. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/api.py +0 -0
  12. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/assistant.py +0 -0
  13. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/custom_function.py +0 -0
  14. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/edit.py +0 -0
  15. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/exceptions.py +0 -0
  16. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/gui/__init__.py +0 -0
  17. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/gui/controller.py +0 -0
  18. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/gui/menu.py +0 -0
  19. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/gui/window.py +0 -0
  20. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/gui_entry.py +0 -0
  21. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/highlights.js +0 -0
  22. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/main.py +0 -0
  23. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/print.py +0 -0
  24. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/runs.py +0 -0
  25. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/secrets.py +0 -0
  26. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/settings.py +0 -0
  27. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/tests/__init__.py +0 -0
  28. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/tests/api_mocks.py +0 -0
  29. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/tests/conftest.py +0 -0
  30. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/tests/test_executor.py +0 -0
  31. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/tests/test_invalid_args.py +0 -0
  32. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/tests/test_pipeline_operations.py +0 -0
  33. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/tests/test_print.py +0 -0
  34. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon/tests/test_secrets.py +0 -0
  35. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon.egg-info/SOURCES.txt +0 -0
  36. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon.egg-info/dependency_links.txt +0 -0
  37. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon.egg-info/entry_points.txt +0 -0
  38. {parsagon-0.14.35 → parsagon-0.14.37}/src/parsagon.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: parsagon
3
- Version: 0.14.35
3
+ Version: 0.14.37
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
@@ -23,6 +23,7 @@ Requires-Dist: simplejson==3.19.1
23
23
  Requires-Dist: pypdf==4.2.0
24
24
  Requires-Dist: python-dateutil==2.9.0.post0
25
25
  Requires-Dist: html2text==2024.2.26
26
+ Requires-Dist: feedparser==6.0.11
26
27
  Provides-Extra: dev
27
28
  Requires-Dist: pytest==7.3.2; extra == "dev"
28
29
  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.35"
19
+ version = "0.14.37"
20
20
  description = "Allows you to create browser automations with natural language"
21
21
  readme = "README.md"
22
22
  requires-python = ">=3.8"
@@ -46,6 +46,7 @@ dependencies = [
46
46
  'pypdf==4.2.0',
47
47
  'python-dateutil==2.9.0.post0',
48
48
  'html2text==2024.2.26',
49
+ 'feedparser==6.0.11',
49
50
  ]
50
51
 
51
52
  [project.optional-dependencies]
@@ -44,7 +44,7 @@ def create_program(task, headless=False, undetected=False, program_name=None, as
44
44
 
45
45
  # Execute the abridged program to gather examples
46
46
  executor = Executor(task, headless=headless, infer=infer, use_uc=undetected)
47
- executor.execute(abridged_program)
47
+ example_output = executor.execute(abridged_program)
48
48
 
49
49
  # The user must select a name
50
50
  while True:
@@ -83,4 +83,5 @@ def create_program(task, headless=False, undetected=False, program_name=None, as
83
83
  "success": True,
84
84
  "outcome": f"Program successfully saved with name {program_name}",
85
85
  "program_name": program_name,
86
+ "example_output": example_output,
86
87
  }
@@ -693,6 +693,7 @@ class Executor:
693
693
  try:
694
694
  exec(code, self.execution_context, loc)
695
695
  browser_print(f"Program finished and returned a value of:\n{loc['output']}\n")
696
+ return loc["output"]
696
697
  finally:
697
698
  self.quit()
698
699
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.2
2
2
  Name: parsagon
3
- Version: 0.14.35
3
+ Version: 0.14.37
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
@@ -23,6 +23,7 @@ Requires-Dist: simplejson==3.19.1
23
23
  Requires-Dist: pypdf==4.2.0
24
24
  Requires-Dist: python-dateutil==2.9.0.post0
25
25
  Requires-Dist: html2text==2024.2.26
26
+ Requires-Dist: feedparser==6.0.11
26
27
  Provides-Extra: dev
27
28
  Requires-Dist: pytest==7.3.2; extra == "dev"
28
29
  Requires-Dist: pytest-mock==3.11.1; extra == "dev"
@@ -13,6 +13,7 @@ simplejson==3.19.1
13
13
  pypdf==4.2.0
14
14
  python-dateutil==2.9.0.post0
15
15
  html2text==2024.2.26
16
+ feedparser==6.0.11
16
17
 
17
18
  [dev]
18
19
  pytest==7.3.2
File without changes
File without changes
File without changes