https://github.com/paddymul/marimo-anywidget-styling
https://github.com/paddymul/marimo-anywidget-styling
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/paddymul/marimo-anywidget-styling
- Owner: paddymul
- Created: 2025-04-04T14:45:21.000Z (2 months ago)
- Default Branch: main
- Last Pushed: 2025-04-04T15:56:48.000Z (2 months ago)
- Last Synced: 2025-04-04T16:42:58.343Z (2 months ago)
- Language: Jupyter Notebook
- Size: 369 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.