notify-tls-client 0.1.2__tar.gz → 0.1.4__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 (34) hide show
  1. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/PKG-INFO +1 -3
  2. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/core/client/decorators.py +3 -3
  3. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/core/notifytlsclient.py +2 -1
  4. notify_tls_client-0.1.4/notify_tls_client/tls_client/dependencies/tls-client-x86.so +0 -0
  5. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client.egg-info/PKG-INFO +1 -3
  6. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client.egg-info/SOURCES.txt +2 -2
  7. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/pyproject.toml +1 -1
  8. notify_tls_client-0.1.2/setup.py +0 -14
  9. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/MANIFEST.in +0 -0
  10. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/README.md +0 -0
  11. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/__init__.py +0 -0
  12. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/core/__init__.py +0 -0
  13. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/core/client/__init__.py +0 -0
  14. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/core/proxiesmanager/__init__.py +0 -0
  15. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/core/proxiesmanager/proxiesmanager.py +0 -0
  16. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/core/proxiesmanager/proxiesmanagerloader.py +0 -0
  17. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/__init__.py +0 -0
  18. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/__version__.py +0 -0
  19. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/cffi.py +0 -0
  20. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/cookies.py +0 -0
  21. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/dependencies/__init__.py +0 -0
  22. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/dependencies/tls-client-32.dll +0 -0
  23. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/dependencies/tls-client-64.dll +0 -0
  24. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/dependencies/tls-client-arm64.dylib +0 -0
  25. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/dependencies/tls-client-x86.dylib +0 -0
  26. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/exceptions.py +0 -0
  27. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/response.py +0 -0
  28. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/sessions.py +0 -0
  29. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/settings.py +0 -0
  30. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client/tls_client/structures.py +0 -0
  31. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client.egg-info/dependency_links.txt +0 -0
  32. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client.egg-info/requires.txt +0 -0
  33. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/notify_tls_client.egg-info/top_level.txt +0 -0
  34. {notify_tls_client-0.1.2 → notify_tls_client-0.1.4}/setup.cfg +0 -0
@@ -1,8 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: notify_tls_client
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Sem descrição
5
- Author: Jeferson Albara
6
5
  Author-email: Naruto Uzumaki <naruto_uzumaki@gmail.com>
7
6
  License: MIT
8
7
  Project-URL: Homepage, https://github.com/jefersonAlbara/notify-tls-client
@@ -10,7 +9,6 @@ Requires-Python: >=3.12
10
9
  Description-Content-Type: text/markdown
11
10
  Requires-Dist: dataclasses_json
12
11
  Requires-Dist: typing_extensions
13
- Dynamic: author
14
12
 
15
13
  # MY TLS Client
16
14
  Pacote python privado com modificações na classe 'tls client'
@@ -47,7 +47,7 @@ def handle_exception_requests_decorator(callback):
47
47
  print(traceback.format_exc())
48
48
  self = args[0]
49
49
  self.get_tls().close()
50
- self._create_new_client(self.client_identifier)
50
+ self._create_new_client(self.client_identifier,self.random_tls_extension_order)
51
51
  self.change_proxy()
52
52
 
53
53
  return response
@@ -61,7 +61,7 @@ def handle_forbidden_requests_decorator(callback):
61
61
  if response.status_code == 403 or response.status_code == 429:
62
62
  self = args[0]
63
63
  self.get_tls().close()
64
- self._create_new_client(self.client_identifier)
64
+ self._create_new_client(self.client_identifier,self.random_tls_extension_order)
65
65
 
66
66
  if self.proxies_manager:
67
67
  self.change_proxy()
@@ -80,7 +80,7 @@ def increment_requests_decorator(callback):
80
80
 
81
81
  if self.requests_amount >= self.requests_limit_same_proxy:
82
82
  self.get_tls().close()
83
- self._create_new_client(self.client_identifier)
83
+ self._create_new_client(self.client_identifier,self.random_tls_extension_order)
84
84
  self.change_proxy()
85
85
 
86
86
  return response
@@ -33,8 +33,9 @@ class NotifyTLSClient:
33
33
  self.client_identifier = client_identifier
34
34
  self.proxies_manager = proxies_manager
35
35
  self.requests_limit_same_proxy = requests_limit_same_proxy
36
+ self.random_tls_extension_order = random_tls_extension_order
36
37
  self.current_proxy = None
37
- self._create_new_client(self.client_identifier, random_tls_extension_order)
38
+ self._create_new_client(self.client_identifier, self.random_tls_extension_order)
38
39
  self.change_proxy()
39
40
 
40
41
  def _create_new_client(self, client_identifier: ClientIdentifiers = 'chrome_133', random_tls_extension_order: bool = False):
@@ -1,8 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: notify_tls_client
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Sem descrição
5
- Author: Jeferson Albara
6
5
  Author-email: Naruto Uzumaki <naruto_uzumaki@gmail.com>
7
6
  License: MIT
8
7
  Project-URL: Homepage, https://github.com/jefersonAlbara/notify-tls-client
@@ -10,7 +9,6 @@ Requires-Python: >=3.12
10
9
  Description-Content-Type: text/markdown
11
10
  Requires-Dist: dataclasses_json
12
11
  Requires-Dist: typing_extensions
13
- Dynamic: author
14
12
 
15
13
  # MY TLS Client
16
14
  Pacote python privado com modificações na classe 'tls client'
@@ -1,7 +1,6 @@
1
1
  MANIFEST.in
2
2
  README.md
3
3
  pyproject.toml
4
- setup.py
5
4
  notify_tls_client/__init__.py
6
5
  notify_tls_client.egg-info/PKG-INFO
7
6
  notify_tls_client.egg-info/SOURCES.txt
@@ -28,4 +27,5 @@ notify_tls_client/tls_client/dependencies/__init__.py
28
27
  notify_tls_client/tls_client/dependencies/tls-client-32.dll
29
28
  notify_tls_client/tls_client/dependencies/tls-client-64.dll
30
29
  notify_tls_client/tls_client/dependencies/tls-client-arm64.dylib
31
- notify_tls_client/tls_client/dependencies/tls-client-x86.dylib
30
+ notify_tls_client/tls_client/dependencies/tls-client-x86.dylib
31
+ notify_tls_client/tls_client/dependencies/tls-client-x86.so
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "notify_tls_client"
7
- version = "0.1.2"
7
+ version = "0.1.4"
8
8
  description = "Sem descrição"
9
9
  authors = [
10
10
  { name = "Naruto Uzumaki", email = "naruto_uzumaki@gmail.com" }
@@ -1,14 +0,0 @@
1
- from setuptools import setup, find_packages
2
-
3
- setup(
4
- name='notify_tls_client',
5
- version='0.7',
6
- packages=find_packages(),
7
- install_requires=[
8
- "dataclasses_json",
9
- "typing_extensions"
10
- ],
11
- author='Jeferson Albara',
12
- description='A custom TLS Client',
13
- include_package_data=True
14
- )