Metadata-Version: 2.5
Name: necoherence-http-adapter
Version: 0.2.2
Summary: HTTP host adapter for Necoherence
Project-URL: Homepage, https://github.com/barineco/necoherence
Project-URL: Repository, https://github.com/barineco/necoherence
Project-URL: Issues, https://github.com/barineco/necoherence/issues
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.12
Requires-Dist: necoherence==0.2.2
Provides-Extra: dev
Requires-Dist: mypy; extra == 'dev'
Requires-Dist: pytest; extra == 'dev'
Description-Content-Type: text/markdown

# Necoherence HTTP adapter for Python

[Project overview](https://github.com/barineco/necoherence/blob/publish/README.md) | [日本語](README-ja.md)

This optional MIT package executes Necoherence network-effect commands using the Python standard library.
It requires Python 3.12 or later and `necoherence==0.2.2`.
The core package contains the network-effect ledger and accepts caller-supplied observations.

Install this package when the application executes HTTP requests:

```bash
python -m pip install necoherence-http-adapter==0.2.2
```

Import the adapter explicitly:

```python
from necoherence_http_adapter import HttpHostAdapter

adapter = HttpHostAdapter()
```

From this source directory, install the core and test dependencies before running the tests:

```bash
python -m pip install ../python '.[dev]'
python -m pytest -q
python -m mypy src tests
python -m build
```

[MIT License](LICENSE)
