mttf 1.0.2__py3-none-any.whl → 1.0.4__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.

Potentially problematic release.


This version of mttf might be problematic. Click here for more details.

mt/tf/version.py CHANGED
@@ -1,5 +1,5 @@
1
1
  MAJOR_VERSION = 1
2
2
  MINOR_VERSION = 0
3
- PATCH_VERSION = 2
3
+ PATCH_VERSION = 4
4
4
  version = '{}.{}.{}'.format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION)
5
5
  __all__ = ['MAJOR_VERSION', 'MINOR_VERSION', 'PATCH_VERSION', 'version']
@@ -8,6 +8,11 @@ import sshtunnel
8
8
  from mt import net, logg
9
9
 
10
10
 
11
+ def execute(argv):
12
+ res = subprocess.run(argv[1:], shell=False, check=False)
13
+ sys.exit(res.returncode)
14
+
15
+
11
16
  async def main():
12
17
  argv = sys.argv
13
18
  logg.logger.setLevel(logg.INFO)
@@ -18,7 +23,7 @@ async def main():
18
23
  sys.exit(0)
19
24
 
20
25
  if net.is_port_open("localhost", 5443, timeout=0.1):
21
- raise RuntimeError("Local port 5443 already in use.")
26
+ execute(argv)
22
27
 
23
28
  l_endpoints = [
24
29
  ("192.168.110.4", 443),
@@ -44,8 +49,7 @@ async def main():
44
49
  remote_bind_address=("192.168.110.4", 443),
45
50
  local_bind_address=("0.0.0.0", 5443),
46
51
  ) as tun:
47
- res = subprocess.run(argv[1:], shell=False, check=False)
48
- sys.exit(res.returncode)
52
+ execute(argv)
49
53
 
50
54
 
51
55
  if __name__ == "__main__":
@@ -1,12 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mttf
3
- Version: 1.0.2
3
+ Version: 1.0.4
4
4
  Summary: A package to detect and monkey-patch TensorFlow, for Minh-Tri Pham
5
5
  Home-page: https://github.com/inteplus/mttf
6
6
  Author: ['Minh-Tri Pham']
7
7
  Project-URL: Documentation, https://mtdoc.readthedocs.io/en/latest/mt.tf/mt.tf.html
8
8
  Project-URL: Source Code, https://github.com/inteplus/mttf
9
9
  License-File: LICENSE
10
- Requires-Dist: mtbase >=4.26
11
- Requires-Dist: mtnet >=0.2
12
-
10
+ Requires-Dist: mtbase>=4.26
11
+ Requires-Dist: mtnet>=0.2
@@ -2,9 +2,8 @@ mt/tf/__init__.py,sha256=M8xiJNdrAUJZgiZTOQOdfkehjO-CYzGpoxh5HVGBkms,338
2
2
  mt/tf/init.py,sha256=Hbp0-daCDTUEkQiDwNpbv2qqP7tr9qCyBFUafMklkos,1298
3
3
  mt/tf/mttf_version.py,sha256=ha53i-H9pE-crufFttUECgXHwPvam07zMKzApUts1Gs,206
4
4
  mt/tf/utils.py,sha256=Copl5VM0PpuFUchK-AcBuGO6QitDwHcEs4FruZb2GAI,2460
5
- mt/tf/version.py,sha256=z-zF0mdYi-S_vQUJoPczwmfjHt18IBRrVscUej7TVWs,206
5
+ mt/tf/version.py,sha256=8CMQ2tw94q0DREqCU8gtqHPAhZt237Q9eHCYVz0FoLU,206
6
6
  mt/tf/keras_applications/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- mt/tf/keras_applications/efficientnet_v2.py,sha256=DYXP567HNUp2SO0_pXUfzO9-WqlTiGmXApAawkKaetc,39204
8
7
  mt/tf/keras_applications/mobilenet_v3_split.py,sha256=GDEBHo-blR1Q3N8R89USZ8zDP0nq_oLzPNAnoIgkzgo,19305
9
8
  mt/tf/keras_applications/mobilevit.py,sha256=FR1eMN4xg-yZ8Orr4ALOYmzCmkoBu7cVgTaK5sc4gsc,9806
10
9
  mt/tf/keras_layers/__init__.py,sha256=fSfhKmDz4mIHUYXgRrditWY_aAkgWGM_KjmAilOauXg,578
@@ -20,14 +19,14 @@ mt/tfc/__init__.py,sha256=WnGNywMCwmmhWQaGqconT5f9n6IE5jDGflbD92E5iH0,8108
20
19
  mt/tfg/__init__.py,sha256=6Ly2QImAyQTsg_ZszuAuK_L2n56v89Cix9yYmMVk0CM,304
21
20
  mt/tfp/__init__.py,sha256=AQkGCkmDRwswEt3qoOSpxe-fZekx78sHHBs2ZVz33gc,383
22
21
  mt/tfp/real_nvp.py,sha256=U9EmkXGqFcvtS2yeh5_RgbKlVKKlGFGklAb7Voyazz4,4440
23
- mttf-1.0.2.data/scripts/dmt_pipi.sh,sha256=VG5FvmtuR7_v_zhd52hI0mbyiiPCW_TWIpB_Oce0zm4,145
24
- mttf-1.0.2.data/scripts/dmt_twineu.sh,sha256=ER8Z1it7hVdPtkZ0TA0SkzwqIQSUlFa_sO95H07ImTI,159
25
- mttf-1.0.2.data/scripts/twine_trusted.py,sha256=ZEvTqT5ydAiOJBPQaUOMsbxX7qcGCjgGQeglzOwYLFI,2196
26
- mttf-1.0.2.data/scripts/wml_nexus.py,sha256=geZih8al6iJhkMRYhIO7lG_oHIGYTddl0EGBPgNsVR4,1377
27
- mttf-1.0.2.data/scripts/wml_pipi.sh,sha256=wDX4_7oKcYbxyKJz-wWvbkUY0NEuBuf0MpBfpmjZk60,133
28
- mttf-1.0.2.data/scripts/wml_twineu.sh,sha256=FPBvsXM-81P11G2BCJtxVUBervfHQYYrXf0GjZeMt7w,146
29
- mttf-1.0.2.dist-info/LICENSE,sha256=e_JtcszdGZ2ZGfjcymTGrcxFj_9XPicZOVtnsrPvruk,1070
30
- mttf-1.0.2.dist-info/METADATA,sha256=e3giCP6K9pBE6y07vdONBd0Z9vwkzTIp0jO0FjmVmZk,416
31
- mttf-1.0.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
32
- mttf-1.0.2.dist-info/top_level.txt,sha256=WcqGFu9cV7iMZg09iam8eNxUvGpLSKKF2Iubf6SJVOo,3
33
- mttf-1.0.2.dist-info/RECORD,,
22
+ mttf-1.0.4.data/scripts/dmt_pipi.sh,sha256=VG5FvmtuR7_v_zhd52hI0mbyiiPCW_TWIpB_Oce0zm4,145
23
+ mttf-1.0.4.data/scripts/dmt_twineu.sh,sha256=ER8Z1it7hVdPtkZ0TA0SkzwqIQSUlFa_sO95H07ImTI,159
24
+ mttf-1.0.4.data/scripts/twine_trusted.py,sha256=ZEvTqT5ydAiOJBPQaUOMsbxX7qcGCjgGQeglzOwYLFI,2196
25
+ mttf-1.0.4.data/scripts/wml_nexus.py,sha256=3J-HEwrujnqKQezoGStoGMuuraozWp4ytpp093BKV88,1372
26
+ mttf-1.0.4.data/scripts/wml_pipi.sh,sha256=wDX4_7oKcYbxyKJz-wWvbkUY0NEuBuf0MpBfpmjZk60,133
27
+ mttf-1.0.4.data/scripts/wml_twineu.sh,sha256=FPBvsXM-81P11G2BCJtxVUBervfHQYYrXf0GjZeMt7w,146
28
+ mttf-1.0.4.dist-info/LICENSE,sha256=e_JtcszdGZ2ZGfjcymTGrcxFj_9XPicZOVtnsrPvruk,1070
29
+ mttf-1.0.4.dist-info/METADATA,sha256=Wei3ifSd88kPzOHGJCA3Rd9xUGNo8PbyiC0fzwbJwQs,413
30
+ mttf-1.0.4.dist-info/WHEEL,sha256=A3WOREP4zgxI0fKrHUG8DC8013e3dK3n7a6HDbcEIwE,91
31
+ mttf-1.0.4.dist-info/top_level.txt,sha256=WcqGFu9cV7iMZg09iam8eNxUvGpLSKKF2Iubf6SJVOo,3
32
+ mttf-1.0.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.43.0)
2
+ Generator: setuptools (75.7.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5