alantech / marsha

Marsha is a functional, higher-level, English-based programming language that gets compiled into tested Python software by an LLM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

allow running in jupyter notebook

depombo opened this issue · comments

Here we have 2 options:

  1. Current approach, no change need it, distributing the binary.

    • Users would need to add the binary in their notebook directory manually. Maybe downloading it from our page/repo, wget or something.
    • Provide execution permissions to the binary !chmod +x marsha
    • Execute marsha !./marsha <src>
  2. Make the necessary changes to the repo to be able to install it via pip

    • Users would install marsha via pip with the repo %pip install git+ssh://git@github.com/alantech/marsha.git (Once we open the repo it should work via https)
    • Then just run !python -m marsha <src>

I already have a WIP pip branch testing the second approach

now that the repo is open the command to install it would be:

%pip install git+https://github.com/alantech/marsha

image