Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pangiole/rust-notebooks
https://github.com/pangiole/rust-notebooks
Last synced: 16 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pangiole/rust-notebooks
- Owner: pangiole
- Created: 2024-07-19T09:09:24.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-19T11:24:10.000Z (6 months ago)
- Last Synced: 2024-12-06T20:00:37.003Z (28 days ago)
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# rust-notebooks
## requirements
* [pyenv](https://github.com/pyenv/pyenv)
* [poetry](https://python-poetry.org/)
* [rustup](https://rustup.rs/)## setup
First of all, by using `pyenv`, install a new Python interpreter which is going to be used as the **base** for yet another Python virtual environment, specifically created for this project.```
# install the base
pyenv install 3.11.4
```### virtual environment
Install the new Python virtual environment and all the packages specified as dependencies of this project (see `pyproject.toml`). Notice how `poetry` is going to create the new Python virtual environment in the `.venv` directory.```
poetry self update
poetry install
```### jupyter kernel
Install the EvCxR Jupyter kernel, and test if it works.```
rustup update stable
cargo install --locked evcxr_jupyter
``````
poetry shell
evcxr_jupyter --install
jupyter lab
```