Skip to main content

Built and signed on GitHub Actions

A simple abstraction layer for running Python code in JS.

This package works with Node.js, DenoIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
JSR Score
100%
Published
a year ago (1.0.2)

pyJS

A small python to JS abstraction layer. Intended for use on JSR.

Example

import { PythonEnvironment } from "@erisws/pyjs";

const python = new PythonEnvironment

const output = python.run("1+1") // 2
Built and signed on
GitHub Actions
View transparency log

Add Package

deno add jsr:@erisws/pyjs

Import symbol

import * as pyjs from "@erisws/pyjs";

---- OR ----

Import directly with a jsr specifier

import * as pyjs from "jsr:@erisws/pyjs";

Add Package

npx jsr add @erisws/pyjs

Import symbol

import * as pyjs from "@erisws/pyjs";

Add Package

yarn dlx jsr add @erisws/pyjs

Import symbol

import * as pyjs from "@erisws/pyjs";

Add Package

pnpm dlx jsr add @erisws/pyjs

Import symbol

import * as pyjs from "@erisws/pyjs";

Add Package

bunx jsr add @erisws/pyjs

Import symbol

import * as pyjs from "@erisws/pyjs";