Skip to main content

ipyannote

Installation

pip install ipyannote

or with uv:

uv add ipyannote

Development

We recommend using uv for development. It will automatically manage virtual environments and dependencies for you.

uv run jupyter lab example.ipynb

Alternatively, create and manage your own virtual environment:

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:

npm install

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

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.

Keyboard and gamepad shortcuts

The Waveform widget supports both keyboard shortcuts and standard gamepads. Click the waveform to give it focus before using either.

Gamepad bindings follow the W3C standard gamepad layout, which maps actions to button positions. Physical labels, however, differ by manufacturer: this table uses Xbox-style labels (A/B/X/Y). If you use a Nintendo-style controller, A and B (as well as X and Y) are physically swapped. The gamepad notation below uses 🕹️ for an analog stick, for a stick click, for left/right axis, for up/down axis, and for the D-pad.

Playback

Feature Mouse Keyboard Gamepad
Toggle play/pause Space L 🕹️
Scrub playback L 🕹️
Scrub playback faster Shift+ L 🕹️ + A
Zoom in/out Ctrl+🖱️ scroll Z / Shift+Z R 🕹️
Loop on selection or selected region L B
Toggle beep sound on region in/out B
Toggle gap visualization G
Toggle action HUD H

Selection

Feature Mouse Keyboard Gamepad
Toggle selection 🖱️L + drag S R 🕹️
Edit selection start / L 🕹️
Edit selection end Shift+ / Shift+ R 🕹️
Remove the selection Escape A

Regions

Feature Mouse Keyboard Gamepad
Create a region 🖱️L×2 Enter X
Split region Shift+Enter R₂
Delete selected region Delete or Shift+Backspace Y
Select region 🖱️L on region L₂
Select previous/next region Tab / Shift+Tab L₁/R₁
Edit selected region start L 🕹️
Edit selected region end Shift+ R 🕹️
Unselect region Escape A

Labels

Feature Mouse Keyboard Gamepad
Cycle next/previous label for selected region > / <

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipyannote-0.7.0.tar.gz (86.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipyannote-0.7.0-py3-none-any.whl (100.2 kB view details)

Uploaded Python 3

File details

Details for the file ipyannote-0.7.0.tar.gz.

File metadata

  • Download URL: ipyannote-0.7.0.tar.gz
  • Upload date:
  • Size: 86.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ipyannote-0.7.0.tar.gz
Algorithm Hash digest
SHA256 52b18a09aedd459373151a706146ced3cc0b4be6fe71cb39e5035711724e7ad9
MD5 e88b8cc5bc75db8d9f8885586ced3f36
BLAKE2b-256 6447df4e92af0cf957c14b53b839ebfc16e3135a8904d26e9a21ab142ed9a574

See more details on using hashes here.

File details

Details for the file ipyannote-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: ipyannote-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 100.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for ipyannote-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17bb4b9b7d50d6117fc2360d1912a6eddc90c0ddbd17d05245b29d126a936075
MD5 53658ff66f7e8e879b62f67876d4bcfe
BLAKE2b-256 55e262bbf8761015b2f5f64bf5f91ac927d976067e2079fce62c9b5f757ebdb9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page