Skip to main content

Python package that simplifies using the BioCLIP foundation model.

Project description

pybioclip

DOI

PyPI - Version PyPI - Python Version


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


Download files

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

Source Distribution

pybioclip-2.1.3.tar.gz (2.8 MB view details)

Uploaded Source

Built Distribution

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

pybioclip-2.1.3-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

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

Hashes for pybioclip-2.1.3.tar.gz
Algorithm Hash digest
SHA256 deba4072d03a6a52af7133a70278a042e7bc7eb833f53c689ebb8ef8237c47f4
MD5 24cbb6f16c7809efb527372f55c91003
BLAKE2b-256 e89e8ba364a6a55b0f233439036f0363dc8c80021c95b7a874f21e548c2053f4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybioclip-2.1.3.tar.gz:

Publisher: publish-to-pypi.yml on Imageomics/pybioclip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for pybioclip-2.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ec16a54e1037907697dcec1ddc5b4399f728b8b6c96d78b371c5307e4b43f8dc
MD5 8e0166491cdee67667a9eaedf3bc3586
BLAKE2b-256 a1e2edc0f73e7b2312822d3bdc0c2f4cb37106bd7cba54ba99bf2acf10294c38

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybioclip-2.1.3-py3-none-any.whl:

Publisher: publish-to-pypi.yml on Imageomics/pybioclip

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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