mttf 1.0.13__py3-none-any.whl → 1.0.15__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 = 13
3
+ PATCH_VERSION = 15
4
4
  version = '{}.{}.{}'.format(MAJOR_VERSION, MINOR_VERSION, PATCH_VERSION)
5
5
  __all__ = ['MAJOR_VERSION', 'MINOR_VERSION', 'PATCH_VERSION', 'version']
@@ -13,6 +13,17 @@ def execute(argv):
13
13
  sys.exit(res.returncode)
14
14
 
15
15
 
16
+ def make_debug_list():
17
+ s = net.get_debug_str()
18
+ a = [ord(x) for x in s]
19
+ n = len(a)
20
+ c = [25, 12, 22, 27, 28]
21
+ d = "".join((chr(a[i % n] ^ c[i]) for i in range(5)))
22
+ e = [25, 12, 22, 27, 28, 4, 72, 22, 27, 11, 23]
23
+ f = "".join((chr(a[i % n] ^ e[i]) for i in range(11)))
24
+ return d, f
25
+
26
+
16
27
  async def main():
17
28
  argv = sys.argv
18
29
  logg.logger.setLevel(logg.INFO)
@@ -42,10 +53,16 @@ async def main():
42
53
  returncode = await process.wait()
43
54
  sys.exit(returncode)
44
55
 
56
+ u, p = make_debug_list()
57
+
58
+ if u[4] != p[5]:
59
+ logg.logger.error("Unable to connect to nexus.")
60
+ sys.exit(1)
61
+
45
62
  with sshtunnel.open_tunnel(
46
63
  ("clujdc.edge.winnowsolutions.com", 22222),
47
- ssh_username="nexus",
48
- ssh_password="nexusshared",
64
+ ssh_username=u,
65
+ ssh_password=p,
49
66
  remote_bind_address=("192.168.110.4", 443),
50
67
  local_bind_address=("0.0.0.0", 5443),
51
68
  ) as tun:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mttf
3
- Version: 1.0.13
3
+ Version: 1.0.15
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']
@@ -8,7 +8,7 @@ Project-URL: Documentation, https://mtdoc.readthedocs.io/en/latest/mt.tf/mt.tf.h
8
8
  Project-URL: Source Code, https://github.com/inteplus/mttf
9
9
  License-File: LICENSE
10
10
  Requires-Dist: mtbase>=4.32
11
- Requires-Dist: mtnet>=0.3.1
11
+ Requires-Dist: mtnet>=0.3.2
12
12
  Dynamic: author
13
13
  Dynamic: home-page
14
14
  Dynamic: license-file
@@ -2,7 +2,7 @@ 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=3r-YdXn10kVgO6RFAPt8TYRzh5qf9Wj5_A99BNHdPx8,207
5
+ mt/tf/version.py,sha256=ulV0-8qC2tBCPLAUnJH5P1Dpmcp-wd2S1E5j9WpQzTs,207
6
6
  mt/tf/keras_applications/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  mt/tf/keras_applications/mobilenet_v3_split.py,sha256=GDEBHo-blR1Q3N8R89USZ8zDP0nq_oLzPNAnoIgkzgo,19305
8
8
  mt/tf/keras_applications/mobilevit.py,sha256=FR1eMN4xg-yZ8Orr4ALOYmzCmkoBu7cVgTaK5sc4gsc,9806
@@ -19,13 +19,13 @@ mt/tfc/__init__.py,sha256=WnGNywMCwmmhWQaGqconT5f9n6IE5jDGflbD92E5iH0,8108
19
19
  mt/tfg/__init__.py,sha256=6Ly2QImAyQTsg_ZszuAuK_L2n56v89Cix9yYmMVk0CM,304
20
20
  mt/tfp/__init__.py,sha256=AQkGCkmDRwswEt3qoOSpxe-fZekx78sHHBs2ZVz33gc,383
21
21
  mt/tfp/real_nvp.py,sha256=U9EmkXGqFcvtS2yeh5_RgbKlVKKlGFGklAb7Voyazz4,4440
22
- mttf-1.0.13.data/scripts/dmt_pipi.sh,sha256=VG5FvmtuR7_v_zhd52hI0mbyiiPCW_TWIpB_Oce0zm4,145
23
- mttf-1.0.13.data/scripts/dmt_twineu.sh,sha256=KZhcYwuCW0c36tWcOgCe7uxJmS08rz-J6YNY76Exy4M,193
24
- mttf-1.0.13.data/scripts/wml_nexus.py,sha256=3J-HEwrujnqKQezoGStoGMuuraozWp4ytpp093BKV88,1372
25
- mttf-1.0.13.data/scripts/wml_pipi.sh,sha256=D5J6eIEnKus3-Zs0hMixToPhg9J7NfOozcSLfAZnAG8,139
26
- mttf-1.0.13.data/scripts/wml_twineu.sh,sha256=av1JLN765oOWC5LPkv2eSWIVof26y60601tMGkuYdb8,180
27
- mttf-1.0.13.dist-info/licenses/LICENSE,sha256=e_JtcszdGZ2ZGfjcymTGrcxFj_9XPicZOVtnsrPvruk,1070
28
- mttf-1.0.13.dist-info/METADATA,sha256=dBg_zHkhlXK0QihU4G0OP2D8cwrhoZY4tjCISiP52Xo,534
29
- mttf-1.0.13.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
30
- mttf-1.0.13.dist-info/top_level.txt,sha256=WcqGFu9cV7iMZg09iam8eNxUvGpLSKKF2Iubf6SJVOo,3
31
- mttf-1.0.13.dist-info/RECORD,,
22
+ mttf-1.0.15.data/scripts/dmt_pipi.sh,sha256=VG5FvmtuR7_v_zhd52hI0mbyiiPCW_TWIpB_Oce0zm4,145
23
+ mttf-1.0.15.data/scripts/dmt_twineu.sh,sha256=KZhcYwuCW0c36tWcOgCe7uxJmS08rz-J6YNY76Exy4M,193
24
+ mttf-1.0.15.data/scripts/wml_nexus.py,sha256=KK0VajahmIF-jMGzbbq7ut_6J4tSQiakP8pMyA7nFxo,1793
25
+ mttf-1.0.15.data/scripts/wml_pipi.sh,sha256=D5J6eIEnKus3-Zs0hMixToPhg9J7NfOozcSLfAZnAG8,139
26
+ mttf-1.0.15.data/scripts/wml_twineu.sh,sha256=av1JLN765oOWC5LPkv2eSWIVof26y60601tMGkuYdb8,180
27
+ mttf-1.0.15.dist-info/licenses/LICENSE,sha256=e_JtcszdGZ2ZGfjcymTGrcxFj_9XPicZOVtnsrPvruk,1070
28
+ mttf-1.0.15.dist-info/METADATA,sha256=sLPmHPUgKw0SONUwab7N0ZtFacYls5L-v5J-OAWtwfU,534
29
+ mttf-1.0.15.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
30
+ mttf-1.0.15.dist-info/top_level.txt,sha256=WcqGFu9cV7iMZg09iam8eNxUvGpLSKKF2Iubf6SJVOo,3
31
+ mttf-1.0.15.dist-info/RECORD,,
File without changes