Metadata-Version: 2.4
Name: barter-sdk
Version: 1.0.0
Summary: Proof of Trade Protocol — Python SDK for BTR-Trust soulbound reputation
Author: TheBarmaEffect
License: MIT
Keywords: barter,bitcoin,lightning,trust,reputation,web3
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: web3>=6.0.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: pytest-asyncio; extra == "dev"
Dynamic: license-file

# barter-sdk

Python SDK for the BTR Proof of Trade Protocol.

## Install

```bash
pip install barter-sdk
```

## Usage

```python
import btr

client = btr.BarterClient(network="sepolia")

# Get trust score
score = client.trust.get_score("0x742d...3F9a")

# Get full profile
profile = client.trust.get_profile("0x742d...3F9a")
print(f"Score: {profile.score}")
print(f"Trades: {profile.trade_count}")

# Compliance check
report = client.compliance.full_report("0x742d...3F9a")
print(f"Risk: {report.risk_level}")
```

## License

MIT
