Skip to main content

Typing, base classes, and more for BioIO projects.

Project description

bioio-types

Build Status Documentation

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


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)

Uploaded Source

Built Distribution

bioio_types-0.0.2-py3-none-any.whl (23.0 kB view hashes)

Uploaded Python 3

Supported by

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