Metadata-Version: 2.4
Name: bkey-sdk
Version: 0.2.0
Summary: BKey SDK — biometric approval, vault, and checkout for AI agents
Project-URL: Homepage, https://bkey.id
Project-URL: Documentation, https://bkey.id/docs
Project-URL: Repository, https://github.com/bkeyID/bkey
Project-URL: Issues, https://github.com/bkeyID/bkey/issues
Author-email: BKey <dev@bkey.id>
License-Expression: Apache-2.0
Keywords: agent,ai,biometric,bkey,checkout,ciba,oauth,vault
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Security
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Requires-Dist: pydantic>=2.0.0
Requires-Dist: requests>=2.28.0
Provides-Extra: all
Requires-Dist: fastapi>=0.100.0; extra == 'all'
Requires-Dist: httpx>=0.27.0; extra == 'all'
Requires-Dist: mcp>=1.0.0; extra == 'all'
Provides-Extra: async
Requires-Dist: httpx>=0.27.0; extra == 'async'
Provides-Extra: fastapi
Requires-Dist: fastapi>=0.100.0; extra == 'fastapi'
Provides-Extra: mcp
Requires-Dist: mcp>=1.0.0; extra == 'mcp'
Description-Content-Type: text/markdown

# bkey

Python SDK for BKey — biometric approval, vault, and checkout for AI agents.

## Installation

```bash
pip install bkey-sdk              # Core (requests)
pip install bkey-sdk[async]       # + httpx for async
pip install bkey-sdk[all]         # Everything
```

## Quick Start

```python
from bkey import BKeyClient

client = BKeyClient(
    client_id="your-client-id",
    client_secret="your-client-secret",
)

# Request a checkout approval
checkout = client.checkout_request(
    merchant_name="Example Store",
    items=[{"name": "Widget", "price": 9.99}],
    amount=9.99,
    currency="USD",
)

# Wait for user to approve on their phone
result = client.checkout_poll(checkout.id)
print(result.status)  # "approved"
```

## Documentation

See [bkey.id/docs](https://bkey.id/docs) for full documentation.
