from keecas import symbols, generate_unique_label
# String label
label = generate_unique_label("my-key")
label.startswith("eq-") # Returns: TrueTrue
Generate unique hash-based labels.
Convenience function that calls generate_label with unique_id=True. Useful for automatically generating deterministic labels without manual naming.
| Name | Type | Description | Default |
|---|---|---|---|
| arg | str | dict[Hashable, Any] |
Label input (str or dict) | required |
| Name | Type | Description |
|---|---|---|
str | dict[Hashable, str] |
Formatted label(s) with unique hash-based identifiers |
True
True
generate_label: Main label generation functionshow_eqn: Display function that uses labels