wsidicom-data


Namewsidicom-data JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://github.com/imi-bigpicture/wsidicom-data
SummaryTest data for wsidicom
upload_time2023-12-06 15:29:28
maintainer
docs_urlNone
authorErik O Gabrielsson
requires_python>=3.9,<4.0
licenseApache-2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # *wsidicom-data*

Test data for [wsidicom](https://github.com/imi-bigpicture/wsidicom).

## Install

Install from pypi:

```terminal
pip install wsidicom-data
```

## Re-creating encoded test data

```terminal
python .\wsidicom_data\create_encoded_test_files.py
```

## Accessing test data

```python
from wsidicom_data import TestData, EncodedTestData, defined_encoder_settings

test_tile_path = TestData.get_test_tile_path()

settings = defined_encoder_settings[0]
encoded_test_file_path = EncodedTestData.get_filepath_for_encoder_settings(settings)

```

## Description of data

* `test_tile.png` is extracted from `CMU-1-Small-Region.svs` in the [OpenSlide test data set](https://openslide.cs.cmu.edu/download/openslide-testdata/Aperio/)
* Encoded test data is created from the `test_tile.png` using different encoders. The target transfer syntax, color, and bits per pixel is given in the filename.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/imi-bigpicture/wsidicom-data",
    "name": "wsidicom-data",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9,<4.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "Erik O Gabrielsson",
    "author_email": "erik.o.gabrielsson@sectra.com",
    "download_url": "https://files.pythonhosted.org/packages/1e/ba/fc16111bf55a58137a622fe72f684968d1249480915079f4949ef7b2e59a/wsidicom_data-0.3.0.tar.gz",
    "platform": null,
    "description": "# *wsidicom-data*\n\nTest data for [wsidicom](https://github.com/imi-bigpicture/wsidicom).\n\n## Install\n\nInstall from pypi:\n\n```terminal\npip install wsidicom-data\n```\n\n## Re-creating encoded test data\n\n```terminal\npython .\\wsidicom_data\\create_encoded_test_files.py\n```\n\n## Accessing test data\n\n```python\nfrom wsidicom_data import TestData, EncodedTestData, defined_encoder_settings\n\ntest_tile_path = TestData.get_test_tile_path()\n\nsettings = defined_encoder_settings[0]\nencoded_test_file_path = EncodedTestData.get_filepath_for_encoder_settings(settings)\n\n```\n\n## Description of data\n\n* `test_tile.png` is extracted from `CMU-1-Small-Region.svs` in the [OpenSlide test data set](https://openslide.cs.cmu.edu/download/openslide-testdata/Aperio/)\n* Encoded test data is created from the `test_tile.png` using different encoders. The target transfer syntax, color, and bits per pixel is given in the filename.\n",
    "bugtrack_url": null,
    "license": "Apache-2.0",
    "summary": "Test data for wsidicom",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://github.com/imi-bigpicture/wsidicom-data",
        "Repository": "https://github.com/imi-bigpicture/wsidicom-data"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3e243b9c565ba2d3f6f4edbf0248fe6dd0a880a95e4f0a11c3e5eefc70a575d3",
                "md5": "84cf2114e18fa01da6d1753903ffa75e",
                "sha256": "8edb944c46127203e8837b89fc9a20898f39f48202e15131e961a80d1034cb38"
            },
            "downloads": -1,
            "filename": "wsidicom_data-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "84cf2114e18fa01da6d1753903ffa75e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9,<4.0",
            "size": 2864469,
            "upload_time": "2023-12-06T15:29:21",
            "upload_time_iso_8601": "2023-12-06T15:29:21.270807Z",
            "url": "https://files.pythonhosted.org/packages/3e/24/3b9c565ba2d3f6f4edbf0248fe6dd0a880a95e4f0a11c3e5eefc70a575d3/wsidicom_data-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1ebafc16111bf55a58137a622fe72f684968d1249480915079f4949ef7b2e59a",
                "md5": "7820048f27e4ba807769c2ffe6edd157",
                "sha256": "1db5998f79f272751aeb953c155a07d56714c84a8db999597ec2545303cbc058"
            },
            "downloads": -1,
            "filename": "wsidicom_data-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "7820048f27e4ba807769c2ffe6edd157",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9,<4.0",
            "size": 2865943,
            "upload_time": "2023-12-06T15:29:28",
            "upload_time_iso_8601": "2023-12-06T15:29:28.466129Z",
            "url": "https://files.pythonhosted.org/packages/1e/ba/fc16111bf55a58137a622fe72f684968d1249480915079f4949ef7b2e59a/wsidicom_data-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-06 15:29:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "imi-bigpicture",
    "github_project": "wsidicom-data",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "wsidicom-data"
}
        
Elapsed time: 0.16853s