q-runtime 0.1.0__tar.gz
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.
- q_runtime-0.1.0/LICENSE +21 -0
- q_runtime-0.1.0/PKG-INFO +37 -0
- q_runtime-0.1.0/README.md +25 -0
- q_runtime-0.1.0/pyproject.toml +16 -0
- q_runtime-0.1.0/q_runtime.egg-info/PKG-INFO +37 -0
- q_runtime-0.1.0/q_runtime.egg-info/SOURCES.txt +17 -0
- q_runtime-0.1.0/q_runtime.egg-info/dependency_links.txt +1 -0
- q_runtime-0.1.0/q_runtime.egg-info/top_level.txt +10 -0
- q_runtime-0.1.0/q_runtime.py +961 -0
- q_runtime-0.1.0/q_std_collections.py +118 -0
- q_runtime-0.1.0/q_std_concurrent.py +2 -0
- q_runtime-0.1.0/q_std_db_sqlite.py +52 -0
- q_runtime-0.1.0/q_std_format.py +3 -0
- q_runtime-0.1.0/q_std_io.py +31 -0
- q_runtime-0.1.0/q_std_net_http.py +104 -0
- q_runtime-0.1.0/q_std_text.py +3 -0
- q_runtime-0.1.0/q_std_text_html.py +38 -0
- q_runtime-0.1.0/q_std_time.py +3 -0
- q_runtime-0.1.0/setup.cfg +4 -0
q_runtime-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Martin Oberneder
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
q_runtime-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: q-runtime
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Laufzeit für von qc (Q, Quanta of Intent) generierten Python-Code
|
|
5
|
+
Author-email: Martin Oberneder <m.oberneder@3zero.de>
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: q,quanta-of-intent,runtime,transpiler
|
|
8
|
+
Requires-Python: >=3.9
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Dynamic: license-file
|
|
12
|
+
|
|
13
|
+
# q-runtime (Python)
|
|
14
|
+
|
|
15
|
+
Laufzeit für von `qc` (Q, *Quanta of Intent*) generierten Python-Code — das
|
|
16
|
+
Gegenstück zum npm-Package `q-runtime` des TypeScript-Targets.
|
|
17
|
+
|
|
18
|
+
Enthalten: Listen/Collections (Cons/Nil), strukturelle Gleichheit und `qShow`,
|
|
19
|
+
Numerik (`div` trunkiert, `mod` euklidisch), der Comp-Interpreter für
|
|
20
|
+
algebraische Effekte (§5.4, Multi-Shot-resume), Agenten (§8.1: Threads +
|
|
21
|
+
Mailbox — `ask!` blockiert, `ask!` mit Frist liefert `Some`/`None`,
|
|
22
|
+
on-error-Supervision), Trait-Registry (§4.4: `qResolve`/`qVirtual`, Kohärenz),
|
|
23
|
+
Async-Futures (`fork`/`await` über Threads), IO (`read-file`/`write-file` →
|
|
24
|
+
`Result`, `get-env` → `Option`) und der `qRunTests`-Testtreiber.
|
|
25
|
+
|
|
26
|
+
## Nutzung
|
|
27
|
+
|
|
28
|
+
Generierter Code im **Pfad-Modus** (Default) trägt den Pfad zu diesem
|
|
29
|
+
Verzeichnis selbst. Im **Package-Modus** (`qc compile --target python
|
|
30
|
+
--runtime package`) importiert er `q_runtime` als installiertes Package:
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
pip install q-runtime
|
|
34
|
+
python3 programm.py
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Es gibt keine Abhängigkeiten; benötigt wird Python ≥ 3.9.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# q-runtime (Python)
|
|
2
|
+
|
|
3
|
+
Laufzeit für von `qc` (Q, *Quanta of Intent*) generierten Python-Code — das
|
|
4
|
+
Gegenstück zum npm-Package `q-runtime` des TypeScript-Targets.
|
|
5
|
+
|
|
6
|
+
Enthalten: Listen/Collections (Cons/Nil), strukturelle Gleichheit und `qShow`,
|
|
7
|
+
Numerik (`div` trunkiert, `mod` euklidisch), der Comp-Interpreter für
|
|
8
|
+
algebraische Effekte (§5.4, Multi-Shot-resume), Agenten (§8.1: Threads +
|
|
9
|
+
Mailbox — `ask!` blockiert, `ask!` mit Frist liefert `Some`/`None`,
|
|
10
|
+
on-error-Supervision), Trait-Registry (§4.4: `qResolve`/`qVirtual`, Kohärenz),
|
|
11
|
+
Async-Futures (`fork`/`await` über Threads), IO (`read-file`/`write-file` →
|
|
12
|
+
`Result`, `get-env` → `Option`) und der `qRunTests`-Testtreiber.
|
|
13
|
+
|
|
14
|
+
## Nutzung
|
|
15
|
+
|
|
16
|
+
Generierter Code im **Pfad-Modus** (Default) trägt den Pfad zu diesem
|
|
17
|
+
Verzeichnis selbst. Im **Package-Modus** (`qc compile --target python
|
|
18
|
+
--runtime package`) importiert er `q_runtime` als installiertes Package:
|
|
19
|
+
|
|
20
|
+
```sh
|
|
21
|
+
pip install q-runtime
|
|
22
|
+
python3 programm.py
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Es gibt keine Abhängigkeiten; benötigt wird Python ≥ 3.9.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "q-runtime"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Laufzeit für von qc (Q, Quanta of Intent) generierten Python-Code"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = { text = "MIT" }
|
|
11
|
+
authors = [{ name = "Martin Oberneder", email = "m.oberneder@3zero.de" }]
|
|
12
|
+
requires-python = ">=3.9"
|
|
13
|
+
keywords = ["q", "quanta-of-intent", "runtime", "transpiler"]
|
|
14
|
+
|
|
15
|
+
[tool.setuptools]
|
|
16
|
+
py-modules = ["q_runtime", "q_std_net_http", "q_std_db_sqlite", "q_std_collections", "q_std_io", "q_std_text_html", "q_std_text", "q_std_format", "q_std_concurrent", "q_std_time"]
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: q-runtime
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Laufzeit für von qc (Q, Quanta of Intent) generierten Python-Code
|
|
5
|
+
Author-email: Martin Oberneder <m.oberneder@3zero.de>
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: q,quanta-of-intent,runtime,transpiler
|
|
8
|
+
Requires-Python: >=3.9
|
|
9
|
+
Description-Content-Type: text/markdown
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Dynamic: license-file
|
|
12
|
+
|
|
13
|
+
# q-runtime (Python)
|
|
14
|
+
|
|
15
|
+
Laufzeit für von `qc` (Q, *Quanta of Intent*) generierten Python-Code — das
|
|
16
|
+
Gegenstück zum npm-Package `q-runtime` des TypeScript-Targets.
|
|
17
|
+
|
|
18
|
+
Enthalten: Listen/Collections (Cons/Nil), strukturelle Gleichheit und `qShow`,
|
|
19
|
+
Numerik (`div` trunkiert, `mod` euklidisch), der Comp-Interpreter für
|
|
20
|
+
algebraische Effekte (§5.4, Multi-Shot-resume), Agenten (§8.1: Threads +
|
|
21
|
+
Mailbox — `ask!` blockiert, `ask!` mit Frist liefert `Some`/`None`,
|
|
22
|
+
on-error-Supervision), Trait-Registry (§4.4: `qResolve`/`qVirtual`, Kohärenz),
|
|
23
|
+
Async-Futures (`fork`/`await` über Threads), IO (`read-file`/`write-file` →
|
|
24
|
+
`Result`, `get-env` → `Option`) und der `qRunTests`-Testtreiber.
|
|
25
|
+
|
|
26
|
+
## Nutzung
|
|
27
|
+
|
|
28
|
+
Generierter Code im **Pfad-Modus** (Default) trägt den Pfad zu diesem
|
|
29
|
+
Verzeichnis selbst. Im **Package-Modus** (`qc compile --target python
|
|
30
|
+
--runtime package`) importiert er `q_runtime` als installiertes Package:
|
|
31
|
+
|
|
32
|
+
```sh
|
|
33
|
+
pip install q-runtime
|
|
34
|
+
python3 programm.py
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Es gibt keine Abhängigkeiten; benötigt wird Python ≥ 3.9.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
q_runtime.py
|
|
5
|
+
q_std_collections.py
|
|
6
|
+
q_std_concurrent.py
|
|
7
|
+
q_std_db_sqlite.py
|
|
8
|
+
q_std_format.py
|
|
9
|
+
q_std_io.py
|
|
10
|
+
q_std_net_http.py
|
|
11
|
+
q_std_text.py
|
|
12
|
+
q_std_text_html.py
|
|
13
|
+
q_std_time.py
|
|
14
|
+
q_runtime.egg-info/PKG-INFO
|
|
15
|
+
q_runtime.egg-info/SOURCES.txt
|
|
16
|
+
q_runtime.egg-info/dependency_links.txt
|
|
17
|
+
q_runtime.egg-info/top_level.txt
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|