Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

biotimbre

Latest version: v0.2.0

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: biodiversica
0 Stars
0 Forks
2 Versions
78 Downloads
Python Repo language

Scan summary

biotimbre was last scanned on 23 Nov 2026 at version 0.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions; the latest was published on 23 Nov 2026.
  • Findings: No rules fired in version 0.2.0.
  • Downloads: 78 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.0 LATEST 23 Nov 2026 No rules fired
0.1.0 23 Oct 2026 No rules fired

No rules fired in 0.2.0

Findings

Findings for v0.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

((-)) biotimbre

English · Português (Brasil)

Biotimbre is a tool for building and managing libraries of animal sound templates, with similarity search based on audio embeddings. Embeddings are computed with ONNX backbones through onnxruntime; Perch v2 and BirdNET 2.4 are supported by default.

Each library stores the recordings, their metadata and their embedding vectors in a single folder. Libraries can be used through a web interface or from the command line, searched by sound and by metadata, exported for analysis, and shared item by item with other libraries.

Installation

Without Python. The installer sets up everything required and adds a biotimbre shortcut that opens the web interface. Running it again upgrades the installation.

On Windows, open PowerShell and run:

powershell -ExecutionPolicy ByPass -c "irm https://github.com/biodiversica/biotimbre/releases/latest/download/install.ps1 | Out-String | iex"

On macOS and Linux, open a terminal and run:

curl -LsSf https://github.com/biodiversica/biotimbre/releases/latest/download/install.sh | sh

The installer first lists what it is going to do and asks for confirmation before changing anything. It then performs the following steps:

  1. Installs uv into ~/.local/bin if it is not already present. uv downloads its own Python, so no prior installation is required, and any existing Python installation is left unchanged.
  2. On Windows, installs the current Microsoft Visual C++ Redistributable (x64) if the one present is older than 14.40, the version the models need. Windows asks for an administrator's permission for this step.
  3. Runs uv tool install --python 3.12 "biotimbre[gui]", which installs biotimbre with its web interface and adds biotimbre to the PATH.
  4. Creates a working folder, ~/biotimbre, in which the interface starts and offers to create the first library.
  5. Adds a biotimbre launcher that runs biotimbre gui in that folder: a Desktop and Start menu shortcut on Windows, biotimbre.command on the macOS Desktop, and an applications menu entry on Linux. The launcher opens a terminal window next to the browser. This window runs the server, and closing it (or pressing Ctrl+C) stops the server.

Two environment variables change the installer's defaults: BIOTIMBRE_PACKAGE (the package to install, for example biotimbre without the interface) and BIOTIMBRE_WORKDIR (the working folder). BIOTIMBRE_YES=1 skips the confirmation, for installing or uninstalling from a script.

Uninstalling. Run the installer again with BIOTIMBRE_UNINSTALL set. It lists what it is going to remove and asks for confirmation first. On Windows, close the biotimbre window first, then run in PowerShell:

powershell -ExecutionPolicy ByPass -c '$env:BIOTIMBRE_UNINSTALL=1; irm https://github.com/biodiversica/biotimbre/releases/latest/download/install.ps1 | Out-String | iex'

On macOS and Linux:

curl -LsSf https://github.com/biodiversica/biotimbre/releases/latest/download/install.sh | BIOTIMBRE_UNINSTALL=1 sh

This removes biotimbre and its launcher. With BIOTIMBRE_UNINSTALL=all instead of 1, it also removes the downloaded models and what the interface remembers (language, theme, recent libraries). Libraries are never removed, and neither is uv, which other programs may use. A plain uv tool uninstall biotimbre removes only the program, leaving a launcher that no longer works: delete it by hand (on Windows, biotimbre on the Desktop and in the Start menu).

With uv or pip. The web interface is an optional extra, so a headless or command-line-only installation stays small:

uv tool install --python 3.12 "biotimbre[gui]"   # with the web interface
uv tool install --python 3.12 biotimbre          # command line only
pip install "biotimbre[gui]"                     # or with pip, into the current environment

On Windows, the models need a current Microsoft Visual C++ Redistributable (14.40 or newer). Without it, biotimbre still runs, but the models fail to load and the interface and command line say why.

uv tool upgrade biotimbre upgrades and uv tool uninstall biotimbre uninstalls. To work on biotimbre itself, see Development; from a source checkout, prefix the commands in this document with uv run.

First run. The first start downloads the Perch and BirdNET models (approximately 70 MB) and caches them; no network connection is required afterwards. A library can be created from the interface, or from the command line:

biotimbre init --name "My Library"

The --name option is required the first time a library is initialised. Every library has a name and a UUID, generated once and stable for its lifetime, so that it remains identifiable after being shared: copying the data directory transfers both. The name and UUID are shown in the interface header and by biotimbre stats. Running init --name "..." again renames the library.

Library Location

By default, the library is stored in ./data, relative to the current directory. The location can be set in three ways:

# 1. For a single invocation
biotimbre --data-dir /media/drive/biotimbre list

# 2. With a configuration file in the working directory (or --config /path/to/it)
echo '[library]
data_dir = "/media/drive/biotimbre"' > biotimbre.toml

# 3. With an environment variable pointing to a configuration file
export BIOTIMBRE_CONFIG=/media/drive/biotimbre/biotimbre.toml

--data-dir takes precedence over the configuration file. Relative paths in a configuration file are resolved against the directory containing that file, not the working directory, so a configuration file and its library can be moved together.

Opening an existing library. No separate step is required: every command opens the database and creates anything that is missing.

biotimbre --data-dir /media/drive/biotimbre list

init may be run safely on a populated library; it only creates what is absent and downloads the models. Stored audio paths are relative to the data directory, so the whole folder can be moved or renamed without breaking any reference.

Web Interface

biotimbre gui        # http://127.0.0.1:8080

The server listens on the loopback interface by default; serving it to other machines requires an explicit --host. Models are loaded in the background, so the interface is usable while the header reports their progress. --no-map disables the location map, which is the only component that accesses the network on its own.

The interface has two pages, Library and Search, presented as tabs. Both remain loaded while switching between them, so entered values, staged recordings and search results are preserved. The address bar follows the active page, so reloading, bookmarks and the browser's back and forward buttons behave as expected.

Library Page

The Library page is divided into three collapsible sections.

  • Library items — library totals, a map of every item and the item list. The totals are followed by the speeds present in the library and by its taxa, each with its number of items; when there are many taxa, the most frequent are shown first and the rest can be expanded. Selecting an item opens a dialog with its full metadata, its spectrogram or waveform, a player, and buttons to export, edit or delete it. Editing warns before saving a change of speed, since that requires recomputing the embeddings. Export CSV downloads the metadata of every item as a table (see Exporting Data).
  • Add an item — uploads a recording and its metadata. The spectrogram and sample rate are shown before anything is stored, with each model's frequency limit indicated. The recording can be trimmed, filtered and normalised before it is stored (see Audio Preparation). Validation errors are shown on the corresponding field.
  • Import items — loads a .btz bundle from another library, or adds every item of another library on the same computer, with a preview of the outcome that can be adjusted before anything is added (see Sharing Items Between Libraries).

The recording location is entered in a single field as latitude, longitude in decimal degrees. A comma, a semicolon or spaces are accepted as separators, so coordinates copied from mapping services, GPS applications or field notes can be pasted directly. Pick on map sets the location by clicking on a map instead.

Search Page

The Search page takes a query recording and returns the most similar library items, ranked by score.

  • The query is prepared with the same controls as the Library page's add form (trimming, filtering, normalisation and speed), and the prepared copy is what is searched. The selection is limited to 15 s; for a longer file, a segment of at most 15 s is selected on the spectrogram.
  • Filters restrict the search by taxa, date range, distance from a centre point, and biotimbre ID. A search may also be run with filters only and no recording, in which case the matching items are listed without scores, newest first.
  • Options set the query speed, the maximum number of results, the similarity metric, how the models' scores are combined, and a minimum score.

Each result shows its score, the per-model breakdown, its own player, and a spectrogram on which the window that produced the score is marked. The query remains playable at the top of the page for comparison by ear. Each result also provides:

  • Details — a read-only dialog with the item's full metadata, as on the Library page but without the edit and delete options.
  • Export — the item's audio, its embeddings or a shareable bundle.
  • A shortened biotimbre ID which, when clicked, copies the full UUID to the clipboard, for use in the biotimbre ID filter or in another library.

Export CSV, next to the result count, downloads the displayed results as a table. Add to library… opens the Library page's add form with the query recording and all of its settings (and, for a recording fetched from iNaturalist, the observation's metadata) so that a new recording can be added to the library. Nothing is stored until the form is saved. This option is not available in search-only mode.

Search-Only Mode
biotimbre --data-dir ./library gui --search-only

This mode allows other people to search a library without being able to modify it. The Library page is not served (/ redirects, so the page and its handlers are never created), the library chooser is not available, and the database is opened read-only, which makes this a guarantee rather than a hidden tab. The header displays Search only to indicate the mode.

The library must already exist: --search-only requires one named with --data-dir (or library.data_dir) and creates nothing, so a mistyped path is reported as an error rather than producing a new, empty library. A library whose schema requires an upgrade is also refused, since migrating it is a write; such a library must first be opened once without the flag.

Every feature of the Search page remains available, including downloading a result's audio or exporting it as a bundle. The mode prevents the library from being changed; it does not restrict reading its contents. To make it reachable from another machine, combine it with --host:

biotimbre --data-dir ./library gui --search-only --host 0.0.0.0

The equivalent configuration, for a machine that should only serve searches:

[ui]
search_only = true
Selecting a Library at Startup

When biotimbre gui is started without --data-dir, it does not open or create a library on its own. The first page asks, with two choices:

  • Create a new library takes a name and a location. The library is created in a new folder of its own inside that location, named after it (Atlantic Forest Cicadas becomes atlantic-forest-cicadas), and the full path is shown before anything is created. A folder that already exists and is not empty is refused.
  • Open an existing library browses to a library; folders that contain one are marked. A folder without a library is reported rather than turned into a new one, so a mistyped path cannot produce an empty library by accident.

Libraries opened from the same browser are offered again on the next visit. A data_dir in a configuration file does not skip this page: the library it names is offered first, or, if it does not exist yet, offered for creation at that path. Only --data-dir opens a library directly. The other commands, and gui --search-only, which has no chooser, still use the configured data_dir.

Browsing is not restricted to $HOME, since libraries are often kept on external drives and mounted archives. Because this listing is the only part of the interface where a request names a filesystem path, it exists only while no library is open and is withdrawn as soon as one is.

Command-Line Interface

Command Reference
biotimbre init [--name NAME] [--skip-models]   # --name is required until one is set
biotimbre add AUDIO [--sidecar FILE | metadata options]
biotimbre import-dir DIR                       # every file paired with a sidecar
biotimbre list [--biotimbre-id ID] [--limit N]
biotimbre show ITEM_ID
biotimbre delete ITEM_ID [-y] [--keep-audio]
biotimbre search AUDIO [-k N] [filters]
biotimbre models                               # registered models and vector counts
biotimbre backfill MODEL_ID                    # embed items missing this model
biotimbre export-npy ITEM_ID MODEL_ID OUT [--with-audio]
biotimbre export-csv OUT                       # metadata of every item as CSV
biotimbre export-bundle ITEM_ID... -o FILE [--no-embeddings]
biotimbre import-bundle FILE [--dry-run] [options]
biotimbre import-library DIR [--dry-run] [options]   # add another library's items to this one
biotimbre stats
biotimbre gui [--host H] [--port P] [--no-browser] [--no-map] [--search-only]

Global options: --data-dir, --config, --models.

Examples
# Add a recording with explicit metadata. Coordinates are given as separate
# options, since argparse cannot accept "--location -26,-48" (the value
# begins with a minus sign).
biotimbre add katydid.wav \
    --date 2021-03-05 --time 22:10:00 \
    --latitude -26.9 --longitude -48.7 \
    --window-start 12 --window-end 17 \
    --taxa orthoptera insecta --device Audiomoth \
    --highpass 8000 --lowpass 40000 --speed 0.25

# Search, with filters applied before scoring
biotimbre search query.wav -k 5 \
    --taxa cicadidae --latitude -26 --longitude -48 --radius-km 50 \
    --date-from 2020-01-01

# A query longer than the limit requires an explicit segment
biotimbre search dawn_chorus.wav --start-time 92 --end-time 99

Further search options: --metric {cosine,dot,euclidean}, --fusion {max,mean,MODEL_ID}, --min-score, --query-speed, --taxa-all, --date-to, --biotimbre-id, --exclude.

Metadata

Fields

Required: date (YYYY-MM-DD), time (HH:MM:SS) and location (latitude and longitude in decimal degrees).

Optional:

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases biotimbre

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Frame 2085668439 (1)
Group 1261154229