{"library":"node-calls-python","type":"library","category":null,"description":"Node.js addon that embeds Python using N-API and Python C API, allowing direct in-process execution of Python code without spawning child processes. Version 1.11.1 ships TypeScript types and supports Python 3.x. Unlike child_process or socket-based approaches, it keeps data in shared memory and avoids IPC overhead, making it suitable for rapid ML/DL model inference or small NumPy operations. Release cadence is moderate; requires node-gyp for native compilation. Better than python-shell for latency-sensitive scenarios but limited to Python 3 and may need platform-specific build setup.","language":"javascript","status":"active","version":"1.11.1","tags":["javascript","python","c++","v8","node","nodejs","node-js","napi","typescript"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install node-calls-python","imports":["import { interpreter } from 'node-calls-python'","import { PythonInterpreter } from 'node-calls-python'","import type { Interpreter } from 'node-calls-python'"]},{"cmd":"yarn add node-calls-python","imports":[]},{"cmd":"pnpm add node-calls-python","imports":[]}],"homepage":"https://github.com/hmenyus/node-calls-python#readme","github":"https://github.com/hmenyus/node-calls-python","docs":null,"changelog":null,"pypi":null,"npm":"node-calls-python","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}