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

https://github.com/paddymul/marimo-anywidget-styling


https://github.com/paddymul/marimo-anywidget-styling

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# anywidget_styling

## Installation

```sh
pip install anywidget_styling
```

or with [uv](https://github.com/astral-sh/uv):

```sh
uv add anywidget_styling
```

## Development

We recommend using [uv](https://github.com/astral-sh/uv) for development.
It will automatically manage virtual environments and dependencies for you.

```sh
uv run jupyter lab example.ipynb
```

Alternatively, create and manage your own virtual environment:

```sh
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
jupyter lab example.ipynb
```

The widget front-end code bundles it's JavaScript dependencies. After setting up Python,
make sure to install these dependencies locally:

```sh
npm install
```

While developing, you can run the following in a separate terminal to automatically
rebuild JavaScript as you make changes:

```sh
npm run dev
```

Open `example.ipynb` in JupyterLab, VS Code, or your favorite editor
to start developing. Changes made in `js/` will be reflected
in the notebook.