Metadata-Version: 2.4
Name: xamisdk-client
Version: 0.1.0
Summary: Wrapper cliente del xamiSDK para Python (habla con el servicio local)
Author-email: Xami <dev@xami.run>
License: Proprietary
Project-URL: Homepage, https://sdk.xami.run
Project-URL: Documentation, https://sdk.xami.run/manual/
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# xamisdk-client — wrapper Python del xamiSDK

Cliente ligero del **servicio local** del xamiSDK (127.0.0.1:8300). Tu aplicación
Python habla con el servicio local (nunca con Xami directamente); el documento no sale
de tu red. Sin dependencias externas.

## Instalación

```
pip install https://sdk.xami.run/files/xamisdk-client-0.1.0-py3-none-any.whl
```

## Uso

```python
from xamisdk_client import XamiSDK

xami = XamiSDK({
    "endpoint": "http://127.0.0.1:8300",
    "wrapper_key": "wrp_...",
    "wrapper_secret": "wsec_...",
})

pdf_firmado = xami.pades().sign_and_wait(
    open("documento.pdf", "rb").read(),
    {"credential_key": "TU_CREDENCIAL", "signer_name": "Tu Nombre"},
)
open("documento_firmado.pdf", "wb").write(pdf_firmado)
```

Namespaces: `pades()`, `blockchain()`, `credentials()`, `designs()`, `health()` — la
misma interfaz que el wrapper PHP.
