Metadata-Version: 2.4
Name: xpedioo-svc-auth
Version: 1.0.0
Summary: Python bindings for platform service-account Guard / token client
Project-URL: Repository, https://github.com/XpediOo/XpediOo-Platform
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# xpedioo-svc-auth

Python bindings for platform service accounts. Install the package; prebuilt natives under `svc_auth/native` / `bin` are loaded when present. `guard` / `acquire_service_token` work via HTTP to IAM even without a local Go build.

## Install

```bash
pip install xpedioo-svc-auth
```

From monorepo:

```bash
pip install "git+https://github.com/XpediOo/XpediOo-Platform.git#subdirectory=libs/svc-auth-python"
```

## Publish to PyPI (twine)

1. Create an API token at [pypi.org/manage/account/token](https://pypi.org/manage/account/token/) (`pypi-…`).
2. Export it (do not commit):

```bash
export PYPI_API_TOKEN=pypi-...
cd libs/svc-auth-python
bash scripts/publish-pypi.sh
```

TestPyPI first:

```bash
export PYPI_API_TOKEN=pypi-...
PUBLISH_TO=testpypi bash scripts/publish-pypi.sh
```

Optional `~/.pypirc`: see `scripts/pypirc.example`. Debug upload: `TWINE_VERBOSE=1`.

Bump `version` in `pyproject.toml` before each new release; PyPI will not accept the same version twice.
