# extrabacon/python-shell

Run Python scripts from Node.js with simple (but efficient) inter-process communication through stdio

Repository: https://github.com/extrabacon/python-shell
Canonical: https://ross.abutalabs.com/products/python-shell
Language: TypeScript
License Family: other
Topics: python, node, child-process, looking-for-maintainer, maintainer-wanted
Last push: 2026-03-01T07:51:54+00:00

## Health v2 (maintenance only)
Score: 72/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 70, release rhythm 59, longevity 100
- inputs: {"age_days": 4557, "days_push": 185, "days_rel": 279, "gap_med": 0, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2163, forks 231 (observed 2026-08-28T04:06:21.138375+00:00)

## What it is
A Node.js library for spawning Python scripts as child processes with simple stdio-based inter-process communication. It supports text, JSON, and binary modes plus custom parsers and better error handling.

## Use cases
- run python scripts from node.js
- exchange data between node and python
- call python from a javascript backend
- spawn python child process with json messaging
- integrate python machine learning script into node app

## When to choose
- you need to invoke Python scripts from a Node.js application with structured stdin/stdout communication
- you want simple JSON or text message passing between Node and Python without a heavier RPC layer

## When to avoid
- you need high-performance or persistent bidirectional communication between services
- you want a maintained project - the repo is looking for a new maintainer
- you need to run Python in the browser or without a local Python interpreter installed

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, serialization, developer-tools
- domain: developer-tools, cross-platform
- platform: python, cross-platform
- tags: child-process, interop, stdio, typescript, python-bridge, automation, nodejs

## Member repositories
- extrabacon/python-shell (main) score 72

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:21.138375+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:50:11.900760+00:00, confidence not recorded.
  - readme: https://github.com/extrabacon/python-shell (fetched 2026-08-28T04:06:21.138375+00:00, sha e352361fed24)
  - registry_npm: https://registry.npmjs.org/python-shell (fetched 2026-08-29T10:30:10.037835+00:00, sha a474b1a7c3fb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
