Typing, base classes, and more for BioIO projects.
Project description
bioio-base
Typing, base classes, and more for BioIO projects.
Installation
Stable Release: pip install bioio-base
Development Head: pip install git+https://github.com/bioio-devs/bioio-base.git
Quickstart
from bioio_base.reader import Reader
class CustomTiffReader(Reader):
# Your code here
from typing import List
from bioio_base.reader_metadata import ReaderMetadata as BaseReaderMetadata
class ReaderMetadata(BaseReaderMetadata):
@staticmethod
def get_supported_extensions() -> List[str]:
return ["tif", "tiff"]
@staticmethod
def get_reader() -> bioio_base.reader.Reader:
from .custom_tiff_reader import CustomTiffReader
return CustomTiffReader
Documentation
For full package documentation please visit bioio-devs.github.io/bioio-base.
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-base-1.0.0.tar.gz
(34.3 kB
view hashes)
Built Distribution
bioio_base-1.0.0-py3-none-any.whl
(31.2 kB
view hashes)
Close
Hashes for bioio_base-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34cf2993713968ac2a79bc986aabdfeedcbef32beda1f4ea4bca5a88e8cbd702 |
|
MD5 | 763513e5cc67ce6a498b9fb46728aa7b |
|
BLAKE2b-256 | 9424b710c3d2f1954f3c58b078eca63afefa944a893895831cdd5717582acdbc |