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.dev202506241313.tar.gz (30.8 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.dev202506241313-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506241313.tar.gz
Algorithm Hash digest
SHA256 18218058b4ac642110c3879e92486f4e97e30c4cb1b69bbfb6e786abfb5b8ac8
MD5 f0288044d2eb5d6ebf1cf402496da9f7
BLAKE2b-256 9bcb0fff7dc2908dfb1808a0ed6a7a4fde301472e827d02cef08048d81143374

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for colight_site-2025.4.1.dev202506241313-py3-none-any.whl
Algorithm Hash digest
SHA256 94f1d37919cac515ac20313e7e386b5edce076302bb663458f3d7ebb051adb23
MD5 72293f2eff65295003967d383e939992
BLAKE2b-256 ac63660e5ef1029e1ff7bb5f1c692d83f2d9fd4b664c66288b5fb384fa7b2419

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