Metadata-Version: 2.4
Name: natcashify-core
Version: 0.1.0
Summary: Framework-agnostic core of Natcashify: configuration, signing, the gateway client and callbacks.
Keywords: natcash,natcom,payments,haiti,sdk,typed
Author: Louis Midson LAJEANTY
Author-email: Louis Midson LAJEANTY <midsonlajeanty@proton.me>
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Office/Business :: Financial
Classifier: Typing :: Typed
Requires-Python: >=3.12
Project-URL: Homepage, https://github.com/midsonlajeanty/natcashify
Project-URL: Documentation, https://midsonlajeanty.github.io/natcashify/
Project-URL: Issues, https://github.com/midsonlajeanty/natcashify/issues
Description-Content-Type: text/markdown

# natcashify-core

Framework-agnostic core of Natcashify: configuration, signing, sync and async gateway clients,
HTTP transports and testing fakes. Standard library only.

```bash
pip install natcashify-core
```

```python
from decimal import Decimal

from natcashify.core import MerchantConfig, NatcashClient

with NatcashClient(MerchantConfig.from_env()) as client:
    payment = client.create_payment("ORDER-001", Decimal("250"))
    print(payment.checkout_url)
```

`natcashify.core.testing` provides `FakeTransport` and `AsyncFakeTransport` for tests without a
network. Documentation: <https://midsonlajeanty.github.io/natcashify/>
