Metadata-Version: 2.4
Name: judicial-reasoning-framework
Version: 0.1.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Rust
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Dist: openai>=1.0.0
Requires-Dist: anthropic>=0.18.0
Requires-Dist: pytest>=7.0.0 ; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.21.0 ; extra == 'dev'
Requires-Dist: black>=23.0.0 ; extra == 'dev'
Requires-Dist: mypy>=1.0.0 ; extra == 'dev'
Requires-Dist: maturin>=1.0.0 ; extra == 'dev'
Provides-Extra: dev
Summary: Judicial Reasoning Framework - Universal multi-agent reasoning based on judicial logic
Keywords: reasoning,ai,llm,judicial,multi-agent
Author: Besmallah
License: MIT
Requires-Python: >=3.8
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
Project-URL: Documentation, https://jrf.readthedocs.io
Project-URL: Homepage, https://github.com/besmallah/jrf
Project-URL: Issues, https://github.com/besmallah/jrf/issues
Project-URL: Repository, https://github.com/besmallah/jrf

# JRF Python Bindings

Python bindings for the Judicial Reasoning Framework (JRF) core library.

## Installation

### From source (development)

```bash
# Install maturin
pip install maturin

# Build and install in development mode
cd jrf-python
maturin develop --release

# Or build wheel
maturin build --release
pip install target/wheels/*.whl
```

## Usage

```python
from judicial_reasoning_framework import ForensicDeconstruction
import json

# Create analyzer
forensic = ForensicDeconstruction()

# Analyze a problem
result_json = forensic.analyze("Patient présente fièvre, toux, fatigue depuis 3 jours")
result = json.loads(result_json)

print(f"Facts: {result['facts']}")
print(f"Domain: {result['metadata']['detected_domain']}")
print(f"Confidence: {result['metadata']['confidence']}")
```

## Examples

See `examples/` directory:
- `medical_example.py`: Medical diagnosis example
- `test_bindings.py`: Test suite for bindings

## Development

```bash
# Build in development mode
maturin develop

# Run tests
python examples/test_bindings.py

# Run example
python examples/medical_example.py
```

## License

MIT

