# StandardsRegistry.list_standards()

Get the names of the standards in the registry.

Usage

[Source](https://github.com/posit-dev/pointblank/blob/main/pointblank/standard.py#L2422-L2456)

``` python
StandardsRegistry.list_standards()
```

## Returns

`list[str]`  
The names of the standards, in the order of their files (sorted by path, with the files of a directory before those of its subdirectories).

## Examples

Here's a registry of two standards, written with [`Standard.to_yaml()`](../reference/Standard.to_yaml.md#pointblank.Standard.to_yaml):

``` python
import pointblank as pb
import tempfile
from pathlib import Path

standards_dir = Path(tempfile.mkdtemp())

pb.Standard(name="baseline", steps=[pb.Step("rows_distinct")]).to_yaml(
    standards_dir / "baseline.yaml"
)
pb.Standard(
    name="id-columns", steps=[pb.Step("col_vals_not_null", columns=pb.ends_with("_id"))]
).to_yaml(standards_dir / "id-columns.yaml")

pb.StandardsRegistry(standards_dir).list_standards()
```

    ['baseline', 'id-columns']

A standard is then available by name, as with `registry["baseline"]`.
