Last updated:
0 purchases
bioiotypes 0.0.2
bioio-types
Typing, base classes, and more for BioIO projects.
Installation
Stable Release: pip install bioio-types
Development Head: pip install git+https://github.com/bioio-devs/bioio-types.git
Quickstart
from bioio_types.reader import Reader
class CustomTiffReader(Reader):
# Your code here
from typing import List
from bioio_types.reader_metadata import ReaderMetadata as BaseReaderMetadata
class ReaderMetadata(BaseReaderMetadata):
@staticmethod
def get_supported_extensions() -> List[str]:
return ["tif", "tiff"]
@staticmethod
def get_reader() -> base_image_reader.reader.Reader:
from .custom_tiff_reader import CustomTiffReader
return CustomTiffReader
Documentation
For full package documentation please visit bioio-devs.github.io/bioio-types.
Development
See CONTRIBUTING.md for information related to developing the code.
BSD License
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.