mirror of
https://github.com/ruvnet/RuView
synced 2026-07-19 16:53:18 +00:00
f49c722764
The Rust port lived two directories deep (rust-port/wifi-densepose-rs/) without any sibling under rust-port/ that warranted the extra level. Move the whole workspace up to v2/ to match v1/ (Python) at the same depth and shorten every cd / build command across the repo. git mv preserves history for all tracked files. 60 files updated for path references (CI workflows, ADRs, docs, scripts, READMEs, internal .claude-flow state). Two manual fixes for relative-cd paths in CLAUDE.md and ADR-043 that became wrong after the depth change (cd ../.. → cd ..). Validated: - cargo check --workspace --no-default-features → clean (after target/ nuke; the gitignored target/ was carried by the OS rename and had hard-coded old paths in build scripts) - cargo test --workspace --no-default-features → 1,539 passed, 0 failed, 8 ignored (same totals as pre-rename) - ESP32-S3 on COM7 → still streaming live CSI (cb #40300, RSSI -64 dBm) After-merge follow-up: contributors should `rm -rf v2/target` once and let cargo regenerate from the new path.
55 lines
1.4 KiB
Markdown
55 lines
1.4 KiB
Markdown
# WiFi-DensePose v1 (Python Implementation)
|
|
|
|
This directory contains the original Python implementation of WiFi-DensePose.
|
|
|
|
## Structure
|
|
|
|
```
|
|
v1/
|
|
├── src/ # Python source code
|
|
│ ├── api/ # REST API endpoints
|
|
│ ├── config/ # Configuration management
|
|
│ ├── core/ # Core processing logic
|
|
│ ├── database/ # Database models and migrations
|
|
│ ├── hardware/ # Hardware interfaces
|
|
│ ├── middleware/ # API middleware
|
|
│ ├── models/ # Neural network models
|
|
│ ├── services/ # Business logic services
|
|
│ └── tasks/ # Background tasks
|
|
├── tests/ # Test suite
|
|
├── docs/ # Documentation
|
|
├── scripts/ # Utility scripts
|
|
├── data/ # Data files
|
|
├── setup.py # Package setup
|
|
├── test_application.py # Application tests
|
|
└── test_auth_rate_limit.py # Auth/rate limit tests
|
|
```
|
|
|
|
## Requirements
|
|
|
|
- Python 3.10+
|
|
- PyTorch 2.0+
|
|
- FastAPI
|
|
- PostgreSQL/SQLite
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
cd v1
|
|
pip install -e .
|
|
```
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
# Start API server
|
|
python -m src.main
|
|
|
|
# Run tests
|
|
pytest tests/
|
|
```
|
|
|
|
## Note
|
|
|
|
This is the legacy Python implementation. For the new Rust implementation with improved performance, see `/v2/`.
|