Help building our code and community!
-
All contributions are welcome! Please raise an issue for a bug, feature or pull request!
-
Tweet about this repo!
-
Give this repo a star! ⭐
Quick Start
Tissue mask and tiling pipeline
from syntax.slide import Slide
from syntax.transformers.tissue_mask import OtsuTissueMask
from syntax.transformers.tiling import SimpleTiling
from syntax.transformers import Pipeline, visualize_pipeline_results
slide = Slide(slide_path=slide_path)
pipeline = Pipeline([OtsuTissueMask(), SimpleTiling(magnification=40,
tile_size=224,
max_per_class=10)])
slide = pipeline.fit_transform(slide)
visualize_pipeline_results(slide=slide,
transformer_list=pipeline.transformers,
title_list=['Tissue Mask', 'Random Tile Sampling'])
Install
pip install compay-syntax==0.4.0
You will need to install openslide. This is included in the dependencies so may be automatically installed. If not I found this to help:
#!/bin/bash
sudo apt-get install openslide-tools
pip install openslide-python
Metadata
Release files for compay-syntax 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| compay-syntax-0.4.1.tar.gz | 9.5 kB | Without provenance | Details for compay-syntax-0.4.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| compay_syntax-0.4.1-py3-none-any.whl | Python 3 | none | any | Details for compay_syntax-0.4.1-py3-none-any.whl |
Total release size: 24.6 kB
Release files / compay-syntax-0.4.1.tar.gz
| Download URL | compay-syntax-0.4.1.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0d6c140c969784dd6b8e39524c04d71925eef78b4659afc049ad32353a41b60
|
|
BLAKE2b-256 checksum How to use checksums |
faf29ec7ef2f92459de386725af4369b596439cc9c834788a6d58059efb65bd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7
|
Release files / compay_syntax-0.4.1-py3-none-any.whl
| Download URL | compay_syntax-0.4.1-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d85eaa683342b68f75112eccc9df4af33f4c026b9eb98a341cb311e07259bf46
|
|
BLAKE2b-256 checksum How to use checksums |
e3869f96226f7d97ff605c8003f44410ed2eb5fd6f3c016557405aa3c03062fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.7
|
Security for compay-syntax 0.4.1
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.