Typing, base classes, and more for BioIO projects.
Project description
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
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
bioio-types-0.0.2.tar.gz
(26.8 kB
view hashes)
Built Distribution
Close
Hashes for bioio_types-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8905c6afa6680bafceddd5f407d2f8018559b7842d81e9e974a77f9c7c0caa11 |
|
MD5 | 087953f97e601625b728ac265da4b26a |
|
BLAKE2b-256 | caba47e559095711ca6384cdc527bcc927cac425fad04a5a287d1f49e622aca7 |