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

To cite this repository, please use the citation provided by Cite this repository in the sidebar, which uses the information in the CITATON.cff file. If you need a citation with a version-specific DOI, you can obtain this by following the Zenodo DOI badge at the top of this file.

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.5.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.5-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file pybioclip-2.1.5.tar.gz.

File metadata

  • Download URL: pybioclip-2.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 8caa75a4dc944e36eba97ffc0dc8bc9fe43cf216324557bf10ce8cf4f7aa1fff
MD5 162a026f3dfd2af231f8353a1c4b768c
BLAKE2b-256 effc7e3bbfda1a4e93b3684eec87ce4332c250cddd6c09ba24a9c72d68e60209

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybioclip-2.1.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: pybioclip-2.1.5-py3-none-any.whl
  • Upload date:
  • Size: 18.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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 3d494957aa569e8dbf0a6e59663f07a8ee6e1447ad30d7d19dba0fd1f840c523
MD5 775bab921a53492786e9f5bbf4f5274a
BLAKE2b-256 3e3294754bdbfd7c63b45b5528d54c8fa4c52f9e33247213343e955001a59a2c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pybioclip-2.1.5-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