An open API service indexing awesome lists of open source software.

https://github.com/perer876/random-walks

HW 2 - Random Walks
https://github.com/perer876/random-walks

homework jupyter-notebook random-walks

Last synced: 4 months ago
JSON representation

HW 2 - Random Walks

Awesome Lists containing this project

README

        

# Random Walks

## Requirements

You should have the [uv](https://docs.astral.sh/uv/getting-started/installation/) tool installed on your system.
This tool is used to manage the virtual environment and run the Jupyter Lab server for us.

## Installation

Clone the repository and install the dependencies:

```bash
git clone [email protected]:Perer876/random-walks.git
cd random-walks
```

## Usage

Install the virtual environment as a kernel in the Jupyter Lab server.
You can later select the kernel from the Jupyter Lab server.

```bash
uv run ipython kernel install --user --env VIRTUAL_ENV .venv --name=project
```

To start the Jupyter Lab server, run the following command:

```bash
uv run --with jupyter jupyter lab
```

The Jupyter Lab server will start on [http://localhost:8888](http://localhost:8888).

## Development

### Formatting

To format the code, run the following command:

```bash
uvx ruff format
```