notify-tls-client 0.1.3__py3-none-any.whl → 0.1.5__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.
@@ -17,7 +17,19 @@ else:
17
17
  file_ext = '-amd64.so'
18
18
 
19
19
  root_dir = os.path.abspath(os.path.dirname(__file__))
20
- library = ctypes.cdll.LoadLibrary(f'{root_dir}/dependencies/tls-client{file_ext}')
20
+ lib_dir = os.path.join(root_dir, "dependencies")
21
+ lib_path = None
22
+ # Encontre o primeiro arquivo que termina com o file_ext
23
+ for filename in os.listdir(lib_dir):
24
+ if filename.endswith(file_ext):
25
+ lib_path = os.path.join(lib_dir, filename)
26
+ break
27
+
28
+ if not lib_path:
29
+ raise FileNotFoundError(f"No shared library found in {lib_dir} with extension {file_ext}")
30
+
31
+ root_dir = os.path.abspath(os.path.dirname(__file__))
32
+ library = ctypes.cdll.LoadLibrary(lib_path)
21
33
 
22
34
  # extract the exposed request function from the shared package
23
35
  request = library.request
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: notify_tls_client
3
- Version: 0.1.3
3
+ Version: 0.1.5
4
4
  Summary: Sem descrição
5
5
  Author: Jeferson Albara
6
6
  Author-email: Naruto Uzumaki <naruto_uzumaki@gmail.com>
@@ -8,7 +8,7 @@ notify_tls_client/core/proxiesmanager/proxiesmanager.py,sha256=5bVO9a6J_72W61t1g
8
8
  notify_tls_client/core/proxiesmanager/proxiesmanagerloader.py,sha256=4KMGGRGLl1_pZMH3kEY4sTnyMQi6J4luB_Vr6ekV1nI,1146
9
9
  notify_tls_client/tls_client/__init__.py,sha256=ORP-QdcnLxOEs42G3yPr6txUxryz7jUOA_AtHMafpf8,655
10
10
  notify_tls_client/tls_client/__version__.py,sha256=EWf5bTOobWzd-Lq4tqaGYEt22CR2D2Hs_sLbZoJNPXk,385
11
- notify_tls_client/tls_client/cffi.py,sha256=RPuw_n-18YP__umggHbv4i4XcEa8ge-spGmt40Yf4sQ,995
11
+ notify_tls_client/tls_client/cffi.py,sha256=znDcM9xosXClYjTCYVO1Ug79Qzti98iCJJFB64XBkeQ,1384
12
12
  notify_tls_client/tls_client/cookies.py,sha256=5ujSFL6V8bDMCH8Mow6qoj5dP5GjfMJTd8_jWottvpM,15153
13
13
  notify_tls_client/tls_client/exceptions.py,sha256=edxP4P0NVOK-1r0zNRAMt4yh97LArXz8i6SU9oTSYQY,78
14
14
  notify_tls_client/tls_client/response.py,sha256=I0yjEfmrKH89rqRUr7W5hxTkqNpULzs0YXEFCJ91qv8,2377
@@ -16,11 +16,10 @@ notify_tls_client/tls_client/sessions.py,sha256=b0LRB25h-ZJtPjUOyjgPqGXA4cfJCqSH
16
16
  notify_tls_client/tls_client/settings.py,sha256=UtXvvkhBrrM41OyQtikYh1KBms42FIKQIxzKRJWaWGA,1416
17
17
  notify_tls_client/tls_client/structures.py,sha256=zb1wflxxWoKFqe8NMT2qEvIh7RA-kN459ZcNhW8p_Uo,2443
18
18
  notify_tls_client/tls_client/dependencies/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
- notify_tls_client/tls_client/dependencies/tls-client-32.dll,sha256=RYiPCa-Df2FRn1E5A-hqFs-vgkKNq-HyI5BrBZjgj7Q,16512055
20
- notify_tls_client/tls_client/dependencies/tls-client-64.dll,sha256=PrrMQBFW8YdP9g0QKMO1TtlSNVM_37f2LDU0Ilc277Y,19629791
21
- notify_tls_client/tls_client/dependencies/tls-client-arm64.dylib,sha256=9aKdKT0X97KOrXIyi2ilnGDpyi1iIBE8QFaWqxHf8to,10778130
22
- notify_tls_client/tls_client/dependencies/tls-client-x86.dylib,sha256=dEzNbwEuzbc_CWkBW3NyqhBOQY4IJJSMUT_2h5z8LBk,11687888
23
- notify_tls_client-0.1.3.dist-info/METADATA,sha256=Uf4TrtI1F0uddSSetoQuvmVTHzajgK4Rc-Uxjsriijo,480
24
- notify_tls_client-0.1.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
25
- notify_tls_client-0.1.3.dist-info/top_level.txt,sha256=fq9YA0cFdpCuUO7cdMFN7oxm1zDfZm_m1KPXehUqA5o,18
26
- notify_tls_client-0.1.3.dist-info/RECORD,,
19
+ notify_tls_client/tls_client/dependencies/tls-client-windows-1.11.0-64.dll,sha256=mEOLbVw06uWPqdh4WLsu4R-U1DjUENHFiM6wyz1nSTY,25889369
20
+ notify_tls_client/tls_client/dependencies/tls-client-xgo-1.11.0-darwin-arm64.dylib,sha256=MAsdrzWjuvZ-VcMaDph_-obpukI_3GR-6jBuKudOq68,10664722
21
+ notify_tls_client/tls_client/dependencies/tls-client-xgo-1.11.0-linux-amd64.so,sha256=iLTVk_yA061dZP9GRlF51cD1KKC3_IZc1oMCFd1WPyI,15935104
22
+ notify_tls_client-0.1.5.dist-info/METADATA,sha256=cf-1lSj-vdC7C-Fcv7vjSfqqTrIu6YX0yNZ-FM7Q3bE,480
23
+ notify_tls_client-0.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
+ notify_tls_client-0.1.5.dist-info/top_level.txt,sha256=fq9YA0cFdpCuUO7cdMFN7oxm1zDfZm_m1KPXehUqA5o,18
25
+ notify_tls_client-0.1.5.dist-info/RECORD,,