Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/python/src/python.ts

๐Ÿ Python interpreter bindings for Deno.
Go to Latest
import * as python from "https://deno.land/x/python@0.3.1/src/python.ts";

Classes

Wraps a JS function into Python callback which can be passed to Python land. It must be destroyed explicitly to free up resources on Rust-side.

An argument that can be passed to PyObject calls to indicate that the argument should be passed as a named one.

Represents a Python object.

Python interface. Do not construct directly, use python instead.

Python-related error.

Variables

Symbol used on proxied Python objects to point to the original PyObject object. Can be used to implement PythonProxy and create your own proxies.

Python interface.

Functions

Template Tag to create Keyword Arguments easily

Checks if there's any error set, throws it if there is.

Interfaces

Proxied Python object.

Type Aliases

JS types that can be converted to Python Objects.