Library of machine learning models for Brazilian asphalt material data.
pip install pysphaltThe fastest way to get Pysphalt up and running locally for development.
There are three things to install
- Conda
- Python libraries
- Pre-commit hooks
Create a new miniconda environment.
conda create -n pysphalt python=3.10
conda activate pysphaltInstall all python libraries. Libraries related to development are kept separate, in requirements-dev.txt. Make sure to add any dependencies you introduce into these files!
pip install -r requirements.txt -r requirements-dev.txtInstall pre-commit and spin it up:
pre-commit install
pre-commitconda activate pysphaltcd docs
make htmlYou can access the generated docs on docs/build/html/index.html
Deploys to PyPi are managed automatically by Github Actions. To upload a new version of the library, just bump the version field on pyproject.toml and push a new tag to main.
The Action to publish a new version to PyPi will be triggered by the pushing the tag.