Judicial Reasoning Framework - Universal multi-agent reasoning based on judicial logic
Project description
JRF Python Bindings
Python bindings for the Judicial Reasoning Framework (JRF) core library.
Installation
From source (development)
# 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
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 exampletest_bindings.py: Test suite for bindings
Development
# Build in development mode
maturin develop
# Run tests
python examples/test_bindings.py
# Run example
python examples/medical_example.py
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file judicial_reasoning_framework-0.1.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 951.1 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df855849e0937b32c09ca93a0b314ccbb162d16ebb93b2d956714b733e56c373
|
|
| MD5 |
31f9ac8aa3e30de457ee53ae3b2b9447
|
|
| BLAKE2b-256 |
1f60e5b17830ff23b5abb0b0373c69006d36973efc39a69a7d28fd2cf9c7577b
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp312-cp312-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1a32766c5426653c6f6b6e658fe3dcac36cbad2925b03654495dbbe2639a435c
|
|
| MD5 |
c023678fba25dd90ac9cea88612df129
|
|
| BLAKE2b-256 |
511fb597535ceb6359a60c45d436fe0b2eb433824ab345d1bd95d201cef290b8
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8083b5e0e9cbab3d408786710a15d50506e09ab08df611c76ae0f112b0ea75ab
|
|
| MD5 |
0992a24a67b86b53911abf0bc5af08af
|
|
| BLAKE2b-256 |
733a4028014e9819b9f2bb3cda854e0a08a222d2da44f159daf8a89f6dc2816b
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 952.3 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
589751a33f009953ea29acba14df418a396438cb033ee0d567873d81b3f01c08
|
|
| MD5 |
3fe30655b40bbdd0eebe414789768399
|
|
| BLAKE2b-256 |
281af17cc8e73f199bdebffcd2ec247b33979a7efc60bf2b58547c24c39ce8bd
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp311-cp311-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7a753a05036273b643754ff9c88961e9d557575b9a628b7152f7d94aaa62836
|
|
| MD5 |
4c8f3f4b200287fadf34c51cd11282fe
|
|
| BLAKE2b-256 |
4dd4231104e43d87d8fe1b9584c4f5f0ce23cb68fb93b1856fcce13779d0c952
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
86b081ff7e2333f2c79e3feac3456060ffe5db3da11e85c0800bafb9dcecac83
|
|
| MD5 |
8d60d3916f9de2073145a735bf8392e1
|
|
| BLAKE2b-256 |
fb0f2b8a3f9e6efc19e863f5705366ad97de460d8218fde7538a678e9b8fc18c
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 952.6 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1252a99cd127f640d2407df5609d5ffe6a9c70e72dab0092fc22f44ad75c305e
|
|
| MD5 |
bd4065513b0b5e8e8d965a0a0c075a14
|
|
| BLAKE2b-256 |
cbdbad2207b568fa68ef979b29570049e307e05457df95318fc88f6a955b1ca3
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp310-cp310-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a40a9d7e39126f56295ac245ff5dd570d23fefe5e39c349651fbba178ad5dfc
|
|
| MD5 |
45983c208237f98477c0e51df994a893
|
|
| BLAKE2b-256 |
cc51b72f0fade593463beac8e9826f8a872b29c889b8845e79c533794bce0ada
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9127d36eef53814d7696b3c2b729c882b50e01aee4eed696a1e3153a50bb88c8
|
|
| MD5 |
d625adde6f5a993ff1a8f39d12cf3d5e
|
|
| BLAKE2b-256 |
671c6cf8ae4f937db4f5028027b7bc102644ab1e09656cba73a5bf6740f767c1
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 952.8 kB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b60200bd8dd14d72d7b8944dbc1c76385cf99ba295753f5efca9b13bca1197b
|
|
| MD5 |
c2807a4f5ff17e23f67745c843f996bf
|
|
| BLAKE2b-256 |
00a318966f2fc7a999da7b92094bb757e09508acb7c4562977b86ad376125dd0
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp39-cp39-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.9, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
641b834a45289aeb11ba435a2c849b0ea2d8c5056062144aba7ed7f2d2b38428
|
|
| MD5 |
5a7c5f0813f74f9a6f9b30cbeb8bc6eb
|
|
| BLAKE2b-256 |
d50d2389d61bd6623036ded0089b7d887ed0ba96048e2ae0476d2bb8fde7fb12
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp39-cp39-macosx_11_0_arm64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
298514726824b232c0c6d2694b76420eabb3a69b030e56c3bd864538c8156eb7
|
|
| MD5 |
e8355988d65ba13fbf012bfda1c03c2d
|
|
| BLAKE2b-256 |
7d53fa507f01b23435ebdea79d1ae09e7e78e802a34cf57374eafb804fbb251e
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 952.3 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14c02c38687f75adce77766e4ad8d5c3d4f00c1fc8d4c722ed6c8faa70ae0c6c
|
|
| MD5 |
6e48687e029e2dbc0b76cefc2108d20a
|
|
| BLAKE2b-256 |
65dbf53947d765d36de234f0445d100bf4be3b1d160e2129ae4ca2b8a8b2b5b9
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp38-cp38-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp38-cp38-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 1.2 MB
- Tags: CPython 3.8, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59765c798730624a676d30d201a77be6b67e2a572276cbd347421dda2864195d
|
|
| MD5 |
d62e6863dc600c3aae8b2ce52b3f0c95
|
|
| BLAKE2b-256 |
d095b387e17984d1e279e991d197e75ceaaf66760c968575411fc2c3739b481b
|
File details
Details for the file judicial_reasoning_framework-0.1.0-cp38-cp38-macosx_11_0_arm64.whl.
File metadata
- Download URL: judicial_reasoning_framework-0.1.0-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 1.1 MB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31ef9fcbb33c4b43e46165d0ebcb31abb238bdde229c5e93cf3b4cfb8f5becc0
|
|
| MD5 |
a7088fe7e9e10bd2d9bc708485c570f7
|
|
| BLAKE2b-256 |
711c45e1e231ea018b5e79584eba7b8b16f1c061bee2ca13732d2bb32f883ceb
|