Metadata-Version: 2.5
Name: decane-sdk
Version: 0.9.0
Summary: Official Python SDK for Decane, institutional liquidity rail for crypto settlement
Project-URL: Homepage, https://decane.io
Project-URL: Documentation, https://decane.io/docs
Project-URL: Repository, https://github.com/Decane-io/decane-python
Project-URL: Issues, https://github.com/Decane-io/decane-python/issues
Author-email: Decane <dev@decane.io>
License-Expression: MIT
License-File: LICENSE
Keywords: bitcoin,crypto,ethereum,payment-gateway,payments,stablecoins
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
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 :: Office/Business :: Financial :: Point-Of-Sale
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: httpx>=0.25.0
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-asyncio; extra == 'dev'
Requires-Dist: respx; extra == 'dev'
Requires-Dist: ruff; extra == 'dev'
Description-Content-Type: text/markdown

# decane-sdk

Official Python SDK for the Decane payment API. Full guide: https://rail.decane.io/sdk-docs/python.md

```bash
pip install decane-sdk
```

```python
from decane import Decane

decane = Decane(api_key="gr_...", api_secret="gr_secret_...", webhook_secret="...")

invoice = decane.invoices.create(amount="100.00", currency="USD", network="tron", crypto_currency="USDT")
print(invoice.payment_url)

event = decane.webhooks.construct_event(raw_body, headers["Decane-Signature"])
```

`AsyncDecane` has the same resources, awaited. See CHANGELOG.md for what changed in 0.9.0.

MIT licensed.
