Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DerThorsten committed Mar 27, 2024
1 parent 3aa7d97 commit 964cb99
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,18 @@
[![CI](https://github.com/emscripten-forge/pyjs/actions/workflows/main.yml/badge.svg)](https://github.com/emscripten-forge/pyjs/actions/workflows/main.yml)
[![CI](https://img.shields.io/badge/pyjs-docs-yellow)](https://emscripten-forge.github.io/pyjs/)



## What is pyjs

pyjs is modern [pybind11](https://github.com/pybind/pybind11) + emscripten [Embind](https://emscripten.org/docs/porting/connecting_cpp_and_javascript/embind.html) based
Python <-> JavaScript foreign function interface (FFI) for wasm/emscripten compiled Python.

The API is loosly based on the FFI of [pyodide](https://pyodide.org/en/stable/usage/type-conversions.html).

## Full Documentation
See the [documentation](https://emscripten-forge.github.io/pyjs/) for a full documentation.

## Try it out
To try it out, you can use the [playground](https://emscripten-forge.github.io/pyjs/lite/).

## Quickstart

Expand Down Expand Up @@ -43,10 +46,4 @@ const py_list = pyjs.eval("[i for i in range(10)]")

/// access
console.log(py_list.get(0)) // same as py_list[0] on the python side
```

## Full Documentation
See the [documentation](https://emscripten-forge.github.io/pyjs/) for a full documentation.

## Try it out
To try it out, you can use the [playground](https://emscripten-forge.github.io/pyjs/lite/).
```

0 comments on commit 964cb99

Please sign in to comment.