BactoVision
A jupyter widget for annotating and visualizing bacterial growth data
Bactovision provides a widget for jupyter notebook for fast semi-automated annotation of bacterial growth images. It is used in the following paper:
Tyrosine auxotrophy shapes Staphylococcus aureus nasal colonization and interactions with commensal communities L. Camus et al. 2025 (submitted)
Installation
Use pip to install the package:
pip install bactovision
or install from source:
git clone git@github.com:StarostinV/bactovision.git
cd bactovision
pip install .
Documentation
Please see the full documentation here.
Basic usage
Start a jupyter notebook:
jupyter notebook
In the notebook, create a widget:
from bactovision import BactoWidget
# Create a widget with an image
widget = BactoWidget('path/to/image.png')
# Display the widget
widget
To get the mask and the metrics after the annotation is completed, run:
annotation_mask = widget.get_annotation_mask()
metrics = widget.get_metrics()
Release files for bactovision 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bactovision-0.1.2.tar.gz | 7.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bactovision-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 MB
Release files / bactovision-0.1.2.tar.gz
| Download URL | bactovision-0.1.2.tar.gz |
|---|---|
| Size | 7.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5148f6b8c53bd51180383413d4269e7586ed4ad50a36c77fc889e1b89f6209c2
|
|
BLAKE2b-256 checksum How to use checksums |
ce70af123fb238f3688d85590ddb1fad2af0eab4ce2285555d67016feba1abf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / bactovision-0.1.2-py3-none-any.whl
| Download URL | bactovision-0.1.2-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7f85bf2dc1f749c199711e1cf4d66568d600b9b2fac0dca31731ffaad455bf77
|
|
BLAKE2b-256 checksum How to use checksums |
384d877330f570bdbfd365cbeb6f6e5e17bd0f4e8ddb3780e7af255a57b403ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|