Skip to main content

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.PickableObject properties (EMDB/PDB IDs, thresholds, etc.)

Validation

Utilities for validating copick entity names according to copick naming conventions.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

copick_shared_ui-0.6.0.tar.gz (314.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

copick_shared_ui-0.6.0-py3-none-any.whl (82.3 kB view details)

Uploaded Python 3

File details

Details for the file copick_shared_ui-0.6.0.tar.gz.

File metadata

  • Download URL: copick_shared_ui-0.6.0.tar.gz
  • Upload date:
  • Size: 314.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for copick_shared_ui-0.6.0.tar.gz
Algorithm Hash digest
SHA256 49830dbda6cf06f08715f9c4e67a25622b70ef9d133d99ab4e4c6e17b7984695
MD5 932b98d3fe63cbcbad711e804111904d
BLAKE2b-256 3054a030730c47a2bae7bf17d2ffc40a7bd30af070448fc6f9537c947b8c6cdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for copick_shared_ui-0.6.0.tar.gz:

Publisher: release-please.yml on copick/copick-shared-ui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file copick_shared_ui-0.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for copick_shared_ui-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 44becbdeab380c4444073e515164d1812d6f98b69f33ac025102837ffe27b897
MD5 c8b780dd994ceb0b64a85a09e2a49ef7
BLAKE2b-256 c87408de0d4378230dadd6531b5d89f2a55c58f94e487c8ec59cae42d0ed0ce1

See more details on using hashes here.

Provenance

The following attestation bundles were made for copick_shared_ui-0.6.0-py3-none-any.whl:

Publisher: release-please.yml on copick/copick-shared-ui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page