ScreenX 0.0.1__py3-none-any.whl → 0.0.3__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.
- ScreenX/__init__.py +11 -0
- ScreenX/_dividentifiers.py +18 -0
- ScreenX/bots.py +33 -0
- ScreenX-0.0.3.dist-info/METADATA +32 -0
- ScreenX-0.0.3.dist-info/RECORD +8 -0
- {screenx-0.0.1.dist-info → ScreenX-0.0.3.dist-info}/WHEEL +1 -1
- ScreenX-0.0.3.dist-info/top_level.txt +1 -0
- screenx-0.0.1.dist-info/METADATA +0 -123
- screenx-0.0.1.dist-info/RECORD +0 -5
- screenx-0.0.1.dist-info/top_level.txt +0 -1
- {screenx-0.0.1.dist-info → ScreenX-0.0.3.dist-info}/LICENSE.txt +0 -0
ScreenX/__init__.py
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
import time
|
2
|
+
import requests as rs
|
3
|
+
|
4
|
+
def extract_elements(Main_header, webcontent):
|
5
|
+
scanner = "https://screenx-api.onrender.com/secure"
|
6
|
+
headers = {"Header": Main_header}
|
7
|
+
rst = rs.get(scanner, headers=headers)
|
8
|
+
return rst
|
9
|
+
|
10
|
+
def implicit():
|
11
|
+
time.sleep(3)
|
12
|
+
return None
|
13
|
+
|
14
|
+
def explicit():
|
15
|
+
time.sleep(30)
|
16
|
+
return None
|
17
|
+
|
18
|
+
|
ScreenX/bots.py
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
import requests
|
2
|
+
from ._dividentifiers import extract_elements
|
3
|
+
|
4
|
+
|
5
|
+
def div_identifier(header,content):
|
6
|
+
try:
|
7
|
+
element = extract_elements(Main_header = header, webcontent=content).json()['webpage_elements']
|
8
|
+
return element
|
9
|
+
except Exception as e:
|
10
|
+
print(f"Error: {e}")
|
11
|
+
return None
|
12
|
+
|
13
|
+
##################### Old packages ############################
|
14
|
+
def Romulus(header, html):
|
15
|
+
if html is None:
|
16
|
+
element_name = extract_elements(Main_header = header, webcontent=html).json()['webpage_elements']
|
17
|
+
return element_name['div5']
|
18
|
+
else:
|
19
|
+
raise ValueError("Invalid HTML content")
|
20
|
+
|
21
|
+
def Marcius(header, webelements):
|
22
|
+
if webelement is None:
|
23
|
+
element_name = extract_elements(Main_header = header, webcontent=webelements).json()['webpage_elements']
|
24
|
+
return element_name['div6']
|
25
|
+
else:
|
26
|
+
raise ValueError("Invalid HTML content")
|
27
|
+
|
28
|
+
def navigator(header, elements):
|
29
|
+
if html is None:
|
30
|
+
element_name = extract_elements(Main_header = header, webcontent=elements).json()['webpage_elements']
|
31
|
+
return element_name['div7']
|
32
|
+
else:
|
33
|
+
raise ValueError("Invalid HTML content")
|
@@ -0,0 +1,32 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: ScreenX
|
3
|
+
Version: 0.0.3
|
4
|
+
Summary: The Ultimate AI-Powered Web Automation & Scraping Bot
|
5
|
+
Home-page: UNKNOWN
|
6
|
+
Author: David C
|
7
|
+
Author-email: structureddatadrive@gmail.com
|
8
|
+
License: MIT
|
9
|
+
Platform: UNKNOWN
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
12
|
+
Classifier: Operating System :: OS Independent
|
13
|
+
Requires-Python: >=3.6
|
14
|
+
Description-Content-Type: text/markdown
|
15
|
+
License-File: LICENSE.txt
|
16
|
+
Requires-Dist: selenium >=4.24.0
|
17
|
+
Requires-Dist: pandas >=2.2.2
|
18
|
+
Provides-Extra: dev
|
19
|
+
Requires-Dist: pytest >=7.0 ; extra == 'dev'
|
20
|
+
Requires-Dist: twine >=4.0.2 ; extra == 'dev'
|
21
|
+
|
22
|
+
ScreenX3 - The Ultimate AI-Powered Web Automation & Scraping Bot
|
23
|
+
Overview
|
24
|
+
|
25
|
+
ScreenX3 is a powerful and flexible Python package designed for seamless web automation, intelligent navigation, and efficient web scraping. Whether you need to automate form submissions, interact with dynamic web pages, or extract valuable data from websites, ScreenX3 makes it effortless.
|
26
|
+
|
27
|
+
With built-in support for Selenium and BeautifulSoup, ScreenX3 can mimic human-like browsing behavior, handle user inputs, click buttons, fill forms, and navigate multiple pages with ease. It also includes smart delay mechanisms to avoid detection and bypass anti-bot measures.
|
28
|
+
|
29
|
+
Key features include headless browsing, session persistence, CAPTCHA handling support, and multi-threaded scraping for high-speed data extraction. The package is easy to integrate with AI-based decision-making models, making it ideal for automated research, price tracking, social media interactions, and much more.
|
30
|
+
|
31
|
+
ScreenX3 is the perfect companion for developers, researchers, and businesses looking to streamline their web automation tasks without writing complex scripts from scratch
|
32
|
+
|
@@ -0,0 +1,8 @@
|
|
1
|
+
ScreenX/__init__.py,sha256=FMBsKoeCpAw9_5kJ1TZXT7G2fV1Mv6X-oZkBXiS7YoE,156
|
2
|
+
ScreenX/_dividentifiers.py,sha256=AgCLFBRKQtaem_ZZXJW8_406pIm3niIwQofSPNfHO5Q,345
|
3
|
+
ScreenX/bots.py,sha256=IfiS68Fevkd6YPiGnF7SNOqwVbbA3_HtuBa5eTtCzKg,1159
|
4
|
+
ScreenX-0.0.3.dist-info/LICENSE.txt,sha256=jvPz4O2f9EcFbKHop6kD-f8A8CfH3cDJLKit9j71Y9w,1070
|
5
|
+
ScreenX-0.0.3.dist-info/METADATA,sha256=Q-uNXxkLyRBcYDvmvZbXMLIPXg6-PAdRQE9bd5elXPU,1802
|
6
|
+
ScreenX-0.0.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
7
|
+
ScreenX-0.0.3.dist-info/top_level.txt,sha256=n9HfC8NxB6BHH-CELA7RqGcu_oV-oeA2QovG6ofGqQk,8
|
8
|
+
ScreenX-0.0.3.dist-info/RECORD,,
|
@@ -0,0 +1 @@
|
|
1
|
+
ScreenX
|
screenx-0.0.1.dist-info/METADATA
DELETED
@@ -1,123 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.2
|
2
|
-
Name: ScreenX
|
3
|
-
Version: 0.0.1
|
4
|
-
Summary: The Ultimate AI-Powered Web Automation & Scraping Bot
|
5
|
-
Author: Hitarth B
|
6
|
-
Author-email: structureddatadrive@gmail.com
|
7
|
-
License: MIT
|
8
|
-
Classifier: License :: OSI Approved :: MIT License
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
10
|
-
Classifier: Operating System :: OS Independent
|
11
|
-
Requires-Python: >=3.6
|
12
|
-
Description-Content-Type: text/markdown
|
13
|
-
License-File: LICENSE.txt
|
14
|
-
Requires-Dist: selenium>=4.24.0
|
15
|
-
Requires-Dist: pandas>=2.2.2
|
16
|
-
Provides-Extra: dev
|
17
|
-
Requires-Dist: pytest>=7.0; extra == "dev"
|
18
|
-
Requires-Dist: twine>=4.0.2; extra == "dev"
|
19
|
-
Dynamic: author
|
20
|
-
Dynamic: author-email
|
21
|
-
Dynamic: classifier
|
22
|
-
Dynamic: description
|
23
|
-
Dynamic: description-content-type
|
24
|
-
Dynamic: license
|
25
|
-
Dynamic: provides-extra
|
26
|
-
Dynamic: requires-dist
|
27
|
-
Dynamic: requires-python
|
28
|
-
Dynamic: summary
|
29
|
-
|
30
|
-
ScreenX - The Ultimate AI-Powered Web Automation & Scraping Bot
|
31
|
-
|
32
|
-
🚀 Overview
|
33
|
-
|
34
|
-
ScreenX is a powerful Python package designed for intelligent web automation, seamless navigation, and high-speed web scraping. It enables users to interact with websites just like a human—click buttons, fill forms, scrape data, handle pop-ups, and more. Whether you're automating repetitive tasks, extracting insights, or interacting with dynamic content, ScreenX simplifies the process.
|
35
|
-
|
36
|
-
🔥 Key Features
|
37
|
-
|
38
|
-
✅ Automated Web Navigation – Browse, click, fill forms, and interact dynamically.✅ Advanced Web Scraping – Extract real-time data from static & dynamic pages.✅ AI-Powered Decision Making – Perform actions based on extracted information.✅ Headless Browsing – Run automation without opening a visible browser.✅ Anti-Bot Detection Evasion – Mimic human-like behavior & bypass restrictions.✅ CAPTCHA Handling – Supports integration with third-party solvers.✅ Multi-Threaded Execution – Boost efficiency with parallel scraping.✅ Easy-to-Use API – Simple and intuitive function calls for quick deployment.
|
39
|
-
|
40
|
-
📦 Installation
|
41
|
-
|
42
|
-
ScreenX requires Python 3.6+. Install it using:
|
43
|
-
|
44
|
-
pip install ScreenX
|
45
|
-
|
46
|
-
Additional Dependencies:
|
47
|
-
|
48
|
-
To unlock full capabilities, install:
|
49
|
-
|
50
|
-
pip install selenium beautifulsoup4 requests lxml
|
51
|
-
|
52
|
-
⚡ Quick Start
|
53
|
-
|
54
|
-
Here's a simple example of using ScreenX to navigate a website and scrape data:
|
55
|
-
|
56
|
-
from ScreenX import ScreenX
|
57
|
-
|
58
|
-
bot = ScreenX(headless=True)
|
59
|
-
bot.open("https://example.com")
|
60
|
-
bot.click("Login")
|
61
|
-
bot.fill("username", "your_username")
|
62
|
-
bot.fill("password", "your_password")
|
63
|
-
bot.submit()
|
64
|
-
|
65
|
-
data = bot.scrape(".product-list")
|
66
|
-
print(data)
|
67
|
-
|
68
|
-
bot.close()
|
69
|
-
|
70
|
-
🛠️ Usage Examples
|
71
|
-
|
72
|
-
1️⃣ Web Navigation
|
73
|
-
|
74
|
-
bot = ScreenX()
|
75
|
-
bot.open("https://example.com/products")
|
76
|
-
product_names = bot.scrape(".product-title")
|
77
|
-
print(product_names)
|
78
|
-
bot.close()
|
79
|
-
|
80
|
-
2️⃣ Automating Form Submission
|
81
|
-
|
82
|
-
bot = ScreenX()
|
83
|
-
bot.open("https://example.com/contact")
|
84
|
-
bot.fill("#name", "John Doe")
|
85
|
-
bot.fill("#email", "john@example.com")
|
86
|
-
bot.fill("#message", "Hello, this is an automated message.")
|
87
|
-
bot.submit("#submit-btn")
|
88
|
-
bot.close()
|
89
|
-
|
90
|
-
3️⃣ Handling Dynamic Content
|
91
|
-
|
92
|
-
bot = ScreenX()
|
93
|
-
bot.open("https://example.com")
|
94
|
-
bot.wait_for_element("#dynamic-content")
|
95
|
-
data = bot.scrape("#dynamic-content")
|
96
|
-
print(data)
|
97
|
-
bot.close()
|
98
|
-
|
99
|
-
🌍 Use Cases
|
100
|
-
|
101
|
-
Automate repetitive web tasks (e.g., login, form filling, booking)
|
102
|
-
|
103
|
-
Extract real-time market data (e.g., stock prices, product listings)
|
104
|
-
|
105
|
-
Monitor e-commerce websites (e.g., price tracking, product availability)
|
106
|
-
|
107
|
-
Automate social media interactions (e.g., liking, following, commenting)
|
108
|
-
|
109
|
-
Competitor Analysis & SEO Tracking
|
110
|
-
|
111
|
-
🤝 Contributions
|
112
|
-
|
113
|
-
We welcome contributions! Feel free to submit issues, feature requests, or pull requests via GitHub.
|
114
|
-
|
115
|
-
📜 License
|
116
|
-
|
117
|
-
ScreenX is licensed under the MIT License.
|
118
|
-
|
119
|
-
📧 Contact
|
120
|
-
|
121
|
-
For any queries or support, reach out via your-email@example.com or open an issue on GitHub.
|
122
|
-
|
123
|
-
🚀 Automate, Scrape, and Navigate the Web Like a Pro with We
|
screenx-0.0.1.dist-info/RECORD
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
screenx-0.0.1.dist-info/LICENSE.txt,sha256=jvPz4O2f9EcFbKHop6kD-f8A8CfH3cDJLKit9j71Y9w,1070
|
2
|
-
screenx-0.0.1.dist-info/METADATA,sha256=-bfrshzHhB9UrooJFdFfWWkirmulAazbgAUxouP2dw8,3819
|
3
|
-
screenx-0.0.1.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
|
4
|
-
screenx-0.0.1.dist-info/top_level.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
5
|
-
screenx-0.0.1.dist-info/RECORD,,
|
@@ -1 +0,0 @@
|
|
1
|
-
|
File without changes
|