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
- Host: GitHub
- URL: https://github.com/perer876/random-walks
- Owner: Perer876
- License: apache-2.0
- Created: 2025-02-12T01:26:01.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-13T06:23:23.000Z (4 months ago)
- Last Synced: 2025-02-13T06:35:32.849Z (4 months ago)
- Topics: homework, jupyter-notebook, random-walks
- Language: Jupyter Notebook
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```