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

# Python SDK

> Install and authenticate the Python SDK, then list projects.

## Install

```bash theme={null}
pip install bisibility
```

## Authenticate

Keep the API root and credential in environment variables:

```bash theme={null}
export BISIBILITY_API_KEY="your-api-key"
export BISIBILITY_BASE_URL="https://your-host.example/api/v1"
```

The client accepts project API keys and
[personal access tokens](/docs/docs/api/personal-access-tokens).

## List projects

The runnable quickstart constructs the client and begins with a real read against
`GET /projects`:

{/* Generated from examples/python/quickstart.py (region client-usage). Do not edit. */}

```python theme={null}
with BisibilityClient(
    api_key=required_env("BISIBILITY_API_KEY"),
    base_url=required_env("BISIBILITY_BASE_URL"),
) as client:
    try:
        print("Listing projects")
        projects = client.list_projects()
```

See [Projects](/docs/docs/api/projects#list-projects) for the request and response
contract.

## Next steps

The [Python SDK source](https://github.com/CorgiCorner/bisibility-sdk-python)
contains the complete client surface and typed models. Use the
[API reference](/docs/docs/api/overview) to choose the next operation.
