Skip to main content

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

Release files for sunsolve 0.0.4

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

Source distribution (sdist)

Source distribution for sunsolve 0.0.4
File Size Uploaded
sunsolve-0.0.4.tar.gz 5.1 kB Details

Built distribution (wheel)

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

Total release size: 10.6 kB

Release files / sunsolve-0.0.4.tar.gz

Download URL sunsolve-0.0.4.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
d1e4ab67284edfdd75c15315be7e9f1acde869dc1508f935f9757b41d192118b
BLAKE2b-256 checksum
How to use checksums
1a58d31f2366c5dfedfa980d9fc345b44160576e2a2cc574f198fdc8c9a73bdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.11 Linux/5.15.0-1037-azure

Release files / sunsolve-0.0.4-py3-none-any.whl

Download URL sunsolve-0.0.4-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0ef6f5998f1e1c22974f58acdabd32359241e05f574eb2bc25280af046b89a0
BLAKE2b-256 checksum
How to use checksums
76555e15a27c07ee46749e3b33587f23a4998741c81f7e0c727a68a6879c027c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.10.11 Linux/5.15.0-1037-azure

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.1

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