Skip to content

cedricleroy/solpos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

solpos

Solar Position Algorithm (NREL SPA) implemented in Rust, with Python bindings.

Setup & Installation

Prerequisites

  1. Rust
  2. Python 3.10
  3. Poetry
  4. Maturin
  5. A Python virtual environment

Steps

  1. Clone the repository:
git clone https://github.com/username/solpos.git
cd solpos
  1. Setup your Python virtual environment:
python3 -m venv venv
source venv/bin/activate
  1. Install the project dependencies using Poetry:
poetry install
  1. To build the project, run:
maturin develop
  1. To run the Rust tests:
cargo test
  1. To run the Python tests:
pytest
  1. To run the Rust benchmarks:
cargo bench

About

Rust implementation of the Solar Position Algorithm (SPA) with Python bindings

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages