Metadata-Version: 2.4
Name: onekey-sdk
Version: 0.1.2
Summary: Read OneKey project secrets at runtime with a runner or personal token.
Author: OneKey
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/panp1/onekey-sdk
Keywords: secrets,onekey,configuration
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown

# onekey-sdk (Python)

```bash
pip install onekey-sdk
```

```python
from onekey_sdk import OneKeyClient, OneKeyError

client = OneKeyClient(url="https://onekey.example.com/cli", token="dbs_...")  # or ONEKEY_URL / ONEKEY_TOKEN
secrets = client.runtime("payments")
print(sorted(secrets))          # key names only
value = secrets["DATABASE_URL"]
```

Python 3.9+, standard library only. See the [repository README](https://github.com/panp1/onekey-sdk) for the full API and error codes.
