UAForge 1.1.0__tar.gz → 1.1.2__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.
- {uaforge-1.1.0 → uaforge-1.1.2}/PKG-INFO +21 -7
- {uaforge-1.1.0 → uaforge-1.1.2}/README.md +8 -2
- {uaforge-1.1.0 → uaforge-1.1.2}/UAForge.egg-info/PKG-INFO +21 -7
- {uaforge-1.1.0 → uaforge-1.1.2}/setup.py +12 -5
- {uaforge-1.1.0 → uaforge-1.1.2}/uaforge/__init__.py +1 -1
- {uaforge-1.1.0 → uaforge-1.1.2}/uaforge/cli.py +2 -2
- {uaforge-1.1.0 → uaforge-1.1.2}/uaforge/core/__init__.py +1 -1
- {uaforge-1.1.0 → uaforge-1.1.2}/uaforge/core/user_agent.py +3 -3
- {uaforge-1.1.0 → uaforge-1.1.2}/LICENSE +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/UAForge.egg-info/SOURCES.txt +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/UAForge.egg-info/dependency_links.txt +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/UAForge.egg-info/entry_points.txt +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/UAForge.egg-info/requires.txt +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/UAForge.egg-info/top_level.txt +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/pyproject.toml +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/setup.cfg +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/uaforge/core/database.py +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/uaforge/core/version_fetcher.py +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/uaforge/core/version_updater.py +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/uaforge/data/useragent.db +0 -0
- {uaforge-1.1.0 → uaforge-1.1.2}/uaforge/utils.py +0 -0
|
@@ -1,20 +1,27 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: UAForge
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: A powerful Python library and CLI tool for generating realistic, random user agent strings for Chrome, Firefox, and Opera browsers across multiple platforms.
|
|
5
5
|
Home-page: https://github.com/bolgac/UAForge
|
|
6
6
|
Author: bolgac
|
|
7
7
|
Author-email: bytearchsoft@gmail.com
|
|
8
|
-
|
|
8
|
+
Project-URL: Bug Tracker, https://github.com/bolgac/UAForge/issues
|
|
9
|
+
Project-URL: Documentation, https://github.com/bolgac/UAForge#readme
|
|
10
|
+
Project-URL: Source Code, https://github.com/bolgac/UAForge
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
9
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Intended Audience :: Information Technology
|
|
10
14
|
Classifier: Topic :: Software Development :: Testing
|
|
15
|
+
Classifier: Topic :: Utilities
|
|
16
|
+
Classifier: Environment :: Console
|
|
11
17
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
15
18
|
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
22
|
Classifier: License :: OSI Approved :: MIT License
|
|
17
23
|
Classifier: Operating System :: OS Independent
|
|
24
|
+
Classifier: Natural Language :: English
|
|
18
25
|
Requires-Python: >=3.6
|
|
19
26
|
Description-Content-Type: text/markdown
|
|
20
27
|
License-File: LICENSE
|
|
@@ -28,10 +35,17 @@ Dynamic: description
|
|
|
28
35
|
Dynamic: description-content-type
|
|
29
36
|
Dynamic: home-page
|
|
30
37
|
Dynamic: license-file
|
|
38
|
+
Dynamic: project-url
|
|
31
39
|
Dynamic: requires-dist
|
|
32
40
|
Dynamic: requires-python
|
|
33
41
|
Dynamic: summary
|
|
34
42
|
|
|
43
|
+
[](https://pypi.org/project/UAForge/)
|
|
44
|
+
[](https://www.python.org/downloads/)
|
|
45
|
+
[](https://github.com/bolgac/UAForge/blob/main/LICENSE)
|
|
46
|
+

|
|
47
|
+
---
|
|
48
|
+
|
|
35
49
|
# UAForge - UserAgent Generator
|
|
36
50
|
|
|
37
51
|
A powerful Python library and CLI tool for generating realistic, random user agent strings for Chrome, Firefox, and Opera browsers across multiple platforms.
|
|
@@ -259,7 +273,7 @@ We welcome contributions of all kinds:
|
|
|
259
273
|
|
|
260
274
|
---
|
|
261
275
|
|
|
262
|
-
##
|
|
276
|
+
## Contact
|
|
263
277
|
|
|
264
278
|
- GitHub Issues – for bugs and feedback
|
|
265
279
|
- Email – `bytearchsoft@gmail.com` (for business inquiries or sponsorships)
|
|
@@ -267,7 +281,7 @@ We welcome contributions of all kinds:
|
|
|
267
281
|
---
|
|
268
282
|
|
|
269
283
|
## License
|
|
270
|
-
This project is licensed under the **MIT License** — see the [LICENSE](LICENSE) file for details.
|
|
284
|
+
This project is licensed under the **MIT License** — see the [LICENSE](https://github.com/bolgac/UAForge/blob/main/LICENSE) file for details.
|
|
271
285
|
|
|
272
286
|
---
|
|
273
287
|
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
[](https://pypi.org/project/UAForge/)
|
|
2
|
+
[](https://www.python.org/downloads/)
|
|
3
|
+
[](https://github.com/bolgac/UAForge/blob/main/LICENSE)
|
|
4
|
+

|
|
5
|
+
---
|
|
6
|
+
|
|
1
7
|
# UAForge - UserAgent Generator
|
|
2
8
|
|
|
3
9
|
A powerful Python library and CLI tool for generating realistic, random user agent strings for Chrome, Firefox, and Opera browsers across multiple platforms.
|
|
@@ -225,7 +231,7 @@ We welcome contributions of all kinds:
|
|
|
225
231
|
|
|
226
232
|
---
|
|
227
233
|
|
|
228
|
-
##
|
|
234
|
+
## Contact
|
|
229
235
|
|
|
230
236
|
- GitHub Issues – for bugs and feedback
|
|
231
237
|
- Email – `bytearchsoft@gmail.com` (for business inquiries or sponsorships)
|
|
@@ -233,7 +239,7 @@ We welcome contributions of all kinds:
|
|
|
233
239
|
---
|
|
234
240
|
|
|
235
241
|
## License
|
|
236
|
-
This project is licensed under the **MIT License** — see the [LICENSE](LICENSE) file for details.
|
|
242
|
+
This project is licensed under the **MIT License** — see the [LICENSE](https://github.com/bolgac/UAForge/blob/main/LICENSE) file for details.
|
|
237
243
|
|
|
238
244
|
---
|
|
239
245
|
|
|
@@ -1,20 +1,27 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: UAForge
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.2
|
|
4
4
|
Summary: A powerful Python library and CLI tool for generating realistic, random user agent strings for Chrome, Firefox, and Opera browsers across multiple platforms.
|
|
5
5
|
Home-page: https://github.com/bolgac/UAForge
|
|
6
6
|
Author: bolgac
|
|
7
7
|
Author-email: bytearchsoft@gmail.com
|
|
8
|
-
|
|
8
|
+
Project-URL: Bug Tracker, https://github.com/bolgac/UAForge/issues
|
|
9
|
+
Project-URL: Documentation, https://github.com/bolgac/UAForge#readme
|
|
10
|
+
Project-URL: Source Code, https://github.com/bolgac/UAForge
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
9
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Intended Audience :: Information Technology
|
|
10
14
|
Classifier: Topic :: Software Development :: Testing
|
|
15
|
+
Classifier: Topic :: Utilities
|
|
16
|
+
Classifier: Environment :: Console
|
|
11
17
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
13
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
14
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
15
18
|
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
16
22
|
Classifier: License :: OSI Approved :: MIT License
|
|
17
23
|
Classifier: Operating System :: OS Independent
|
|
24
|
+
Classifier: Natural Language :: English
|
|
18
25
|
Requires-Python: >=3.6
|
|
19
26
|
Description-Content-Type: text/markdown
|
|
20
27
|
License-File: LICENSE
|
|
@@ -28,10 +35,17 @@ Dynamic: description
|
|
|
28
35
|
Dynamic: description-content-type
|
|
29
36
|
Dynamic: home-page
|
|
30
37
|
Dynamic: license-file
|
|
38
|
+
Dynamic: project-url
|
|
31
39
|
Dynamic: requires-dist
|
|
32
40
|
Dynamic: requires-python
|
|
33
41
|
Dynamic: summary
|
|
34
42
|
|
|
43
|
+
[](https://pypi.org/project/UAForge/)
|
|
44
|
+
[](https://www.python.org/downloads/)
|
|
45
|
+
[](https://github.com/bolgac/UAForge/blob/main/LICENSE)
|
|
46
|
+

|
|
47
|
+
---
|
|
48
|
+
|
|
35
49
|
# UAForge - UserAgent Generator
|
|
36
50
|
|
|
37
51
|
A powerful Python library and CLI tool for generating realistic, random user agent strings for Chrome, Firefox, and Opera browsers across multiple platforms.
|
|
@@ -259,7 +273,7 @@ We welcome contributions of all kinds:
|
|
|
259
273
|
|
|
260
274
|
---
|
|
261
275
|
|
|
262
|
-
##
|
|
276
|
+
## Contact
|
|
263
277
|
|
|
264
278
|
- GitHub Issues – for bugs and feedback
|
|
265
279
|
- Email – `bytearchsoft@gmail.com` (for business inquiries or sponsorships)
|
|
@@ -267,7 +281,7 @@ We welcome contributions of all kinds:
|
|
|
267
281
|
---
|
|
268
282
|
|
|
269
283
|
## License
|
|
270
|
-
This project is licensed under the **MIT License** — see the [LICENSE](LICENSE) file for details.
|
|
284
|
+
This project is licensed under the **MIT License** — see the [LICENSE](https://github.com/bolgac/UAForge/blob/main/LICENSE) file for details.
|
|
271
285
|
|
|
272
286
|
---
|
|
273
287
|
|
|
@@ -5,25 +5,32 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
5
5
|
|
|
6
6
|
setup(
|
|
7
7
|
name="UAForge",
|
|
8
|
-
version="1.1.
|
|
8
|
+
version="1.1.2",
|
|
9
9
|
author="bolgac",
|
|
10
10
|
author_email="bytearchsoft@gmail.com",
|
|
11
11
|
description="A powerful Python library and CLI tool for generating realistic, random user agent strings for Chrome, Firefox, and Opera browsers across multiple platforms.",
|
|
12
12
|
long_description=long_description,
|
|
13
13
|
long_description_content_type="text/markdown",
|
|
14
14
|
url="https://github.com/bolgac/UAForge",
|
|
15
|
+
project_urls={ "Bug Tracker": "https://github.com/bolgac/UAForge/issues",
|
|
16
|
+
"Documentation": "https://github.com/bolgac/UAForge#readme",
|
|
17
|
+
"Source Code": "https://github.com/bolgac/UAForge"},
|
|
15
18
|
packages=find_packages(),
|
|
16
19
|
classifiers=[
|
|
17
|
-
"Development Status ::
|
|
20
|
+
"Development Status :: 5 - Production/Stable",
|
|
18
21
|
"Intended Audience :: Developers",
|
|
22
|
+
"Intended Audience :: Information Technology",
|
|
19
23
|
"Topic :: Software Development :: Testing",
|
|
24
|
+
"Topic :: Utilities",
|
|
25
|
+
"Environment :: Console",
|
|
20
26
|
"Programming Language :: Python :: 3",
|
|
21
|
-
"Programming Language :: Python :: 3.6",
|
|
22
|
-
"Programming Language :: Python :: 3.7",
|
|
23
|
-
"Programming Language :: Python :: 3.8",
|
|
24
27
|
"Programming Language :: Python :: 3.9",
|
|
28
|
+
"Programming Language :: Python :: 3.10",
|
|
29
|
+
"Programming Language :: Python :: 3.11",
|
|
30
|
+
"Programming Language :: Python :: 3.12",
|
|
25
31
|
"License :: OSI Approved :: MIT License",
|
|
26
32
|
"Operating System :: OS Independent",
|
|
33
|
+
"Natural Language :: English",
|
|
27
34
|
],
|
|
28
35
|
python_requires=">=3.6",
|
|
29
36
|
install_requires=[
|
|
@@ -88,8 +88,8 @@ Examples:
|
|
|
88
88
|
from .utils import save_useragents_to_file
|
|
89
89
|
|
|
90
90
|
if os.path.exists(args.output):
|
|
91
|
-
overwrite = input(f"The {args.output} file already exists. Should it be overwritten? (yes/no)")
|
|
92
|
-
if overwrite.lower() != '
|
|
91
|
+
overwrite = input(f"The {args.output} file already exists. Should it be overwritten? (yes/no) : ")
|
|
92
|
+
if overwrite.lower() != 'y' and overwrite.lower() != 'yes':
|
|
93
93
|
print("The transaction has been cancelled.")
|
|
94
94
|
return
|
|
95
95
|
|
|
@@ -2,5 +2,5 @@ from ..core.user_agent import UserAgentGenerator
|
|
|
2
2
|
from ..core.database import Database
|
|
3
3
|
from ..core.version_fetcher import VersionFetcher
|
|
4
4
|
|
|
5
|
-
__version__ = "1.
|
|
5
|
+
__version__ = "1.1.2"
|
|
6
6
|
__all__ = ['UserAgentGenerator', 'Database', 'VersionFetcher', 'generate_user_agent', 'generate_multiple']
|
|
@@ -86,7 +86,7 @@ class UserAgentGenerator:
|
|
|
86
86
|
else:
|
|
87
87
|
raise ValueError(f"Desteklenmeyen tarayıcı tipi: {browser_type}")
|
|
88
88
|
|
|
89
|
-
def _create_chrome_agent(self, system_select: str, type_select: str) -> str:
|
|
89
|
+
def _create_chrome_agent(self, select_key: str, system_select: str, type_select: str) -> str:
|
|
90
90
|
"""
|
|
91
91
|
Generates a Chrome-based User-Agent string based on the provided system and type selections.
|
|
92
92
|
Args:
|
|
@@ -113,7 +113,7 @@ class UserAgentGenerator:
|
|
|
113
113
|
CHROME_VERS_SELECT = random.choice(self.CHROME_VERS)
|
|
114
114
|
return f"{Moz}/{Mozilla_vers} ({system_select}; {type_select}) AppleWebKit/537.36 (KHTML, like Gecko) {CHROME_VERS_SELECT} Safari/537.36"
|
|
115
115
|
|
|
116
|
-
def _create_firefox_agent(self, system_select: str, type_select: str) -> str:
|
|
116
|
+
def _create_firefox_agent(self, select_key: str, system_select: str, type_select: str) -> str:
|
|
117
117
|
"""
|
|
118
118
|
Generates a Firefox user agent string based on the provided system and type selections.
|
|
119
119
|
Args:
|
|
@@ -141,7 +141,7 @@ class UserAgentGenerator:
|
|
|
141
141
|
FIREFOX_VERS_SELECT = random.choice(self.FIREFOX_VERS)
|
|
142
142
|
return f"{Moz}/{Mozilla_vers} ({system_select}; {type_select}; rv:109.0) Gecko/20100101 {FIREFOX_VERS_SELECT}"
|
|
143
143
|
|
|
144
|
-
def _create_opera_agent(self, system_select: str, type_select: str) -> str:
|
|
144
|
+
def _create_opera_agent(self,select_key: str, system_select: str, type_select: str) -> str:
|
|
145
145
|
"""
|
|
146
146
|
Generates an Opera browser User-Agent string based on the provided system and type selections.
|
|
147
147
|
Args:
|
|
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
|