spawnllm 0.7.0__tar.gz → 0.8.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.
Files changed (29) hide show
  1. {spawnllm-0.7.0 → spawnllm-0.8.0}/PKG-INFO +12 -1
  2. {spawnllm-0.7.0 → spawnllm-0.8.0}/README.md +11 -0
  3. {spawnllm-0.7.0 → spawnllm-0.8.0}/pyproject.toml +1 -1
  4. {spawnllm-0.7.0 → spawnllm-0.8.0}/LICENSE +0 -0
  5. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/__init__.py +0 -0
  6. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/__main__.py +0 -0
  7. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/backends/__init__.py +0 -0
  8. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/backends/base.py +0 -0
  9. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/backends/claude.py +0 -0
  10. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/backends/codex.py +0 -0
  11. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/backends/gemini.py +0 -0
  12. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/backends/mlx.py +0 -0
  13. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/backends/openai_endpoint.py +0 -0
  14. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/backends/registry.py +0 -0
  15. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/call.py +0 -0
  16. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/cli.py +0 -0
  17. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/extract.py +0 -0
  18. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/mlx/__init__.py +0 -0
  19. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/mlx/codec.py +0 -0
  20. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/mlx/engine.py +0 -0
  21. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/mlx/fuse.py +0 -0
  22. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/mlx/patches.py +0 -0
  23. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/proc.py +0 -0
  24. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/py.typed +0 -0
  25. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/response.py +0 -0
  26. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/run.py +0 -0
  27. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/spec.py +0 -0
  28. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/structured.py +0 -0
  29. {spawnllm-0.7.0 → spawnllm-0.8.0}/spawnllm/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: spawnllm
3
- Version: 0.7.0
3
+ Version: 0.8.0
4
4
  Summary: Delete your subprocess wrappers around claude, codex, and gemini.
5
5
  Keywords:
6
6
  Author: Yasyf Mohamedali
@@ -119,6 +119,17 @@ uv add "spawnllm[mlx]"
119
119
 
120
120
  `AdapterFuser.ensure_fused` fuses your compressed adapter into the base model once and caches the result in the Hugging Face hub layout; `MlxEngine` loads it on a dedicated worker thread, precomputes a prompt cache for your shared prefix messages, and batches generation. Wrap the engine in an `MlxBackend` and the same `run_sync` call works.
121
121
 
122
+ ### Call the same backends from Go or Rust
123
+
124
+ The bindings ship the identical engine: argv planning, output parsing, schema strictification, and retry policy compile from one Rust core, pinned to the Python behavior by a shared golden-vector suite and released in lockstep.
125
+
126
+ ```bash
127
+ go get github.com/yasyf/spawnllm/go # pure Go, no cgo — the core embeds as WASM
128
+ cargo add spawnllm # async-first, with a blocking mirror
129
+ ```
130
+
131
+ Both expose `Call`/`call` and typed `Extract`/`extract` against your existing CLI logins — see the [Go README](https://github.com/yasyf/spawnllm/tree/main/go) and the [Rust README](https://github.com/yasyf/spawnllm/tree/main/rust/spawnllm). MLX stays Python-only.
132
+
122
133
  ## More in the docs
123
134
 
124
135
  - **Spec-driven runs** — a literal model id, per-provider flag passthrough, and envelope-aware retry via `RunSpec` — [Running reference](https://yasyf.github.io/spawnllm/reference/#running)
@@ -71,6 +71,17 @@ uv add "spawnllm[mlx]"
71
71
 
72
72
  `AdapterFuser.ensure_fused` fuses your compressed adapter into the base model once and caches the result in the Hugging Face hub layout; `MlxEngine` loads it on a dedicated worker thread, precomputes a prompt cache for your shared prefix messages, and batches generation. Wrap the engine in an `MlxBackend` and the same `run_sync` call works.
73
73
 
74
+ ### Call the same backends from Go or Rust
75
+
76
+ The bindings ship the identical engine: argv planning, output parsing, schema strictification, and retry policy compile from one Rust core, pinned to the Python behavior by a shared golden-vector suite and released in lockstep.
77
+
78
+ ```bash
79
+ go get github.com/yasyf/spawnllm/go # pure Go, no cgo — the core embeds as WASM
80
+ cargo add spawnllm # async-first, with a blocking mirror
81
+ ```
82
+
83
+ Both expose `Call`/`call` and typed `Extract`/`extract` against your existing CLI logins — see the [Go README](https://github.com/yasyf/spawnllm/tree/main/go) and the [Rust README](https://github.com/yasyf/spawnllm/tree/main/rust/spawnllm). MLX stays Python-only.
84
+
74
85
  ## More in the docs
75
86
 
76
87
  - **Spec-driven runs** — a literal model id, per-provider flag passthrough, and envelope-aware retry via `RunSpec` — [Running reference](https://yasyf.github.io/spawnllm/reference/#running)
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "spawnllm"
3
3
  # Inert sentinel: the real version is set from the release tag (uv version --frozen).
4
- version = "0.7.0"
4
+ version = "0.8.0"
5
5
  description = "Delete your subprocess wrappers around claude, codex, and gemini."
6
6
  readme = "README.md"
7
7
  license = "MIT"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes