Solar Position Algorithm (NREL SPA) implemented in Rust, with Python bindings.
- Rust
- Python 3.10
- Poetry
- Maturin
- A Python virtual environment
- Clone the repository:
git clone https://github.com/username/solpos.git
cd solpos
- Setup your Python virtual environment:
python3 -m venv venv
source venv/bin/activate
- Install the project dependencies using Poetry:
poetry install
- To build the project, run:
maturin develop
- To run the Rust tests:
cargo test
- To run the Python tests:
pytest
- To run the Rust benchmarks:
cargo bench