Skip to main content

Static site generator for Colight visualizations

Project description

Colight Site

Static site generator for Colight visualizations.

Converts .colight.py files into markdown/HTML documents where:

  • Comments become narrative markdown
  • Code blocks are executed to generate Colight visualizations
  • Output is embedded as interactive .colight files

Usage

# Build a single file
colight-site build src/post.colight.py --output build/post.md

# Watch for changes
colight-site watch src/ --output build/

# Initialize new project
colight-site init my-blog/

File Format

.colight.py files mix comments (markdown) with executable Python code:

# My Data Visualization
# This creates an interactive plot...

import numpy as np
x = np.linspace(0, 10, 100)

# The sine wave
np.sin(x)  # This expression generates a colight visualization

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

colight_site-2025.4.1.dev202506241716.tar.gz (30.7 kB view details)

Uploaded Source

Built Distribution

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

colight_site-2025.4.1.dev202506241716-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file colight_site-2025.4.1.dev202506241716.tar.gz.

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506241716.tar.gz
Algorithm Hash digest
SHA256 f5698321cb9ac77c8cec7332c47eb085bcfd4a589f6ee1db7ce6d41f0559b20e
MD5 f884e7dca7e1786e11ca1ba8892adfe4
BLAKE2b-256 d8f7567a49acf8c92bc932abf1d72cf9dc636a0b62344bc6ff77d29c78d0c948

See more details on using hashes here.

File details

Details for the file colight_site-2025.4.1.dev202506241716-py3-none-any.whl.

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506241716-py3-none-any.whl
Algorithm Hash digest
SHA256 4b4b8832b17bcb137fe0a21e2935c9f0f3c554d84568386369e202d4310d0117
MD5 f312ad3be1025bf3a7d846075833de93
BLAKE2b-256 95beb3c6fa30abbe7c254e4eac6d6364717b2d8f10348380a73335050400886c

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