On this page
  1. echidnae
  2. Role
  3. Install
  4. Quickstart
  5. Python (echidnae.javascript, echidnae.json, echidnae.fetch)
  6. JavaScript (@echidnae/python)
  7. Offline Applications (echidnae-python)
  8. When to Reach for It
  9. Gotchas & Pitfalls
  10. Pairs With
  11. Metadata

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

Gotchas & Pitfalls

Pairs With


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