intrepid-studio 0.1.0__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.
@@ -0,0 +1,92 @@
1
+ Metadata-Version: 2.4
2
+ Name: intrepid-studio
3
+ Version: 0.1.0
4
+ Summary: The Intrepid editors in your browser, on a folder of yours: requirements, circuits, simulation, verification, MC/DC tests
5
+ Author: Roberto Bruttomesso
6
+ Author-email: roberto.bruttomesso@gmail.com
7
+ Maintainer: Roberto Bruttomesso
8
+ Maintainer-email: roberto.bruttomesso@gmail.com
9
+ License-Expression: PolyForm-Noncommercial-1.0.0 AND Apache-2.0 AND CC-BY-4.0 AND MIT
10
+ Project-URL: Homepage, https://intrepid-studio.eu
11
+ Project-URL: intrepyd, https://pypi.org/project/intrepyd/
12
+ Keywords: formal verification,model checking,requirements,MC/DC,circuits,simulink,lustre,plc
13
+ Classifier: Development Status :: 4 - Beta
14
+ Classifier: Environment :: Web Environment
15
+ Classifier: Intended Audience :: Science/Research
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Operating System :: MacOS
18
+ Classifier: Operating System :: Microsoft :: Windows
19
+ Classifier: Operating System :: POSIX :: Linux
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3 :: Only
22
+ Classifier: Topic :: Scientific/Engineering
23
+ Classifier: Topic :: Software Development :: Testing
24
+ Requires-Python: >=3.11
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE.md
27
+ License-File: THIRD_PARTY_NOTICES.txt
28
+ Requires-Dist: intrepyd>=0.25
29
+ Dynamic: license-file
30
+
31
+ # Intrepid Studio
32
+
33
+ The Intrepid editors in your browser, on a folder of yours: write the
34
+ requirements of a design, draw the circuit that implements it, simulate it,
35
+ **prove** its properties or get the steps that break them, and generate the
36
+ **MC/DC tests** that show each condition of a decision counts. The model
37
+ checker [intrepyd](https://pypi.org/project/intrepyd/) works underneath, out
38
+ of sight.
39
+
40
+ ```
41
+ pip install intrepid-studio
42
+ intrepid-studio ./my-project
43
+ ```
44
+
45
+ The command serves the editors on the folder, made if missing, and opens the
46
+ browser on them. Leave it running while you work; Ctrl+C stops it.
47
+
48
+ - **Requirements**: a table of requirements, each with its text for
49
+ reviewers and a formula for its logic, from which its circuit is built.
50
+ - **Circuits**: a canvas in the style of Simulink, with logic, comparisons,
51
+ arithmetic, delays, timers, counters and subsystems, checked as you draw.
52
+ - **Simulation**: the inputs step by step, the outputs on the canvas, the
53
+ signals in a scope.
54
+ - **Verification**: assertions proved at every step, or broken by a trace;
55
+ targets reached, or proved unreachable; proof certificates any SMT solver
56
+ checks.
57
+ - **MC/DC tests**, and a **report** to print, a page per requirement.
58
+ - **Lustre** models and intrepyd programs opened as circuits; circuits
59
+ exported as Python programs.
60
+
61
+ The project is the folder: its files are JSON, made for version control, and
62
+ the same as those of the Intrepid Circuit Editor for VS Code.
63
+
64
+ ## Options
65
+
66
+ ```
67
+ intrepid-studio [FOLDER] [--port N] [--no-browser] [--python PYTHON] [--license FILE]
68
+ ```
69
+
70
+ - `--port N`: the port on 127.0.0.1 (default: a free one);
71
+ - `--no-browser`: print the address, do not open a browser;
72
+ - `--python PYTHON`: the Python with intrepyd the runs use (default: this one);
73
+ - `--license FILE`: the license file intrepid's engines run under.
74
+
75
+ ## On your machine only
76
+
77
+ The studio listens on 127.0.0.1, with a random token in the address it opens,
78
+ asked of every call; no path leaves the folder. Nothing is sent anywhere.
79
+
80
+ ## License
81
+
82
+ intrepid-studio is free for noncommercial purposes, such as personal use and
83
+ use by educational institutions and public research organizations, under the
84
+ PolyForm Noncommercial License 1.0.0; any other use, in particular by
85
+ companies, requires a commercial license: write to license@intrepid-studio.eu.
86
+ The same holds for the engines of intrepyd, which verify and generate the
87
+ tests: intrepyd's wheels carry a noncommercial license, and the studio's
88
+ status bar shows the license in use, and helps to ask for another.
89
+
90
+ Requires Python 3.11 or newer, on a platform where intrepyd has its wheels:
91
+ Linux (x86-64) and Windows (x86-64); macOS 13.3 or newer on Apple
92
+ silicon as soon as intrepyd's wheels support it.
@@ -0,0 +1,29 @@
1
+ intrepid_studio-0.1.0.dist-info/licenses/LICENSE.md,sha256=X6Si7hkWHTOt-DHV7MW5H37GtDczS15pAr7L7cn6JX0,5496
2
+ intrepid_studio-0.1.0.dist-info/licenses/THIRD_PARTY_NOTICES.txt,sha256=rd4EBJXJizDmnzZR_Idxl2p1joX1uEX46WRQnCyaJlk,33294
3
+ intrepid_web/__init__.py,sha256=o6v-zdHbPdoZjiWRSGUGnXCxmi7gA7iJNl89isytCH4,130
4
+ intrepid_web/config.py,sha256=BkoVfPLOt8YWAv_mysrPacLtdQmLd4Hcnsvd7kisSOU,4675
5
+ intrepid_web/local.py,sha256=xOnDYs7fCUArK6z4uMerDFTSVlVwebLPWyjm2QVG5x0,21287
6
+ intrepid_web/lustre.py,sha256=j5KiRzGFY7tEW-SRG7HH0KaX916ekguAGZ_9SxplJpQ,2603
7
+ intrepid_web/pages.py,sha256=ukKYZCtp1qLk4D9iD17-iCheWML6ePXQk9gvaCR7nRc,5096
8
+ intrepid_web/runner.py,sha256=NkQ-FDkLsaJYNmjt1g5p5FeMfxVBtsKeeEeZLQeDfkw,5669
9
+ intrepid_web/site/THIRD_PARTY_NOTICES.txt,sha256=rd4EBJXJizDmnzZR_Idxl2p1joX1uEX46WRQnCyaJlk,33294
10
+ intrepid_web/site/acknowledgements.html,sha256=iDvQlnDRV0itWijn-OAMg9ACbN4k-CdL17wB5SDrBKk,3556
11
+ intrepid_web/site/app.js,sha256=6NfjpYnvVKu_WUsaAGAGdri0GWj0L8uHX0KX-CkG0vE,214694
12
+ intrepid_web/site/frame.js,sha256=2hufqNSDrNX6etVmkjmi1sxLVWVxvCls4qEVedgfeMg,1221
13
+ intrepid_web/site/icon.svg,sha256=bdsQi7AbE_VFofMQCdvaRffYleIMBw3dtxGhR98kT-M,469
14
+ intrepid_web/site/index.html,sha256=jk8-g2Os5ESjzoGh9MPHN65IEg3BT9HblDDIukb360Y,3087
15
+ intrepid_web/site/site.css,sha256=6AKIkaSGFZuP4xVbLTe4u0QO1UBkLM02Bcwe-LFE1_M,13610
16
+ intrepid_web/site/theme.css,sha256=_c5mp31Qn4wM4R6qtyXmQL7giDrSHQQjUxn3BUDwM8E,4824
17
+ intrepid_web/site/codicons/codicon.css,sha256=BPyhCJLY8r5RBMkgtkDZpY3c-H9JAuowD88I3mY08_Y,33699
18
+ intrepid_web/site/codicons/codicon.ttf,sha256=K7VYy2k0Uec8KMM_5kqom8GbGktw-VlIMiwkP5NHaSA,125828
19
+ intrepid_web/site/pages/editor.css,sha256=r522pcPXHyHqzECjM1Rkrhymn9od2kkQAFVItksLcWY,25466
20
+ intrepid_web/site/pages/editor.html,sha256=keWjfMSgcqADbYU7r5nP9DTrtOSJljQUfkPhLvBv2Ko,1055
21
+ intrepid_web/site/pages/editor.js,sha256=doMqrx3sOK-r_MxZPuIFYxumcrvL1hljHExE0HqKu6Q,541261
22
+ intrepid_web/site/pages/requirements.css,sha256=OIUtjGsQfONfHk9QEVi5jQsQ223OR0S-QeErellTecQ,11718
23
+ intrepid_web/site/pages/requirements.html,sha256=sfGfQ4Vf9foETVPK8HUv13xV6llfvnjWoy0AjLClYiU,825
24
+ intrepid_web/site/pages/requirements.js,sha256=jTlHuTXOOxIsFFNH-RFrqeuK2t1WbHa4LDD0UBjFFNM,50266
25
+ intrepid_studio-0.1.0.dist-info/METADATA,sha256=O3IpLyJZqfO7PBVkeYX5APw23URses7SNAjx6v4O9bk,4078
26
+ intrepid_studio-0.1.0.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
27
+ intrepid_studio-0.1.0.dist-info/entry_points.txt,sha256=K2PeFuG8QTg9jfJf5kH_tisa446b0aAIuMnLBd6yWy0,60
28
+ intrepid_studio-0.1.0.dist-info/top_level.txt,sha256=y-pJePLlAU3m86mt32S9u6Um0KdKz7y8icU6FLOMLjU,13
29
+ intrepid_studio-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (84.0.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ intrepid-studio = intrepid_web.local:main
@@ -0,0 +1,89 @@
1
+ This license covers intrepid-studio, the package that serves the Intrepid
2
+ editors on one's own machine: it is free for noncommercial purposes, such as
3
+ personal use and use by educational institutions and public research
4
+ organizations, as the PolyForm Noncommercial License 1.0.0 below defines them.
5
+ Any other use, in particular by companies for a commercial purpose, requires a
6
+ commercial license, which the author grants on request: write to
7
+ license@intrepid-studio.eu. This matches the license of intrepyd, which the
8
+ editors drive.
9
+
10
+ This license covers only intrepid-studio's own code. The free and open source
11
+ software in its pages (maxGraph, the codicons) keeps its own licenses, whose
12
+ texts are in THIRD_PARTY_NOTICES.txt; intrepyd and the intrepid library, which
13
+ intrepid-studio runs in the user's own Python environment, keep theirs.
14
+
15
+ Required Notice: Copyright (c) 2016-2026 Roberto Bruttomesso (https://intrepid-studio.eu)
16
+
17
+ # PolyForm Noncommercial License 1.0.0
18
+
19
+ <https://polyformproject.org/licenses/noncommercial/1.0.0>
20
+
21
+ ## Acceptance
22
+
23
+ In order to get any license under these terms, you must agree to them as both strict obligations and conditions to all your licenses.
24
+
25
+ ## Copyright License
26
+
27
+ The licensor grants you a copyright license for the software to do everything you might do with the software that would otherwise infringe the licensor's copyright in it for any permitted purpose. However, you may only distribute the software according to [Distribution License](#distribution-license) and make changes or new works based on the software according to [Changes and New Works License](#changes-and-new-works-license).
28
+
29
+ ## Distribution License
30
+
31
+ The licensor grants you an additional copyright license to distribute copies of the software. Your license to distribute covers distributing the software with changes and new works permitted by [Changes and New Works License](#changes-and-new-works-license).
32
+
33
+ ## Notices
34
+
35
+ You must ensure that anyone who gets a copy of any part of the software from you also gets a copy of these terms or the URL for them above, as well as copies of any plain-text lines beginning with `Required Notice:` that the licensor provided with the software. For example:
36
+
37
+ > Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
38
+
39
+ ## Changes and New Works License
40
+
41
+ The licensor grants you an additional copyright license to make changes and new works based on the software for any permitted purpose.
42
+
43
+ ## Patent License
44
+
45
+ The licensor grants you a patent license for the software that covers patent claims the licensor can license, or becomes able to license, that you would infringe by using the software.
46
+
47
+ ## Noncommercial Purposes
48
+
49
+ Any noncommercial purpose is a permitted purpose.
50
+
51
+ ## Personal Uses
52
+
53
+ Personal use for research, experiment, and testing for the benefit of public knowledge, personal study, private entertainment, hobby projects, amateur pursuits, or religious observance, without any anticipated commercial application, is use for a permitted purpose.
54
+
55
+ ## Noncommercial Organizations
56
+
57
+ Use by any charitable organization, educational institution, public research organization, public safety or health organization, environmental protection organization, or government institution is use for a permitted purpose regardless of the source of funding or obligations resulting from the funding.
58
+
59
+ ## Fair Use
60
+
61
+ You may have "fair use" rights for the software under the law. These terms do not limit them.
62
+
63
+ ## No Other Rights
64
+
65
+ These terms do not allow you to sublicense or transfer any of your licenses to anyone else, or prevent the licensor from granting licenses to anyone else. These terms do not imply any other licenses.
66
+
67
+ ## Patent Defense
68
+
69
+ If you make any written claim that the software infringes or contributes to infringement of any patent, your patent license for the software granted under these terms ends immediately. If your company makes such a claim, your patent license ends immediately for work on behalf of your company.
70
+
71
+ ## Violations
72
+
73
+ The first time you are notified in writing that you have violated any of these terms, or done anything with the software not covered by your licenses, your licenses can nonetheless continue if you come into full compliance with these terms, and take practical steps to correct past violations, within 32 days of receiving notice. Otherwise, all your licenses end immediately.
74
+
75
+ ## No Liability
76
+
77
+ ***As far as the law allows, the software comes as is, without any warranty or condition, and the licensor will not be liable to you for any damages arising out of these terms or the use or nature of the software, under any kind of legal claim.***
78
+
79
+ ## Definitions
80
+
81
+ The **licensor** is the individual or entity offering these terms, and the **software** is the software the licensor makes available under these terms.
82
+
83
+ **You** refers to the individual or entity agreeing to these terms.
84
+
85
+ **Your company** is any legal entity, sole proprietorship, or other kind of organization that you work for, plus all organizations that have control over, are under the control of, or are under common control with that organization. **Control** means ownership of substantially all the assets of an entity, or the power to direct its management and policies by vote, contract, or otherwise. Control can be direct or indirect.
86
+
87
+ **Your licenses** are all the licenses granted to you for the software under these terms.
88
+
89
+ **Use** means anything you do with the software requiring one of your licenses.