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

# Instalación

> Instale el SDK Python oficial para Flash PDF en Markdown.

# Instalación

SDK `markpdf` es un cliente Python para API Flash PDF a Markdown. Incluye cliente síncrono y asíncrono (basado en [httpx](https://www.python-httpx.org/)).

\##Requisitos

* Python 3.9 o superior.
* Una tecla API. Consulte [Autenticación](/docs/public/es/authentication).

## Instalar

<CodeGroup>
  ```bash pip theme={null}
  pip install markpdf
  ```

  ```bash uv theme={null}
  uv add markpdf
  ```

  ```bash poetry theme={null}
  poetry add markpdf
  ```
</CodeGroup>

<Note />

## Configurar la clave API

<CodeGroup>
  ```python Environment variable theme={null}
  # .env or process environment
  # MARKPDF_API_KEY=YOUR_API_KEY

  import markpdf

  client = markpdf.Client()  # lee MARKPDF_API_KEY automáticamente
  ```

  ```python Explícita theme={null}
  import markpdf

  client = markpdf.Client(api_key="YOUR_API_KEY")
  ```
</CodeGroup>

<Warning>
  Nunca codifique la clave API en el código fuente ni la cargue en un repositorio. Utilice variables de entorno o un administrador de secretos.
</Warning>

## Siguiente paso

Continúe con [Inicio rápido](/docs/public/es/sdks/python/quickstart) para su primera conversión.
