Skip to main content

A python package for solving the inverse problem of matching LEDs to the sun’s spectrum

Project description

SunSolve

PyPI PyPI - Python Version PyPI - License Coookiecutter - Wolt


Documentation: https://nkalis.github.io/sunsolve

Source Code: https://github.com/nkalis/sunsolve

PyPI: https://pypi.org/project/sunsolve/


A python package for solving the inverse problem of matching LEDs to the sun’s spectrum

Installation

pip install sunsolve

Development

  • Clone this repository
  • Requirements:
  • Create a virtual environment and install the dependencies
poetry install
  • Activate the virtual environment
poetry shell

Testing

pytest

Documentation

The documentation is automatically generated from the content of the docs directory and from the docstrings of the public signatures of the source code. The documentation is updated and published as a Github project page automatically as part each release.

Releasing

Trigger the Draft release workflow (press Run workflow). This will update the changelog & version and create a GitHub release which is in Draft state.

Find the draft release from the GitHub releases and publish it. When a release is published, it'll trigger release workflow which creates PyPI release and deploys updated documentation.

Pre-commit

Pre-commit hooks run all the auto-formatters (e.g. black, isort), linters (e.g. mypy, flake8), and other quality checks to make sure the changeset is in good shape before a commit/push happens.

You can install the hooks with (runs for each commit):

pre-commit install

Or if you want them to run only for each push:

pre-commit install -t pre-push

Or if you want e.g. want to run all checks manually for all files:

pre-commit run --all-files

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sunsolve-0.0.4.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sunsolve-0.0.4-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

Details for the file sunsolve-0.0.4.tar.gz.

File metadata

  • Download URL: sunsolve-0.0.4.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.11 Linux/5.15.0-1037-azure

File hashes

Hashes for sunsolve-0.0.4.tar.gz
Algorithm Hash digest
SHA256 d1e4ab67284edfdd75c15315be7e9f1acde869dc1508f935f9757b41d192118b
MD5 fb159eb594cdae9d6a955d625fef3592
BLAKE2b-256 1a58d31f2366c5dfedfa980d9fc345b44160576e2a2cc574f198fdc8c9a73bdf

See more details on using hashes here.

File details

Details for the file sunsolve-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: sunsolve-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 5.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.11 Linux/5.15.0-1037-azure

File hashes

Hashes for sunsolve-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d0ef6f5998f1e1c22974f58acdabd32359241e05f574eb2bc25280af046b89a0
MD5 b1f2cdeb5f8764fcb380706fdc346a80
BLAKE2b-256 76555e15a27c07ee46749e3b33587f23a4998741c81f7e0c727a68a6879c027c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page