Python package that simplifies using the BioCLIP foundation model.
Project description
pybioclip
Command line tool and python package to simplify using BioCLIP (current and earlier versions), including for taxonomic or other label prediction on (and thus annotation or labeling of) images, as well as for generating semantic embeddings for images. No particular understanding of ML or computer vision is required to use it. It also implements a number of performance optimizations for batches of images or custom class lists, which should be particularly useful for integration into computational workflows.
Documentation
See the pybioclip documentation website for requirements, installation instructions, and tutorials.
License
pybioclip is distributed under the terms of the MIT license.
Citation
Our code (this repository):
@software{Bradley_pybioclip_2025,
author = {Bradley, John and Lapp, Hilmar and Campolongo, Elizabeth G.},
doi = {10.5281/zenodo.13151194},
month = sept,
title = {{pybioclip}},
version = {2.1.3},
year = {2025}
}
Unless you selected (via --model) a model different from the default (which is now BioCLIP 2), please also cite the BioCLIP 2 paper:
@inproceedings{gu2025bioclip,
title={Bio{CLIP} 2: Emergent Properties from Scaling Hierarchical Contrastive Learning},
author={Jianyang Gu and Samuel Stevens and Elizabeth G Campolongo and Matthew J Thompson and Net Zhang and Jiaman Wu and Andrei Kopanev and Zheda Mai and Alexander E. White and James Balhoff and Wasila Dahdul and Daniel Rubenstein and Hilmar Lapp and Tanya Berger-Wolf and Wei-Lun Chao and Yu Su},
booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems},
year={2025},
url={https://openreview.net/forum?id=yPC9zmkQgG}
}
If you selected the original BioCLIP model (using --model), please cite the original BioCLIP paper:
@inproceedings{stevens2024bioclip,
title = {{B}io{CLIP}: A Vision Foundation Model for the Tree of Life},
author = {Samuel Stevens and Jiaman Wu and Matthew J Thompson and Elizabeth G Campolongo and Chan Hee Song and David Edward Carlyn and Li Dong and Wasila M Dahdul and Charles Stewart and Tanya Berger-Wolf and Wei-Lun Chao and Yu Su},
booktitle={Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
year = {2024}
}
Also consider citing the BioCLIP code:
@software{bioclip2023code,
author = {Samuel Stevens and Jiaman Wu and Matthew J. Thompson and Elizabeth G. Campolongo and Chan Hee Song and David Edward Carlyn},
doi = {10.5281/zenodo.10895871},
title = {BioCLIP},
version = {v1.0.0},
year = {2024}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pybioclip-2.1.3.tar.gz.
File metadata
- Download URL: pybioclip-2.1.3.tar.gz
- Upload date:
- Size: 2.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
deba4072d03a6a52af7133a70278a042e7bc7eb833f53c689ebb8ef8237c47f4
|
|
| MD5 |
24cbb6f16c7809efb527372f55c91003
|
|
| BLAKE2b-256 |
e89e8ba364a6a55b0f233439036f0363dc8c80021c95b7a874f21e548c2053f4
|
Provenance
The following attestation bundles were made for pybioclip-2.1.3.tar.gz:
Publisher:
publish-to-pypi.yml on Imageomics/pybioclip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybioclip-2.1.3.tar.gz -
Subject digest:
deba4072d03a6a52af7133a70278a042e7bc7eb833f53c689ebb8ef8237c47f4 - Sigstore transparency entry: 1292731997
- Sigstore integration time:
-
Permalink:
Imageomics/pybioclip@5042999391b23eb93d887e5b235023b05b9a4806 -
Branch / Tag:
refs/tags/2.1.3 - Owner: https://github.com/Imageomics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@5042999391b23eb93d887e5b235023b05b9a4806 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pybioclip-2.1.3-py3-none-any.whl.
File metadata
- Download URL: pybioclip-2.1.3-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ec16a54e1037907697dcec1ddc5b4399f728b8b6c96d78b371c5307e4b43f8dc
|
|
| MD5 |
8e0166491cdee67667a9eaedf3bc3586
|
|
| BLAKE2b-256 |
a1e2edc0f73e7b2312822d3bdc0c2f4cb37106bd7cba54ba99bf2acf10294c38
|
Provenance
The following attestation bundles were made for pybioclip-2.1.3-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on Imageomics/pybioclip
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pybioclip-2.1.3-py3-none-any.whl -
Subject digest:
ec16a54e1037907697dcec1ddc5b4399f728b8b6c96d78b371c5307e4b43f8dc - Sigstore transparency entry: 1292732047
- Sigstore integration time:
-
Permalink:
Imageomics/pybioclip@5042999391b23eb93d887e5b235023b05b9a4806 -
Branch / Tag:
refs/tags/2.1.3 - Owner: https://github.com/Imageomics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@5042999391b23eb93d887e5b235023b05b9a4806 -
Trigger Event:
release
-
Statement type: