Scan your whole stack
Are you using birdnet?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v1.6.0
birdnet was last scanned on 24 Nov 2026 at version 1.6.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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.
The library is optimized for a minimal memory footprint and maximum scalability, making it suitable for both edge devices and high-performance computing clusters.
| 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.
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")
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).
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.
sudo apt-get install libsndfile1brew install libsndfile| 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.
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.
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.
| 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.
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).
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):
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.