Development Guide¶
Set up your development environment for ARVOS SDK.
Prerequisites¶
- Python 3.8+
- Git
- Virtual environment (recommended)
Setup¶
1. Clone Repository¶
2. Create Virtual Environment¶
3. Install Dependencies¶
4. Install Protocol Dependencies¶
Project Structure¶
arvos-sdk/
├── python/
│ └── arvos/
│ ├── __init__.py
│ ├── client.py
│ ├── server.py
│ ├── data_types.py
│ ├── servers/
│ │ ├── base_server.py
│ │ ├── grpc_server.py
│ │ ├── mqtt_server.py
│ │ └── ...
│ └── protos/
├── examples/
├── docs/
├── tests/
└── setup.py
Running Tests¶
# Run all tests
pytest
# Run with coverage
pytest --cov=arvos tests/
# Run specific test
pytest tests/test_data_types.py
Building Documentation¶
Code Style¶
Python¶
- Follow PEP 8
- Use type hints
- Add docstrings
- Maximum line length: 100
Formatting¶
Next Steps¶
- Contributing Overview - Contribution guidelines
- GitHub Repository - Submit PRs