On this page
echidnae
Prev: homebrew-tap | Up: projects | Next: prettynb
Rel: wispsy, Tooling & Runtimes, Foundation, shimify
Ref: wispsy on GitHub
Tags: #public #wispsy #project #tooling #runtime #tier/core
Role
Successor to pocket-python and monorepo absorbing the former Python-JavaScript, JavaScript-Fetch-API, and JavaScript-JSON projects into one implicit echidnae namespace with independently installable Python 3.14+ packages (echidnae, echidnae-javascript, echidnae-json, echidnae-fetch, echidnae-python) plus @echidnae/python on npm (an independent Python interpreter written in JavaScript for Node.js 24+ and modern browsers, with zero CPython, WebAssembly, or runtime npm dependencies).
Install
# Python 3.14+ umbrella (JavaScript, JSON, Fetch) or standalone components:
python -m pip install echidnae
# Or individually:
python -m pip install echidnae-javascript echidnae-json echidnae-fetch
# Verified offline application tooling (formerly pocket-python):
python -m pip install echidnae-python
# Independent Python interpreter in JavaScript (alpha, Node.js 24+ / browsers):
npm install @echidnae/python@alpha
Quickstart
Python (echidnae.javascript, echidnae.json, echidnae.fetch)
from echidnae.javascript import Array, Math, Object
from echidnae.json import JSON
from echidnae.fetch import fetch
people = JSON.parse('[{"name":"Ada","score":8},{"name":"Lin","score":6}]')
names = Array.of(*(person.name for person in people if person.score >= 7))
assert names.join(", ") == "Ada"
assert Math.round(2.5) == 3
JavaScript (@echidnae/python)
import {runSourceRequest} from '@echidnae/python';
const result = await runSourceRequest({modules: [{
name: 'app', package: false, imports: [],
notice: 'My application source', source: 'print(sorted([3, 1, 2]))\n',
}]});
if (!result.ok) throw new Error(result.error.message);
console.log(result.stdout);
Offline Applications (echidnae-python)
echidnae-python --help
When to Reach for It
- Running newly supplied Python source in Node.js 24+ or modern browsers via
@echidnae/pythonwith explicit resource limits and zero WASM/CPython runtime downloads. - Using JavaScript-style
Array/Math/Object,JSON, orfetch/Promiseidioms in Python 3.14+ without pulling in the full umbrella. - Assembling auditable offline browser/PWA bundles (
echidnae-python, paired withechidnae-javascriptfor compiled output).
Gotchas & Pitfalls
- Independent namespace packages: Install only the subpackage you need (
echidnae-javascript,echidnae-json,echidnae-fetch,echidnae-python, or npm@echidnae/python)—all Python packages share the implicitechidnaenamespace and require Python>=3.14. - Node.js 24+ / modern browser target:
@echidnae/pythonis a pure-JavaScript interpreter with explicit resource limits and zero CPython/WASM downloads, so C-extension packages (e.g.,numpy) are intentionally out of scope. - Bounded execution: Browser and JS runtime execution enforces strict step/memory budgets—long-running loops or unbounded recursion terminate with resource-limit errors.
Pairs With
- shimify — Produces minimal portable source bundles for offline runtimes.
Metadata
type: project-card
slug: echidnae
previous_slugs:
- pocket-python
- Python-JavaScript
- JavaScript-Fetch-API
- JavaScript-JSON
org: wispsy
repo: wispsy/echidnae
version: 0.1.0
requires_python: ">=3.14"
packages:
- echidnae
- echidnae-python
- echidnae-javascript
- echidnae-fetch
- echidnae-json
npm_packages:
- "@echidnae/python"
layer: tooling
topic: wispsy-runtime
status: active
language: python-and-javascript
source_docs: README.md, docs/
Linked from
Related notes
- wiki/projects/homebrew-tap Linked here; links to this page; shared tags: #project, #tier, #tooling, #wispsy
- wiki/projects/shimify Linked here; links to this page; shared tags: #project, #tier, #tooling, #wispsy
- wiki/projects/prettynb Linked here; links to this page; shared tags: #project, #tier, #wispsy
- wiki/stack/tooling Linked here; links to this page; shared tags: #tier, #tooling, #wispsy
- wiki/orgs/wispsy Linked here; links to this page; shared tags: #tier, #wispsy
- wiki/stack/foundation Linked here; links to this page; shared tags: #tier, #wispsy
- wiki/projects Linked here; links to this page; shared tags: #wispsy
- wiki/projects/parsethon links to this page; shared tags: #project, #tier, #tooling, #wispsy
- wiki/choosing links to this page; shared tags: #tier, #wispsy
- wiki/compatibility links to this page; shared tags: #tier, #wispsy