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

birdnet

Latest version: v1.6.0

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: johau, stefantaubert
169 Stars
23 Forks
7 Versions
6.1K Downloads
Python Repo language

Scan summary

birdnet was last scanned on 24 Nov 2026 at version 1.6.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest 3 were published within 6 days (19–24 Nov 2026).
  • Findings: No rules fired in version 1.6.0.
  • Downloads: 6,100 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.6.0 LATEST 24 Nov 2026 No rules fired
1.5.1 19 Nov 2026 No rules fired
1.5.0 19 Nov 2026 No rules fired
1.4.0 31 Oct 2026 Not shown
1.3.1 18 Oct 2026 Not shown

No rules fired in 1.6.0

Findings

Findings for v1.6.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 1.6.0; other versions have their own rules, not their own score.

README

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

birdnet

CI PyPI PyPI MIT Support our work

A Python library for identifying bird species by their sounds.

The library is geared towards providing a robust workflow for ecological data analysis in bioacoustic projects. While it covers essential functionalities, it doesn’t include all the features found in BirdNET-Analyzer, which is available here. Some features might only be available in the BirdNET Analyzer and not in this package.

[!NOTE] This project is under active development, so you might encounter changes that could affect your current workflow. We recommend checking for updates regularly.

The package is also available as an R package at: birdnetR.

Features

  • 🐦 Extract classification scores and embeddings from audio recordings — 6,522 classes (V2.4) or 11,725 classes (V3.0)
  • 📍 Predict species presence for a given location and time — 6,522 classes (V2.4) or 14,082 species (V3.0)
  • 🧠 Utilize your custom-trained acoustic models from BirdNET-Analyzer
  • ⚙️ Support for both CPU and GPU execution (including multiple GPUs at the same time)
  • 🚀 Multiprocessing support for fast batch analysis of large datasets
  • 💾 Low memory footprint and small disk space requirements
  • 🎵 Support for various audio file formats (WAV, FLAC, OGG, MP3, etc.)
  • 📊 Export results in various output file formats (CSV, Arrow table, Parquet, Numpy, etc.)
  • 💻 Cross-platform: Windows, macOS, and Linux
  • 🌍 Use multilingual species names (English, German, French, Spanish, etc.)
  • ⬇️ Auto-download of all official models
  • 🛜 Full offline usage using local (custom) model files

The library is optimized for a minimal memory footprint and maximum scalability, making it suitable for both edge devices and high-performance computing clusters.

Speed benchmarks

Device Specs Disk OS Real-time factor Time to predict 1 h
Intel i7 8th Gen 4 cores NVMe Windows 50× 72 s
Ryzen 7 3800X 8 cores NVMe Linux 420× 8.5 s
Nvidia Titan RTX 24 GB VRAM NVMe Linux 2460× 1.5 s

For more detailed benchmarks, please refer to the documentation.

Installation

Instructions

TensorFlow is an optional dependency. The base package ships ONNX Runtime and LiteRT wherever they have wheels (everywhere but Python 3.15 and macOS x86_64 on Python 3.14 for ONNX Runtime; see the footnote for LiteRT), so it runs the V3.0 models out of the box; the TensorFlow-based backends come with the tf extra:

# Base: acoustic 3.0 + geo 3.0 via the onnx backend, 2.4 models via LiteRT
pip install birdnet --user

# TensorFlow: the tf (TFLite) and pb (ProtoBuf) backends, i.e. the 2.4 models with
# default settings, custom classifiers, Perch V2 and geo 3.0 tf
pip install birdnet[tf] --user

# TensorFlow with CUDA (Linux; NVIDIA driver and CUDA need to be installed in advance)
pip install birdnet[and-cuda] --user

# PyTorch backend for the 3.0 models (.pt models)
pip install birdnet[pt] --user
Install Runtimes Enables
birdnet ONNX Runtime, LiteRT* acoustic 3.0 and geo 3.0 (onnx); acoustic 2.4, custom 2.4 classifiers and geo 2.4 (tf with library="litert")
birdnet[tf] + TensorFlow tf with the default TFLite interpreter and pb for all models: acoustic/geo 2.4, acoustic/geo 3.0, custom TFLite/ProtoBuf/Raven classifiers, Perch V2
birdnet[and-cuda] + TensorFlow with CUDA (Linux) as [tf], plus GPU for the pb backends
birdnet[pt] + PyTorch acoustic 3.0 and geo 3.0 (pt, CPU/GPU)
birdnet[onnx] (compatibility alias) ONNX Runtime is part of the base install
birdnet[repro] exact pinned versions incl. TensorFlow reproducible results (Python 3.12, CPU)

* LiteRT (ai-edge-litert) is installed with the base package on Linux, macOS ARM64 and Windows x86_64 for Python 3.11–3.13 (no wheels elsewhere or for Python 3.15; on 3.14 add it with pip install ai-edge-litert). It runs the 2.4 .tflite models (acoustic 2.4, custom 2.4 classifiers, geo 2.4; pass library="litert" to birdnet.load(..)) and does not need TensorFlow. Without the tf extra, birdnet.load("acoustic", "2.4", "tf") raises a ValueError naming both options.

import birdnet

if __name__ == "__main__":
  # base install
  model_onnx = birdnet.load("acoustic", "3.0", "onnx")
  predictions_onnx = model_onnx.predict("example/soundscape.wav")

  model_litert = birdnet.load("acoustic", "2.4", "tf", library="litert")
  predictions_litert = model_litert.predict("example/soundscape.wav")

  # birdnet[tf]: the default TFLite interpreter
  model_tflite = birdnet.load("acoustic", "2.4", "tf")
  predictions_tflite = model_tflite.predict("example/soundscape.wav")
Platform support and Python versions

The TensorFlow-based backends (birdnet[tf]) are limited to the platforms and Python versions TensorFlow ships wheels for:

Platform Architecture ProtoBuf-CPU ProtoBuf-GPU TFLite LiteRT
Linux x86_64 3.11, 3.12, 3.13 3.11, 3.12, 3.13 3.11, 3.12, 3.13 3.11, 3.12, 3.13
ARM64 3.11, 3.12, 3.13 / 3.11, 3.12, 3.13 3.11, 3.12, 3.13
MacOS x86_64 3.11, 3.12 / 3.11, 3.12 /
ARM64 3.11, 3.12, 3.13 / 3.11, 3.12, 3.13 3.11, 3.12, 3.13
Windows x86_64 3.11, 3.12, 3.13 / 3.11, 3.12, 3.13 3.11, 3.12, 3.13
ARM64 / / / /

For details see the official TensorFlow documentation. The base install (onnx backend, pt extra) has no such restriction beyond ONNX Runtime's and PyTorch's own wheels (ONNX Runtime's last macOS x86_64 build is 1.23.2, with no Python 3.14 wheel, and ONNX Runtime has no Python 3.15 wheels).

Python 3.14 and 3.15

TensorFlow does not yet publish wheels for Python 3.14, so birdnet[tf] installs nothing extra there and the table above stops at 3.13. The base install works as everywhere else: the acoustic 3.0 and geo 3.0 models via onnx (or pt), and — after pip install ai-edge-litert — the acoustic 2.4 model, custom 2.4 classifiers and the geo 2.4 model via the tf backend on LiteRT (library="litert"). The TensorFlow-only paths — the pb backend, the tf backend with the default tflite interpreter, and the Perch model — raise a clear error on Python 3.14; to use them, install birdnet[tf] on Python 3.11–3.13.

Python 3.15 has no wheels for ONNX Runtime, LiteRT or TensorFlow, so there the base install brings no model runtime. Install birdnet[pt] to run the acoustic 3.0 and geo 3.0 models via pt (not on macOS x86_64, which has no PyTorch wheels). The 2.4 models and custom 2.4 classifiers need Python 3.11–3.14 (LiteRT); the TensorFlow-only paths, including the Perch model, need Python 3.11–3.13.

If you encounter issues with audio file reading, please ensure that libsndfile is installed on your system.

  • Ubuntu/Debian: sudo apt-get install libsndfile1
  • macOS (using Homebrew): brew install libsndfile
  • Windows: Download and install the precompiled binaries from the official website, extract them and add the folder to path.

Supported operations, precisions and devices

V2.4
Model Acoustic Acoustic Acoustic Geo Geo
Backend TFLite/LiteRT ProtoBuf ProtoBufRaven* TFLite/LiteRT ProtoBuf
predict(..) ✅ ✅ ✅ ✅ ✅
encode(..) ✅ ✅ ❌ ❌ ❌
INT8 CPU ❌ ❌ ❌ ❌
FP16 CPU ❌ ❌ ❌ ❌
FP32 CPU CPU/GPU CPU/GPU CPU CPU/GPU

✅ = Supported ❌ = Not supported\ *ProtoBuf Raven is only available for custom acoustic models.

V3.0

The V3.0 acoustic and geo models are both available in four backends (TFLite/LiteRT, ProtoBuf, PyTorch and ONNX). ONNX Runtime is part of the base install; TFLite and ProtoBuf require birdnet[tf], and the PyTorch backend requires birdnet[pt].

Model Acoustic Acoustic Acoustic Acoustic Geo Geo Geo Geo
Backend TFLite/LiteRT ProtoBuf PyTorch ONNX TFLite/LiteRT ProtoBuf PyTorch ONNX
predict(..) ✅ ✅ ✅ ✅ ✅ ✅ ✅ ✅
encode(..) ✅ ✅ ✅ ✅ ❌ ❌ ❌ ❌
INT8 ❌ ❌ ❌ ❌ CPU ❌ ❌ ❌
FP16 CPU ❌ ❌ CPU/GPU CPU ❌ ❌ CPU/GPU
FP32 CPU CPU/GPU CPU/GPU CPU/GPU CPU CPU/GPU* CPU/GPU CPU/GPU

✅ = Supported ❌ = Not supported\ *The geo ProtoBuf model runs on a GPU only while TensorFlow's oneDNN optimizations are off: set TF_ENABLE_ONEDNN_OPTS=0 before TensorFlow is imported (#167).

Load a V3.0 model by passing the version and backend, e.g. birdnet.load("acoustic", "3.0", "onnx") or birdnet.load("geo", "3.0", "tf").

The acoustic V3.0 tf and pb exports have a static batch dimension of 1, so batch_size above 1 raises a ValueError for them (workers still run in parallel); onnx and pt take any batch size. The official V3.0 SavedModel (pb) and ONNX exports return NaN scores for a segment with no variance, such as digital silence.

Custom classifiers

Classifiers trained with BirdNET-Analyzer load with birdnet.load_custom, on the BirdNET 2.4 and the 3.0 base:

import birdnet

if __name__ == "__main__":
  # TFLite export; "auto" reads the base version from the file
  model = birdnet.load_custom("acoustic", "auto", "tf", "CustomClassifier.tflite", "CustomClassifier_Labels.txt")
  predictions = model.predict("example/soundscape.wav")

  # What a file is, without importing TensorFlow into this process
  info = birdnet.inspect_custom_tflite("CustomClassifier.tflite")
  info.version, info.mode, info.n_species  # e.g. ("3.0", "append", 11728)

  # Raven export (SavedModel with the "basic" signature)
  raven = birdnet.load_custom("acoustic", "3.0", "pb", "CustomClassifier", "CustomClassifier/labels/label_names.csv", is_raven=True)
Export TFLite 2.4 TFLite 3.0 Raven 2.4 Raven 3.0
predict(..) ✅ ✅ ✅ ✅
encode(..) ✅ ✅ ❌ ❌
Scores logits, sigmoid applied by birdnet sigmoid applied in the model sigmoid applied in the model sigmoid applied in the model
batch_size > 1 ✅ ❌ ✅ ❌

For exports that apply the sigmoid themselves, a sigmoid_sensitivity other than 1.0 is applied on logits recovered from their scores, so it has the same effect as on a 2.4 export, and apply_sigmoid=False ignores it as there; apply_softmax=True raises a ValueError. Detached classifier heads (*_detached.tflite, which take embeddings instead of audio) are rejected with a message naming them.

Perch V2
Model Acoustic Geo
Backend ProtoBuf ❌
predict(..) ✅ ❌
encode(..) ✅ ❌
INT8 ❌ ❌
FP16 ❌ ❌
FP32 CPU/GPU ❌

Note: Perch can not be run on Intel macOS systems due to compatibility issues with TensorFlow.

Example usage

The examples use the 2.4 models on the tf backend, which needs pip install birdnet[tf] (or library="litert" on the base install, see Installation).

Identify species within an audio file
import birdnet

if __name__ == "__main__":
  model = birdnet.load("acoustic", "2.4", "tf")

  predictions = model.predict(
    "example/soundscape.wav",
    # predict only the species from the file
    custom_species_list="example/species_list.txt",
  )

  predictions.to_csv("example/predictions.csv")

Audio is analyzed in worker processes, and each of them imports your script again. In a script, the code that calls birdnet therefore has to be under if __name__ == "__main__":; code typed into an interactive interpreter needs no guard.

The resulting predictions look like this (excerpt, scores may vary):

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 birdnet

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

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229