imshowTk
Author: Stephen Thompson
imshowTk is a zero dependency alternative to opencv’s imshow function. It was developed to allow us to show an image window when using opencv-headless and don’t want to use a larger UI library. It uses tkinter which comes as standard in most Python installations.
imshowTk is part of the SciKit-Surgery software project, developed at the Wellcome EPSRC Centre for Interventional and Surgical Sciences, part of University College London (UCL).
Basic use case
from from imshowtk.imshowtk import ImshowTk
imshow = ImshowTk()
frame = cv2.imread('project-icon.png')
imshow.imshow(frame)
del imshow
Developing
Cloning
You can clone the repository using the following command:
git clone https://github.com/SciKit-Surgery/imshowTk
Running tests
Pytest is used for running unit tests:
pip install pytest python -m pytest
Linting
This code conforms to the PEP8 standard. Pylint can be used to analyse the code:
pip install pylint pylint --rcfile=tests/pylintrc imshowtk
Installing
You can pip install directly from the repository as follows:
pip install git+https://github.com/SciKit-Surgery/imshowTk
Contributing
Please see the contributing guidelines.
Useful links
Licensing and copyright
Copyright 2023 University College London. imshowTk is released under the BSD-3 license. Please see the license file for details.
Acknowledgements
Metadata
Release files for imshowTk 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| imshowTk-1.0.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for imshowTk-1.0.0-py2.py3-none-any.whl |
Release files / imshowTk-1.0.0-py2.py3-none-any.whl
| Download URL | imshowTk-1.0.0-py2.py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
dc18d412ee1062b836de13d40b4d3cd9f146bf6ebb725e0d6d805032ea0eb2af
|
|
BLAKE2b-256 checksum How to use checksums |
872dc63ab86c3fdab212f77f0c49f606db3a29c05e5295631aeaff30f441139d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for imshowTk 1.0.0
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.