# pymmcore-MDA-writers
[![License](https://img.shields.io/pypi/l/pymmcore-MDA-writers.svg?color=green)](https://github.com/ianhi/pymmcore-MDA-writers/raw/main/LICENSE)
[![PyPI](https://img.shields.io/pypi/v/pymmcore-MDA-writers.svg?color=green)](https://pypi.org/project/pymmcore-MDA-writers)
[![Python Version](https://img.shields.io/pypi/pyversions/pymmcore-MDA-writers.svg?color=green)](https://python.org)
[![Test](https://github.com/ianhi/pymmcore-MDA-writers/actions/workflows/ci.yml/badge.svg)](https://github.com/ianhi/mpl-interactions/actions/)
[![codecov](https://codecov.io/gh/ianhi/pymmcore-MDA-writers/branch/main/graph/badge.svg)](https://codecov.io/gh/ianhi/pymmcore-MDA-writers)
This package provides writers for [pymmcore-plus](https://pymmcore-plus.readthedocs.io). At the time of writing pymmc+ provides hooks for saving images but does not implement
any mechanism for saving image (check in https://github.com/tlambert03/pymmcore-plus/pull/29 for updates). Currently provided are:
1. A simple multifile tiff writer - can be loaded with `tifffile`
2. A simple zarr writer - not ome-zarr
```bash
pip install pymmcore-mda-writers
```
(This will require a minimum of pymmcore-plus>=0.4.0 which has not yet been released. You can install a working version with `pip install git+https://github.com/tlambert03/pymmcore-plus`)
All you need to add to your script is:
```python
# tiff writer
writer = SimpleMultiFileTiffWriter("data/tiff_writer_example/run")
# zarr writer
writer = ZarrWriter("data/zarr_writer_example/run", img_shape=(512, 512), dtype=np.uint16)
```
for a complete example see the examples folder.
Raw data
{
"_id": null,
"home_page": "https://github.com/ianhi/pymmcore-MDA-writers",
"name": "pymmcore-MDA-writers",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Ian Hunt-Isaak",
"author_email": "ianhuntisaak@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ea/f1/2382c81bec6e68f5d3466b1a2909385b3d90211f5a78202d573a7df464bb/pymmcore_MDA_writers-0.5.0.tar.gz",
"platform": null,
"description": "# pymmcore-MDA-writers\n\n[![License](https://img.shields.io/pypi/l/pymmcore-MDA-writers.svg?color=green)](https://github.com/ianhi/pymmcore-MDA-writers/raw/main/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/pymmcore-MDA-writers.svg?color=green)](https://pypi.org/project/pymmcore-MDA-writers)\n[![Python Version](https://img.shields.io/pypi/pyversions/pymmcore-MDA-writers.svg?color=green)](https://python.org)\n[![Test](https://github.com/ianhi/pymmcore-MDA-writers/actions/workflows/ci.yml/badge.svg)](https://github.com/ianhi/mpl-interactions/actions/)\n[![codecov](https://codecov.io/gh/ianhi/pymmcore-MDA-writers/branch/main/graph/badge.svg)](https://codecov.io/gh/ianhi/pymmcore-MDA-writers)\n\nThis package provides writers for [pymmcore-plus](https://pymmcore-plus.readthedocs.io). At the time of writing pymmc+ provides hooks for saving images but does not implement\nany mechanism for saving image (check in https://github.com/tlambert03/pymmcore-plus/pull/29 for updates). Currently provided are:\n\n1. A simple multifile tiff writer - can be loaded with `tifffile`\n2. A simple zarr writer - not ome-zarr\n\n```bash\npip install pymmcore-mda-writers\n```\n\n(This will require a minimum of pymmcore-plus>=0.4.0 which has not yet been released. You can install a working version with `pip install git+https://github.com/tlambert03/pymmcore-plus`)\n\n\nAll you need to add to your script is:\n```python\n# tiff writer\nwriter = SimpleMultiFileTiffWriter(\"data/tiff_writer_example/run\")\n\n# zarr writer\nwriter = ZarrWriter(\"data/zarr_writer_example/run\", img_shape=(512, 512), dtype=np.uint16)\n```\n\nfor a complete example see the examples folder.\n",
"bugtrack_url": null,
"license": "BSD-3-Clause",
"summary": "MDA writers for pymmcore-plus",
"version": "0.5.0",
"project_urls": {
"Homepage": "https://github.com/ianhi/pymmcore-MDA-writers",
"Source Code": "https://github.com/ianhi/pymmcore-MDA-writers"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "c7160f544775e1cc8079d6e2a3c5b4ee86cc4e968cea64212ebc41cc9f23e742",
"md5": "53bacd848b7e5c6f5a214c5d0d989cde",
"sha256": "868b53cd0039d6f3bf649850061beb38138e196493d88a79282881508b0024ed"
},
"downloads": -1,
"filename": "pymmcore_MDA_writers-0.5.0-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "53bacd848b7e5c6f5a214c5d0d989cde",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": ">=3.7",
"size": 7893,
"upload_time": "2023-06-28T19:07:12",
"upload_time_iso_8601": "2023-06-28T19:07:12.550281Z",
"url": "https://files.pythonhosted.org/packages/c7/16/0f544775e1cc8079d6e2a3c5b4ee86cc4e968cea64212ebc41cc9f23e742/pymmcore_MDA_writers-0.5.0-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "eaf12382c81bec6e68f5d3466b1a2909385b3d90211f5a78202d573a7df464bb",
"md5": "bf61676c9a5e97ded094f6fd6bc9019a",
"sha256": "b6023c3ce9415277f3f70fc044f0458c0e241349bbbac4a96a73f884f093f34a"
},
"downloads": -1,
"filename": "pymmcore_MDA_writers-0.5.0.tar.gz",
"has_sig": false,
"md5_digest": "bf61676c9a5e97ded094f6fd6bc9019a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 11373,
"upload_time": "2023-06-28T19:07:13",
"upload_time_iso_8601": "2023-06-28T19:07:13.907993Z",
"url": "https://files.pythonhosted.org/packages/ea/f1/2382c81bec6e68f5d3466b1a2909385b3d90211f5a78202d573a7df464bb/pymmcore_MDA_writers-0.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-28 19:07:13",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ianhi",
"github_project": "pymmcore-MDA-writers",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "pymmcore-mda-writers"
}