Metadata-Version: 2.4
Name: xycore
Version: 1.0.1
Summary: The XY primitive — cryptographic verification for any system.
License: MIT
Project-URL: Homepage, https://pruv.dev
Project-URL: Documentation, https://docs.pruv.dev
Project-URL: Repository, https://github.com/mintingpressbuilds/pruv
Classifier: Development Status :: 5 - Production/Stable
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 :: Security :: Cryptography
Classifier: Topic :: Software Development :: Libraries
Classifier: Typing :: Typed
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: signatures
Requires-Dist: cryptography>=41.0; extra == "signatures"
Dynamic: license-file

# xycore

The XY primitive. Cryptographic verification for any system.

```bash
pip install xycore
```

## Usage

```python
from xycore import XYChain

chain = XYChain(name="my-chain")
chain.append("deploy", x_state={"version": "1.0"}, y_state={"version": "1.1"})
chain.append("configure", x_state={"version": "1.1"}, y_state={"version": "1.1", "configured": True})

valid, break_index = chain.verify()
assert valid
```

## Zero Dependencies

xycore uses only the Python standard library. Ed25519 signatures require the optional `cryptography` package:

```bash
pip install xycore[signatures]
```
