Armonia
Armonia is a Python library for elegant theme management with dynamic computed colors, font definitions, and powerful transformation functions.
Installation
pip install armonia
Or using uv:
uv add armonia
Quick Start
from armonia import Theme
from armonia import colorfunctions as cf
from polychromos.color import HSLColor
# Create a theme
theme = Theme()
# Set base colors
theme.set_color("primary", HSLColor.from_hex("#2563eb"))
# Create computed colors that automatically derive from base colors
theme.set_computed_color("primary_light", cf.lighter("primary", 0.2))
# Get colors - they resolve automatically
print(theme.get_color("primary_light").to_css_hex()) # #6b95f1
Documentation
For full documentation, including advanced usage, color and font functions, and integration examples, visit:
https://armonia.readthedocs.io/
License
MIT License - see LICENSE file for details.
Metadata
Release files for armonia 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| armonia-1.3.0.tar.gz | 35.1 kB | Without provenance | Details for armonia-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| armonia-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for armonia-1.3.0-py3-none-any.whl |
Total release size: 54.5 kB
Release files / armonia-1.3.0.tar.gz
| Download URL | armonia-1.3.0.tar.gz |
|---|---|
| Size | 35.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
42974c8980f89b2483ca9989c5bd7a6b131ae7ef76cfdc8611f2632e1786a49a
|
|
BLAKE2b-256 checksum How to use checksums |
322baf723032600247aa50dd97bd9cf82b5f144d1fc0be8e6f0c16fd8e1f1417
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / armonia-1.3.0-py3-none-any.whl
| Download URL | armonia-1.3.0-py3-none-any.whl |
|---|---|
| Size | 19.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c37367ae0feffdaf30d86cea7774d6cdaa9ab04626cb606785cc2c2d7bd033b6
|
|
BLAKE2b-256 checksum How to use checksums |
002a13e7adb52dc045ee0c2cb4020bc3876919b6d6ab2d8bc1232908dc215434
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for armonia 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.