Update project structure and configurations

This commit is contained in:
2026-05-23 10:19:55 +02:00
parent ab5dc7e568
commit 62efea0646
1832 changed files with 83568 additions and 51829 deletions

View File

@@ -24,6 +24,8 @@ entropyk/
## Development Commands
### Rust (principal)
```bash
# Build
cargo build
@@ -41,6 +43,34 @@ cargo run --package entropyk-cli -- validate --config config.json
cargo build 2>&1 | grep warning
```
### Python (bindings et tests Python)
Le projet utilise **`uv`** comme gestionnaire de paquets Python. L'environnement virtuel est dans `.venv` a la racine du projet.
```bash
# IMPORTANT : Toujours utiliser uv, jamais pip directement
# L'environnement virtuel est deja dans .venv/
# Installer les dependances Python
uv pip install -e ./crates/bindings/python
# Lancer un script Python avec le bon env
uv run python mon_script.py
# Ou activer le venv manuellement si necessaire
source .venv/bin/activate # Linux/Mac
.venv\Scripts\activate # Windows
# Installer maturin (pour build les bindings Rust→Python)
uv pip install maturin
# Build et installer les bindings en mode dev
uv run maturin develop --release
# Lancer les tests Python
uv run pytest crates/bindings/python/tests/
```
## Code Standards
- **Language**: Rust with strict type safety