Skip to main content

Project description

ic_slide is a sdk wrapper for coriander project of intemedic.it providers slide apis for python projects of internal company. It can not used for public domains.

Installing

Install and update using pip:

pip install -U ic_slide

A Simple Example

sample of open-slide.

from ic_slide import open_slide
# open a slide with slide id.
slide_id = '4395d816-2832-e7b7-6472-39f9b9f93480'
open_slide(slide_id)

# get metadata of slide.
metadata = slide.metadata

# get tile image (PIL.Image) of slide with x=0, y=0, width=512, height=512
tile = slide.read_region(0,0,512,512)

sample of enumerate tiles to a slide.

from ic_slide import enumerate_tiles
import numpy as np
# enumerate tiles from begin to stop with specified stride and size.

iterated_tiles = enumerate_tiles([0,0], [8192,8192], 400, [512,512])

for tile in iterated_tiles:
    do_something(tile)

sample of enumerate slide entries of private cloud.

from ic_slide import get_slide_entries

#get all slide entries
slide_entries = get_slide_entries()
for entry in slide_entries:
    print(entry['Name'])

sample of get distinct slide id of private cloud.

from ic_slide import get_distinct_slide_ids
slide_ids = get_distinct_slide_ids()

for slide_id in slide_ids():
    do_something(slide_id)

sample of get annotations of slide entry.

from ic_slide import get_slide_entries, get_slide_entry_annotations


#get all slide entries
slide_entries = get_slide_entries()
for entry in slide_entries:
    entry_id = entry.Id
    annotations = get_slide_entry_annotations(entry_id)

Metadata

Release files for ic-slide 0.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ic-slide 0.0.7
File Size Uploaded Provenance Actions
ic_slide-0.0.7.tar.gz 8.2 kB Without provenance Details for ic_slide-0.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ic-slide 0.0.7
File Interpreter ABI Platform Actions
ic_slide-0.0.7-py3-none-any.whl Python 3 none any Details for ic_slide-0.0.7-py3-none-any.whl

Total release size: 18.1 kB

Release files / ic_slide-0.0.7.tar.gz

Download URL ic_slide-0.0.7.tar.gz
Size 8.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3b02a0b0330ad3a5a4b5628f12e19a9038eacda54a083c830d3eccfb03b4e14a
BLAKE2b-256 checksum
How to use checksums
88f116c3eecaa1702c8a20c1b17602df7db1d6dd75e49c375d13b6065546144e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6

Release files / ic_slide-0.0.7-py3-none-any.whl

Download URL ic_slide-0.0.7-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74ad18e8a81fc66705b3e56095b60e795113269cdabe4cc136d696ac35a9aa8e
BLAKE2b-256 checksum
How to use checksums
62b8053a5e1c6551e3f462f6137d54f15ef96d62ceedcc5f3e4892e7d27eafa1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.6

Security for ic-slide 0.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page