🎨 Cocapn Colora
Theme engine — brand colors, palette generation, lighthouse gradients
Cocapn's official color system. Brand palettes, lighthouse beacon gradients, fleet agent colors, and deterministic theme generation from any string.
Install
pip install cocapn-colora
Quick Start
Generate a Theme
from cocapn_colora import generate_theme
theme = generate_theme("#0ea5e9", name="lighthouse")
print(theme.primary) # #0ea5e9
print(theme.accent) # complementary color
print(theme.background) # dark variant
Brand Colors
from cocapn_colora import fleet_colors, lighthouse_gradient, COCAPN_PALETTE
for agent, color in fleet_colors().items():
print(f"{agent}: {color}")
gradient = lighthouse_gradient(steps=10)
print(gradient)
Deterministic Palettes
from cocapn_colora.palette import palette_from_string
colors = palette_from_string("my-agent-name")
# {"primary": "#...", "secondary": "#...", ...}
Part of Cocapn · Agent Infrastructure
Metadata
Release files for cocapn-colora 0.2.2
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 |
|---|---|---|---|---|
| cocapn_colora-0.2.2.tar.gz | 4.3 kB | Without provenance | Details for cocapn_colora-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cocapn_colora-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for cocapn_colora-0.2.2-py3-none-any.whl |
Total release size: 8.2 kB
Release files / cocapn_colora-0.2.2.tar.gz
| Download URL | cocapn_colora-0.2.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10688821611a40599f5fcbf3d3c4c4ac247c16874451b48b98ec15ebbb33a6d9
|
|
BLAKE2b-256 checksum How to use checksums |
229016afb0177f1aea96a95c1de9ca6f19b601c1341f0be618dafa52e10b3f72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / cocapn_colora-0.2.2-py3-none-any.whl
| Download URL | cocapn_colora-0.2.2-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
155c212f7a30faa6786761ee5775225791a2d216601d9f0de7011da3e02d7255
|
|
BLAKE2b-256 checksum How to use checksums |
f444079405ff6d3f10567508f79e41a54f17ef04f285eda17b5dccc0b7041402
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for cocapn-colora 0.2.2
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.