Skip to main content

pdsx._internal.display

display utilities for rich output.

Functions

_value_to_dict

convert a record value to a dict, handling pydantic models and DotDict.

display_records

display a list of records. Args:
  • collection: collection name
  • records: list of record objects
  • output_format: output format enum

display_record

display a single record. Args:
  • response: atproto record response
  • output_format: output format enum (default: table with panel)

display_repo_description

display a repo description. Args:
  • response: describe_repo response
  • output_format: output format enum

display_success

display a success message. Args:
  • operation: operation performed (created, updated, deleted)
  • uri: record uri
  • cid: record cid
  • collection: optional collection name
  • handle: optional handle for generating web URL