跳转到主要内容

为BioIO项目提供类型、基类等。

项目描述

bioio-types

Build Status Documentation

为BioIO项目提供类型、基类等。


安装

稳定版本: pip install bioio-types
开发头: pip install git+https://github.com/bioio-devs/bioio-types.git

快速入门

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

文档

有关完整包文档,请访问 bioio-devs.github.io/bioio-types

开发

有关开发代码的信息,请参阅 CONTRIBUTING.md

BSD许可证

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关 安装包 的更多信息。

源分布

bioio-types-0.0.2.tar.gz (26.8 kB 查看哈希)

上传时间 源文件

构建分发版

bioio_types-0.0.2-py3-none-any.whl (23.0 kB 查看哈希值)

上传时间 Python 3

由以下提供支持