unisi 0.3.11__py3-none-any.whl → 0.3.13__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.
unisi/reloader.py CHANGED
@@ -65,7 +65,9 @@ else:
65
65
  user.set_screen(module.name)
66
66
 
67
67
  user.screens.sort(key=lambda s: s.screen.order)
68
- user.screen.menu = [[getattr(s, 'name', ''),getattr(s,'icon', None)] for s in user.screens]
68
+ menu = [[getattr(s, 'name', ''),getattr(s,'icon', None)] for s in user.screens]
69
+ for s in user.screens:
70
+ s.screen.menu = menu
69
71
  user.set_clean()
70
72
  if hasattr(user,'send'):
71
73
  user.sync_send(Redesign)
unisi/utils.py CHANGED
@@ -15,6 +15,9 @@ app_dir = os.getcwd()
15
15
  try:
16
16
  import config
17
17
  except:
18
+ if os.path.exists('config.py'):
19
+ print('Invalid script is started! It has to be in a working directory.')
20
+ exit()
18
21
  f = open('config.py', 'w')
19
22
  f.write("""port = 8000
20
23
  upload_dir = 'web'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unisi
3
- Version: 0.3.11
3
+ Version: 0.3.13
4
4
  Summary: Unified System Interface, GUI and Remote API
5
5
  Author-Email: UNISI Tech <g.dernovoy@gmail.com>
6
6
  License: Apache-2.0
@@ -29,7 +29,7 @@ UNified System Interface, GUI and Remote API
29
29
  ### Purpose ###
30
30
  UNISI technology provides a unified system interface and advanced program functionality, eliminating the need for front-end and most back-end programming. It automates common tasks, as well as unique ones, significantly reducing the necessity for manual programming and effort.
31
31
 
32
- ### Provided functionality without programming ###
32
+ ### Provided automatic functionality ###
33
33
  - Automatic WEB GUI Client
34
34
  - Client-server data synchronization
35
35
  - Unified Remote API
@@ -1,7 +1,7 @@
1
- unisi-0.3.11.dist-info/METADATA,sha256=CORFBG0VK4XZei-WVk7lqL50bXocruXJLY2t-yDpWTU,27440
2
- unisi-0.3.11.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
- unisi-0.3.11.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
- unisi-0.3.11.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
1
+ unisi-0.3.13.dist-info/METADATA,sha256=xrIMtE75CW1YksJIGWA_zFyhwBJrJiEtgk9QPYIJ_Z8,27430
2
+ unisi-0.3.13.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
3
+ unisi-0.3.13.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
+ unisi-0.3.13.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
5
5
  unisi/__init__.py,sha256=JVioDSebhtmoYTldT6ChEayuRTHOgYsAflcxcBYWBTY,279
6
6
  unisi/autotest.py,sha256=qYKwSPEPUEio6koUSu1tc71pDkX-doCQJlyRppaXCtY,8709
7
7
  unisi/common.py,sha256=bMPZo7V9nlJW5HC0yJLRDbrh0DZ4oqmEtBuOvGyN6fw,5759
@@ -17,12 +17,12 @@ unisi/kdb.py,sha256=K-Lqc3e9hLTwO0i1ilTC6qrwZp90tXjLm7HFb_lM1Os,13621
17
17
  unisi/llmrag.py,sha256=Wh9pQ8kBMlersKxbEDlZ3XeY2grH0_Rfg8I3E2W87hI,3481
18
18
  unisi/multimon.py,sha256=YKwCuvMsMfdgOGkJoqiqh_9wywXMeo9bUhHmbAIUeSE,4060
19
19
  unisi/proxy.py,sha256=QMHSSFJtmVZIexIMAsuFNlF5JpnYNG90rkTM3PYJhY4,7750
20
- unisi/reloader.py,sha256=xe-2Cb6XtUUUQwyDi7J4yzoP5f-b-ZsmaPdQ8P1SVKk,6689
20
+ unisi/reloader.py,sha256=qml-ufoUME7mrWrPMwMo3T8Jsh4e26CBj564cHCB6I0,6749
21
21
  unisi/server.py,sha256=V0I3OAWcebttN1KXHd_-5Vx9tOZ_RzPfSg-3ZJVxWY0,6084
22
22
  unisi/tables.py,sha256=tszF62VToSchILzPhJgA4U02MFjv44LopXgD5mYg7fg,13822
23
23
  unisi/units.py,sha256=SCUZAOV0nu9khg6JE0lWwsKjiCVz29hiUCRXyZJffeA,11111
24
24
  unisi/users.py,sha256=h4kjPAo8LkUG9mKSDthLoDC-XVFLlPxjUvXcJdXT47g,16145
25
- unisi/utils.py,sha256=Uh-BPd6a-i2gMQyJRwANxRN8VQXTtCSunmOAfPnjl9M,2493
25
+ unisi/utils.py,sha256=yNhDKCTjHL1H2Suk9DRQkXAZKYy6nqub-dNSdwPwl9I,2625
26
26
  unisi/voicecom.py,sha256=QzS1gIrBeGLO5dEwiu7KIEdJIIVbPBZFGb5nY632Ws8,16707
27
27
  unisi/web/css/885.703d8f36.css,sha256=9O3mFR661UJ_WySZjYt69TbPXhKwz9yEPE7seHR_3aY,3264
28
28
  unisi/web/css/app.31d6cfe0.css,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -46,4 +46,4 @@ unisi/web/js/885.d3e9dd2b.js,sha256=7A39S4SDApVc4iHHABjOd5julybSa4UwaH4kj8vSn0E,
46
46
  unisi/web/js/935.cc0c012c.js,sha256=FzVIRBr4vyQgW38ROCoh929gtzuXqM73Cf77vejfDWk,6561
47
47
  unisi/web/js/app.3d5227f7.js,sha256=lJkD2OPQOYlxivZmNY8FYKI1JMQ_bh1Pm4zC7y8Ayt0,6150
48
48
  unisi/web/js/vendor.1bb14e9d.js,sha256=7q80jaZcms7UhWSqHAk2pXSx67cYQJGlsp-6DBXBZuU,1253597
49
- unisi-0.3.11.dist-info/RECORD,,
49
+ unisi-0.3.13.dist-info/RECORD,,
File without changes