copick-shared-ui
Shared UI components for copick visualization plugins.
This package provides reusable Qt-based UI components that can be used across different copick visualization plugins (napari-copick, chimerax-copick, etc.).
Installation
uv pip install copick-shared-ui
Usage
from copick_shared_ui import EditObjectTypesDialog, validate_copick_name
# Use the object types editor
dialog = EditObjectTypesDialog(parent=None, existing_objects=my_objects)
if dialog.exec_() == QDialog.Accepted:
updated_objects = dialog.get_objects()
# Validate copick names
is_valid, sanitized, error_msg = validate_copick_name("my-object-name")
Components
EditObjectTypesDialog
A dialog for managing copick PickableObject types with features:
- Add, edit, and delete object types
- Real-time validation with visual feedback
- Color selection and management
- Support for all
copick.PickableObjectproperties (EMDB/PDB IDs, thresholds, etc.)
Validation
Utilities for validating copick entity names according to copick naming conventions.
Metadata
Release files for copick-shared-ui 0.8.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 |
|---|---|---|---|---|
| copick_shared_ui-0.8.1.tar.gz | 362.9 kB | With provenance | Details for copick_shared_ui-0.8.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| copick_shared_ui-0.8.1-py3-none-any.whl | Python 3 | none | any | Details for copick_shared_ui-0.8.1-py3-none-any.whl |
Total release size: 482.8 kB
Security for copick-shared-ui 0.8.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.
Full provenance
Both files in this release have been 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.