Skip to content

Commit e90c5c7

Browse files
authored
Merge pull request #163 from bgilbert/readme
README: convert to Markdown
2 parents 1779a2c + abcd2a9 commit e90c5c7

File tree

3 files changed

+68
-81
lines changed

3 files changed

+68
-81
lines changed

README.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# OpenSlide Python
2+
3+
OpenSlide Python is a Python interface to the OpenSlide library.
4+
5+
[OpenSlide] is a C library that provides a simple interface for reading
6+
whole-slide images, also known as virtual slides, which are high-resolution
7+
images used in digital pathology. These images can occupy tens of gigabytes
8+
when uncompressed, and so cannot be easily read using standard tools or
9+
libraries, which are designed for images that can be comfortably
10+
uncompressed into RAM. Whole-slide images are typically multi-resolution;
11+
OpenSlide allows reading a small amount of image data at the resolution
12+
closest to a desired zoom level.
13+
14+
OpenSlide can read virtual slides in several formats:
15+
16+
* [Aperio][]: (`.svs`, `.tif`)
17+
* [Hamamatsu][]: (`.ndpi`, `.vms`, `.vmu`)
18+
* [Leica][]: (`.scn`)
19+
* [MIRAX][]: (`.mrxs`)
20+
* [Philips][]: (`.tiff`)
21+
* [Sakura][]: (`.svslide`)
22+
* [Trestle][]: (`.tif`)
23+
* [Ventana][]: (`.bif`, `.tif`)
24+
* [Generic tiled TIFF][]: (`.tif`)
25+
26+
[OpenSlide]: https://openslide.org/
27+
[Aperio]: https://openslide.org/formats/aperio/
28+
[Hamamatsu]: https://openslide.org/formats/hamamatsu/
29+
[Leica]: https://openslide.org/formats/leica/
30+
[MIRAX]: https://openslide.org/formats/mirax/
31+
[Philips]: https://openslide.org/formats/philips/
32+
[Sakura]: https://openslide.org/formats/sakura/
33+
[Trestle]: https://openslide.org/formats/trestle/
34+
[Ventana]: https://openslide.org/formats/ventana/
35+
[Generic tiled TIFF]: https://openslide.org/formats/generic-tiff/
36+
37+
38+
## Requirements
39+
40+
* Python ≥ 3.6
41+
* OpenSlide ≥ 3.4.0
42+
* Pillow
43+
44+
45+
## Installation
46+
47+
OpenSlide Python requires [OpenSlide]. For instructions on installing both
48+
components so OpenSlide Python can find OpenSlide, see the package
49+
[documentation][installing].
50+
51+
[installing]: https://openslide.org/api/python/#installing
52+
53+
54+
## More Information
55+
56+
- [API documentation](https://openslide.org/api/python/)
57+
- [Changelog](https://raw.github.com/openslide/openslide-python/main/CHANGELOG.txt)
58+
- [Website][OpenSlide]
59+
- [GitHub](https://github.com/openslide/openslide-python)
60+
- [Sample data](http://openslide.cs.cmu.edu/download/openslide-testdata/)
61+
62+
63+
## License
64+
65+
OpenSlide Python is released under the terms of the [GNU Lesser General
66+
Public License, version 2.1](https://raw.github.com/openslide/openslide-python/main/lgpl-2.1.txt).

README.rst

Lines changed: 0 additions & 80 deletions
This file was deleted.

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
with open(_verfile) as _fh:
88
exec(_fh.read()) # instantiates __version__
99

10-
with open('README.rst') as _fh:
10+
with open('README.md') as _fh:
1111
_long_description = _fh.read()
1212

1313
setup(
@@ -24,6 +24,7 @@
2424
maintainer_email='[email protected]',
2525
description='Python interface to OpenSlide',
2626
long_description=_long_description,
27+
long_description_content_type='text/markdown',
2728
license='GNU Lesser General Public License, version 2.1',
2829
keywords='openslide whole-slide image virtual slide library',
2930
url='https://openslide.org/',

0 commit comments

Comments
 (0)