Skip to main content

Documentation Status pypi versions license

Pysphalt

Library of machine learning models for Brazilian asphalt material data.

Installation

pip install pysphalt

Local Quickstart

The fastest way to get Pysphalt up and running locally for development.

1. Install dependencies

There are three things to install

  1. Conda
  2. Python libraries
  3. Pre-commit hooks

Create a new miniconda environment.

conda create -n pysphalt python=3.10
conda activate pysphalt

Install 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.txt

Install pre-commit and spin it up:

pre-commit install
pre-commit

⚠️ Whenever you work on this codebase, remember to activate the conda environment:

conda activate pysphalt

Building Docs

cd docs
make html

You can access the generated docs on docs/build/html/index.html

Deploy to PyPi

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.

Metadata

Release files for pysphalt 0.1.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysphalt 0.1.21
File Size Uploaded
pysphalt-0.1.21.tar.gz 19.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pysphalt 0.1.21
File Interpreter ABI Platform
pysphalt-0.1.21-py3-none-any.whl Python 3 none any Details

Total release size: 31.3 kB

Release files / pysphalt-0.1.21.tar.gz

Download URL pysphalt-0.1.21.tar.gz
Size 19.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d9c78d337a1db7c734df806dc9739ea3a84bf907b8ace4deace6569b4084246b
BLAKE2b-256 checksum
How to use checksums
ef21a48bac4b815a49ffaf6fc570ca9426a1abe16a12713910b3a87184f1b1e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / pysphalt-0.1.21-py3-none-any.whl

Download URL pysphalt-0.1.21-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25b61048521890a723635a918f3419fbfc03a7db272440cffe55975f5f980484
BLAKE2b-256 checksum
How to use checksums
af734fb645e3fa34fed907bce930a835e671f93a566819e4380ab9b8fdb9a0f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.1.21 This release

2 release files

0.1.20

2 release files

0.1.19

2 release files

0.1.18

2 release files

0.1.12

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page