web-cortex-framework 0.3.0__tar.gz → 0.3.2__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.
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/Cargo.lock +6 -6
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/Cargo.toml +1 -1
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/PKG-INFO +23 -18
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/README.md +22 -17
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/pyproject.toml +1 -1
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/python/webcortex/__init__.py +1 -1
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/LICENSE +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/Cargo.toml +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/agent/provider.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/agent.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/app.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/audit.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/auth.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/bridge.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/db.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/files.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/http.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/lib.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/manifest.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/mcp.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/middleware.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/openapi.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/router.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/server.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/templates.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/typegen.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-py/Cargo.toml +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-py/src/behaviour.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-py/src/lib.rs +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/python/webcortex/_bridge.py +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/python/webcortex/app.py +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/python/webcortex/cli.py +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/python/webcortex/schema.py +0 -0
- {web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/python/webcortex/starters.py +0 -0
|
@@ -465,7 +465,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
465
465
|
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
466
466
|
dependencies = [
|
|
467
467
|
"libc",
|
|
468
|
-
"windows-sys 0.
|
|
468
|
+
"windows-sys 0.52.0",
|
|
469
469
|
]
|
|
470
470
|
|
|
471
471
|
[[package]]
|
|
@@ -692,9 +692,9 @@ dependencies = [
|
|
|
692
692
|
|
|
693
693
|
[[package]]
|
|
694
694
|
name = "h2"
|
|
695
|
-
version = "0.4.
|
|
695
|
+
version = "0.4.19"
|
|
696
696
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
697
|
-
checksum = "
|
|
697
|
+
checksum = "ef8e5e5a340588f4452631496976cf8636d4a7ecf600239fdc27615d2530bc16"
|
|
698
698
|
dependencies = [
|
|
699
699
|
"atomic-waker",
|
|
700
700
|
"bytes",
|
|
@@ -1538,7 +1538,7 @@ dependencies = [
|
|
|
1538
1538
|
"once_cell",
|
|
1539
1539
|
"socket2",
|
|
1540
1540
|
"tracing",
|
|
1541
|
-
"windows-sys 0.
|
|
1541
|
+
"windows-sys 0.52.0",
|
|
1542
1542
|
]
|
|
1543
1543
|
|
|
1544
1544
|
[[package]]
|
|
@@ -2714,7 +2714,7 @@ dependencies = [
|
|
|
2714
2714
|
|
|
2715
2715
|
[[package]]
|
|
2716
2716
|
name = "webcortex-core"
|
|
2717
|
-
version = "0.3.
|
|
2717
|
+
version = "0.3.2"
|
|
2718
2718
|
dependencies = [
|
|
2719
2719
|
"anyhow",
|
|
2720
2720
|
"async-stream",
|
|
@@ -2745,7 +2745,7 @@ dependencies = [
|
|
|
2745
2745
|
|
|
2746
2746
|
[[package]]
|
|
2747
2747
|
name = "webcortex-py"
|
|
2748
|
-
version = "0.3.
|
|
2748
|
+
version = "0.3.2"
|
|
2749
2749
|
dependencies = [
|
|
2750
2750
|
"bytes",
|
|
2751
2751
|
"futures",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: web-cortex-framework
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.2
|
|
4
4
|
Classifier: Development Status :: 3 - Alpha
|
|
5
5
|
Classifier: Intended Audience :: Developers
|
|
6
6
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
@@ -29,9 +29,15 @@ Project-URL: Security, https://github.com/slimboi34/web_cortex_framework/blob/ma
|
|
|
29
29
|
|
|
30
30
|
# WebCortex
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
```bash
|
|
33
|
+
pip install web-cortex-framework
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
> Installs as **`web-cortex-framework`**, imports as **`webcortex`** — the same
|
|
34
37
|
> split as `djangorestframework` → `import rest_framework`.
|
|
38
|
+
>
|
|
39
|
+
> **Python 3.12, 3.13 and 3.14**, including the free-threaded build (`3.14t`),
|
|
40
|
+
> which is the fast path for Python-backed routes.
|
|
35
41
|
|
|
36
42
|
**📖 [Documentation](https://slimboi34.github.io/web_cortex_framework/)** ·
|
|
37
43
|
[Tutorial](https://slimboi34.github.io/web_cortex_framework/tutorial/) ·
|
|
@@ -83,9 +89,8 @@ headers. No second file, no schema written twice, no drift.
|
|
|
83
89
|
## Start here
|
|
84
90
|
|
|
85
91
|
```bash
|
|
86
|
-
#
|
|
87
|
-
|
|
88
|
-
uv venv --python 3.14 && uv pip install maturin && maturin develop --uv
|
|
92
|
+
# 3.13, or the free-threaded 3.14t — not GIL-enabled 3.14. See Known issue.
|
|
93
|
+
uv venv --python 3.13 && uv pip install web-cortex-framework
|
|
89
94
|
|
|
90
95
|
webcortex new myapp # --template api | fullstack | agent | behaviour
|
|
91
96
|
cd myapp
|
|
@@ -336,25 +341,25 @@ Not yet: Postgres, SSE streaming, durable agent runs, local model supervision.
|
|
|
336
341
|
See [DESIGN.md](DESIGN.md) for the roadmap, honest risk grading, and — just as
|
|
337
342
|
importantly — what is deliberately **not** being built.
|
|
338
343
|
|
|
339
|
-
##
|
|
344
|
+
## Resolved: the CPython 3.14 import failure
|
|
340
345
|
|
|
341
|
-
|
|
342
|
-
|
|
346
|
+
**0.3.1 and earlier fail to import on CPython 3.14.7.** Fixed in 0.3.2; upgrade
|
|
347
|
+
if you are on 3.14.
|
|
343
348
|
|
|
344
349
|
```
|
|
345
350
|
ValueError: module functions cannot set METH_CLASS or METH_STATIC
|
|
346
351
|
```
|
|
347
352
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
353
|
+
The cause was pyo3 0.29.1, fixed in 0.29.2. The reason it took a day to find is
|
|
354
|
+
worth recording, because it is a trap any Rust-backed Python project can fall
|
|
355
|
+
into: `Cargo.toml` was updated to require 0.29.2 while `Cargo.lock` still pinned
|
|
356
|
+
0.29.1. Cargo resolves the newer version at build time, so builds were correct —
|
|
357
|
+
but `Swatinem/rust-cache` keys its cache off `Cargo.lock`, which had not changed,
|
|
358
|
+
so CI kept restoring objects compiled against the broken version. The fix looked
|
|
359
|
+
falsified when it had simply never been built.
|
|
355
360
|
|
|
356
|
-
|
|
357
|
-
|
|
361
|
+
If you hit something similar: build once with a cold cache before concluding a
|
|
362
|
+
dependency fix did not work.
|
|
358
363
|
|
|
359
364
|
## For AI coding tools
|
|
360
365
|
|
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
# WebCortex
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
```bash
|
|
4
|
+
pip install web-cortex-framework
|
|
5
|
+
```
|
|
6
|
+
|
|
7
|
+
> Installs as **`web-cortex-framework`**, imports as **`webcortex`** — the same
|
|
5
8
|
> split as `djangorestframework` → `import rest_framework`.
|
|
9
|
+
>
|
|
10
|
+
> **Python 3.12, 3.13 and 3.14**, including the free-threaded build (`3.14t`),
|
|
11
|
+
> which is the fast path for Python-backed routes.
|
|
6
12
|
|
|
7
13
|
**📖 [Documentation](https://slimboi34.github.io/web_cortex_framework/)** ·
|
|
8
14
|
[Tutorial](https://slimboi34.github.io/web_cortex_framework/tutorial/) ·
|
|
@@ -54,9 +60,8 @@ headers. No second file, no schema written twice, no drift.
|
|
|
54
60
|
## Start here
|
|
55
61
|
|
|
56
62
|
```bash
|
|
57
|
-
#
|
|
58
|
-
|
|
59
|
-
uv venv --python 3.14 && uv pip install maturin && maturin develop --uv
|
|
63
|
+
# 3.13, or the free-threaded 3.14t — not GIL-enabled 3.14. See Known issue.
|
|
64
|
+
uv venv --python 3.13 && uv pip install web-cortex-framework
|
|
60
65
|
|
|
61
66
|
webcortex new myapp # --template api | fullstack | agent | behaviour
|
|
62
67
|
cd myapp
|
|
@@ -307,25 +312,25 @@ Not yet: Postgres, SSE streaming, durable agent runs, local model supervision.
|
|
|
307
312
|
See [DESIGN.md](DESIGN.md) for the roadmap, honest risk grading, and — just as
|
|
308
313
|
importantly — what is deliberately **not** being built.
|
|
309
314
|
|
|
310
|
-
##
|
|
315
|
+
## Resolved: the CPython 3.14 import failure
|
|
311
316
|
|
|
312
|
-
|
|
313
|
-
|
|
317
|
+
**0.3.1 and earlier fail to import on CPython 3.14.7.** Fixed in 0.3.2; upgrade
|
|
318
|
+
if you are on 3.14.
|
|
314
319
|
|
|
315
320
|
```
|
|
316
321
|
ValueError: module functions cannot set METH_CLASS or METH_STATIC
|
|
317
322
|
```
|
|
318
323
|
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
324
|
+
The cause was pyo3 0.29.1, fixed in 0.29.2. The reason it took a day to find is
|
|
325
|
+
worth recording, because it is a trap any Rust-backed Python project can fall
|
|
326
|
+
into: `Cargo.toml` was updated to require 0.29.2 while `Cargo.lock` still pinned
|
|
327
|
+
0.29.1. Cargo resolves the newer version at build time, so builds were correct —
|
|
328
|
+
but `Swatinem/rust-cache` keys its cache off `Cargo.lock`, which had not changed,
|
|
329
|
+
so CI kept restoring objects compiled against the broken version. The fix looked
|
|
330
|
+
falsified when it had simply never been built.
|
|
326
331
|
|
|
327
|
-
|
|
328
|
-
|
|
332
|
+
If you hit something similar: build once with a cold cache before concluding a
|
|
333
|
+
dependency fix did not work.
|
|
329
334
|
|
|
330
335
|
## For AI coding tools
|
|
331
336
|
|
|
@@ -7,7 +7,7 @@ build-backend = "maturin"
|
|
|
7
7
|
# Both are available on PyPI — the split is for ergonomics, not necessity, the
|
|
8
8
|
# same way djangorestframework imports as `rest_framework`.
|
|
9
9
|
name = "web-cortex-framework"
|
|
10
|
-
version = "0.3.
|
|
10
|
+
version = "0.3.2"
|
|
11
11
|
description = "A Rust-cored Python web framework where every route is also an agent tool."
|
|
12
12
|
readme = "README.md"
|
|
13
13
|
requires-python = ">=3.12"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/agent.rs
RENAMED
|
File without changes
|
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/audit.rs
RENAMED
|
File without changes
|
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/bridge.rs
RENAMED
|
File without changes
|
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/files.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/manifest.rs
RENAMED
|
File without changes
|
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/middleware.rs
RENAMED
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/openapi.rs
RENAMED
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/router.rs
RENAMED
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/server.rs
RENAMED
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/templates.rs
RENAMED
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-core/src/typegen.rs
RENAMED
|
File without changes
|
|
File without changes
|
{web_cortex_framework-0.3.0 → web_cortex_framework-0.3.2}/crates/webcortex-py/src/behaviour.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|