tessl install tessl/pypi-josepy@2.1.0JOSE protocol implementation in Python with support for JSON Web Algorithms, Keys, and Signatures
Agent Success
Agent success rate when using this tile
73%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.16x
Baseline
Agent success rate without this tile
63%
Utilities for deduplicating asymmetric keys and exposing immutable connection settings for secure clients. Use the dependency's built-in comparable key wrappers for equality and hashing, and its immutable mapping utility for frozen configuration state.
merge returns a new instance with overrides while the original remains unchanged and both are hashable. @test@generates
from typing import Any, Iterable, Mapping, Sequence
class KeyRegistry:
def __init__(self, keys: Sequence[Any] = ()): ...
def add(self, key: Any, label: str = "") -> None: ...
def keys(self) -> Iterable[Any]: ...
def public_keys(self) -> Iterable[Any]: ...
def key_labels(self) -> Mapping[Any, str]: ...
class ConnectionOptions:
def __init__(self, **kwargs): ...
def merge(self, **kwargs) -> "ConnectionOptions": ...
def as_mapping(self) -> Mapping[str, Any]: ...Provides comparable wrappers for cryptography keys and immutable mapping utilities. @satisfied-by