lumivor 0.1.7__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.
@@ -0,0 +1,100 @@
1
+ Metadata-Version: 2.4
2
+ Name: lumivor
3
+ Version: 0.1.7
4
+ Summary: Seamlessly Integrating AI with the Web
5
+ License-File: LICENSE
6
+ Classifier: License :: OSI Approved :: MIT License
7
+ Classifier: Operating System :: OS Independent
8
+ Classifier: Programming Language :: Python :: 3
9
+ Requires-Python: >=3.11
10
+ Requires-Dist: beautifulsoup4>=4.12.3
11
+ Requires-Dist: httpx>=0.27.2
12
+ Requires-Dist: langchain-anthropic>=0.3.1
13
+ Requires-Dist: langchain-fireworks>=0.2.5
14
+ Requires-Dist: langchain-google-genai>=2.0.8
15
+ Requires-Dist: langchain-openai>=0.2.14
16
+ Requires-Dist: langchain>=0.3.14
17
+ Requires-Dist: maincontentextractor>=0.0.4
18
+ Requires-Dist: playwright>=1.49.0
19
+ Requires-Dist: posthog>=3.7.0
20
+ Requires-Dist: pydantic>=2.10.4
21
+ Requires-Dist: python-dotenv>=1.0.1
22
+ Requires-Dist: requests>=2.32.3
23
+ Provides-Extra: dev
24
+ Requires-Dist: build>=1.2.2; extra == 'dev'
25
+ Requires-Dist: hatch>=1.13.0; extra == 'dev'
26
+ Requires-Dist: pytest-asyncio>=0.24.0; extra == 'dev'
27
+ Requires-Dist: pytest>=8.3.3; extra == 'dev'
28
+ Requires-Dist: tokencost>=0.1.16; extra == 'dev'
29
+ Description-Content-Type: text/markdown
30
+
31
+ <img src="./static/lumivor.png" alt="Lumivor Logo" width="full"/>
32
+
33
+ <br/>
34
+
35
+ [![Documentation](https://img.shields.io/badge/Documentation-📕-blue)](https://Lumivor-Labs.github.io)
36
+ [![Twitter Follow](https://img.shields.io/twitter/follow/lumivor_labs?style=social)](https://x.com/lumivor_labs)
37
+
38
+ Seamlessly Integrating AI with the Web
39
+
40
+ We enable AI systems to interact with websites by pinpointing and isolating essential interactive elements for smooth navigation.
41
+
42
+ To learn more about the library, check out the [documentation 📕](https://Lumivor-Labs.github.io).
43
+
44
+ # Quick start
45
+
46
+ With pip:
47
+
48
+ ```bash
49
+ pip install lumivor
50
+ ```
51
+
52
+ (optional) install playwright:
53
+
54
+ ```bash
55
+ playwright install
56
+ ```
57
+
58
+ Spin up your agent:
59
+
60
+ ```python
61
+ from langchain_openai import ChatOpenAI
62
+ from lumivor import Agent
63
+ import asyncio
64
+
65
+ async def main():
66
+ agent = Agent(
67
+ task="Find a one-way flight from Bali to Oman on 12 January 2025 on Google Flights. Return me the cheapest option.",
68
+ llm=ChatOpenAI(model="gpt-4o"),
69
+ )
70
+ result = await agent.run()
71
+ print(result)
72
+
73
+ asyncio.run(main())
74
+ ```
75
+
76
+ And don't forget to add your API keys to your `.env` file.
77
+
78
+ ```bash
79
+ OPENAI_API_KEY=
80
+ ```
81
+
82
+ For other settings, models, and more, check out the [documentation 📕](https://Lumivor-Labs.github.io).
83
+
84
+ ## Examples
85
+
86
+ For examples see the [examples](examples) folder
87
+
88
+ # Contributing
89
+
90
+ Contributions are welcome! Feel free to open issues for bugs or feature requests.
91
+
92
+ ## Local Setup
93
+
94
+ To learn more about the library, check out the [local setup 📕](https://Lumivor-Labs.github.io/development/local-setup).
95
+
96
+ ---
97
+
98
+ <div align="center">
99
+ Made with ❤️ in Zurich and San Francisco
100
+ </div>
@@ -0,0 +1,34 @@
1
+ lumivor/README.md,sha256=3RjEOVHyIBJH9ylODxC07hTjI4usvAO5DJFoqmDKAKE,877
2
+ lumivor/__init__.py,sha256=IWzvgEzzv2hvFHnGtk79P3N2dLZeY0mzh0AVbPOqDP4,794
3
+ lumivor/logging_config.py,sha256=5KFDpnmc6pL6xN7e-5yc0aAVRAcHqBjB-UWuC8g1R-M,4393
4
+ lumivor/utils.py,sha256=FXhdORRJRk3pG1fDMyDxG0ynAFox4tQvyvtVDidt3uw,1474
5
+ lumivor/agent/prompts.py,sha256=9yKkI3R9uGSPayZEAtw1dwWc5On3_MAPZiATH5zBU7s,7900
6
+ lumivor/agent/service.py,sha256=_T1UxwQ4yIG-_AiFQIikNoQ8IK7ipOuFQYKI8ZFRF7E,37866
7
+ lumivor/agent/tests.py,sha256=8c0fSLksEDydtm6zyae11YZnVhPv-mA2nyVkl_SIBjM,6662
8
+ lumivor/agent/views.py,sha256=ZZ9z0d7LWuS3mMf1lJ17LvZx6T8nTte9pvs_y0YvGJg,9436
9
+ lumivor/agent/message_manager/service.py,sha256=ooEZhI1oU_fDLqVuKG1AB4lfTKfvvCECYPMGZHyooss,9776
10
+ lumivor/agent/message_manager/tests.py,sha256=C75VuuDnBdiXQDxLn5-egVrL3JxRDdYWEjyLMR4Q9g8,9041
11
+ lumivor/agent/message_manager/views.py,sha256=nYcEOxtuhh3K7rIypYOb19wssxm1Y7wF3xz6j-YQOwg,1079
12
+ lumivor/browser/browser.py,sha256=mMETh86Nyjht016i6S0vZl_PFNd-chAovnd-7iL80Gs,7623
13
+ lumivor/browser/context.py,sha256=VS7iS6XpWTqCGm4slITg7OdkkNPknJcnBY0Se81MEDU,34302
14
+ lumivor/browser/views.py,sha256=yVyAIZbnTmsluLqPVpRQ_auq25hDcC_ysQ1LuUQ2LbI,1134
15
+ lumivor/browser/tests/screenshot_test.py,sha256=xNt3gSP6OhdgNTXwoYEFHOIj-HoKTZkYY3ra85wkTvM,995
16
+ lumivor/browser/tests/test_clicks.py,sha256=z6exEtpJzlkw0nxwxxU4oMSm-Dlw4zBkAfHv78vEVag,2944
17
+ lumivor/controller/service.py,sha256=LHcxL5uAHbJmxhXRal5bWeZ4m7lSY7hPSp5qePHum88,23508
18
+ lumivor/controller/views.py,sha256=0ggOQbt7ssf7pA-GBBhV3T6x0ZIk9hMGEbSvWYQU_gs,765
19
+ lumivor/controller/registry/service.py,sha256=9Zds0auZgie5dKlNyVU0hDnPrncSdzHd9SMfNg2nZ08,5204
20
+ lumivor/controller/registry/views.py,sha256=Ojxk0_G4KDMnqD0rUTg8OEia_pK5w5WN0EaSsimqgqs,1970
21
+ lumivor/dom/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
+ lumivor/dom/buildDomTree.js,sha256=-_eKYe8nWN39gjtmxdDepPMO6uhIDjLsVjecgE6NGnc,16197
23
+ lumivor/dom/service.py,sha256=DJltO3hrujzLwWQME0m5HUh6pp6_WtUUb2WSGeOfX7I,3157
24
+ lumivor/dom/views.py,sha256=TbzspQC5Ow2UOmKvvKaxKiK1OnxctgrxJ33pZubq4u4,6427
25
+ lumivor/dom/history_tree_processor/service.py,sha256=YEx-_SHG0B3xr8jXZ8gXJThuGyBEZ2TUwRnQyjawMLE,4240
26
+ lumivor/dom/history_tree_processor/view.py,sha256=f-rIJmUKzmxXDCQs9za6Vd0bWqSoQUhigC4GF3r7aAc,698
27
+ lumivor/dom/tests/extraction_test.py,sha256=kuUnJYjgP8G5vgXljzJW8CToBKc_gClZkisip2kHgBs,1468
28
+ lumivor/dom/tests/process_dom_test.py,sha256=x6gDysupxRoIx9pHeHy_zfJMWbuj3aJsfdhNSFYjZDg,1274
29
+ lumivor/telemetry/service.py,sha256=43WF9Dacl7_M9B2WTmktKEVcPXZjUQVlGB8NtQ_q6Fw,3560
30
+ lumivor/telemetry/views.py,sha256=eY5UYQvoedlOOUwpWM9ZtPFTkdo0jwuJ6WX7W6ViDE4,1077
31
+ lumivor-0.1.7.dist-info/METADATA,sha256=WCV-goeaBIENk4wbPxxoX1oFpnvCeIAIOfL1nHj6dP4,2728
32
+ lumivor-0.1.7.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
33
+ lumivor-0.1.7.dist-info/licenses/LICENSE,sha256=emFBQt-oAQCZR-hCg-lHgpZhXTH-x2iCCUjkNCv1nPE,1069
34
+ lumivor-0.1.7.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.27.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Lumivor Labs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.