> ## Documentation Index
> Fetch the complete documentation index at: https://pdsx.zzstoatzz.io/llms.txt
> Use this file to discover all available pages before exploring further.

# display

# `pdsx._internal.display`

display utilities for rich output.

## Functions

### `_value_to_dict` <sup><a href="https://github.com/zzstoatzz/pdsx/blob/main/src/pdsx/_internal/display.py#L23" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python theme={null}
_value_to_dict(value: object) -> dict[str, object]
```

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

### `display_records` <sup><a href="https://github.com/zzstoatzz/pdsx/blob/main/src/pdsx/_internal/display.py#L35" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python theme={null}
display_records(collection: str, records: list[models.ComAtprotoRepoListRecords.Record]) -> None
```

display a list of records.

**Args:**

* `collection`: collection name
* `records`: list of record objects
* `output_format`: output format enum

### `display_record` <sup><a href="https://github.com/zzstoatzz/pdsx/blob/main/src/pdsx/_internal/display.py#L141" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python theme={null}
display_record(response: models.ComAtprotoRepoGetRecord.Response) -> None
```

display a single record.

**Args:**

* `response`: atproto record response
* `output_format`: output format enum (default: table with panel)

### `display_repo_description` <sup><a href="https://github.com/zzstoatzz/pdsx/blob/main/src/pdsx/_internal/display.py#L197" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python theme={null}
display_repo_description(response: models.ComAtprotoRepoDescribeRepo.Response) -> None
```

display a repo description.

**Args:**

* `response`: describe\_repo response
* `output_format`: output format enum

### `display_success` <sup><a href="https://github.com/zzstoatzz/pdsx/blob/main/src/pdsx/_internal/display.py#L260" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python theme={null}
display_success(operation: str, uri: str, cid: str, collection: str = '', handle: str = '') -> None
```

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
