Skip to main content

Calico - Django-based Static Site Generator

Calico is a powerful static site generator built on top of Django, combining the flexibility of Django's templating system with the simplicity and performance of static websites.

Features

  • Django-powered: Leverage Django's robust templating engine and ecosystem
  • Plugin System: Extensible architecture using pluggy (via djp)
  • Widget-based Components: Modular, reusable UI components
  • Multiple Themes: Built-in PicoCSS theme with support for custom themes
  • Blog System: Full-featured blog plugin with categories, tags, and RSS
  • Collections: Organize and display grouped content
  • Development Server: Live-reload development environment
  • Search Support: Built-in search functionality with lunr.js

Installation

pip install calico-ssg

Or install from source:

git clone https://codeberg.org/emmaDelescolle/calico.git
cd calico
pip install -e .

Quick Start

  1. Initialize a new site:
calico init
  1. Start the development server:
calico run
  1. Build your static site:
calico build

Creating Content

Content in Calico is written in Markdown with YAML frontmatter:

---
title: My First Post
date: 2024-01-15
tags: [introduction, calico]
---

# Welcome to My Site

This is my first post using Calico!

Plugin Development

Create custom plugins to extend Calico's functionality:

calico start_plugin my_plugin

Plugins can hook into various aspects of the build process:

  • Add template tags and filters
  • Register themes and templates
  • Include CSS and JavaScript
  • Define custom content collections
  • Add context processors

Project Structure

my-site/
\x00\x00 content/          # Markdown content files
\x00\x00 static/           # Static assets (images, css, js)
\x00\x00 templates/        # Custom templates
\x00\x00 plugins/          # Local plugins
\x00\x00 config.yml        # Site configuration

Documentation

For detailed documentation, visit https://calico-ssg.com/docs/index.html.

Contributing

Contributions are welcome! Please feel free to submit issues and pull requests to the Calico repository.

License

Calico is distributed under the MIT License.

Links

Metadata

Release files for calico-ssg 0.4.3

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

Source distribution (sdist)

Source distribution for calico-ssg 0.4.3
File Size Uploaded Provenance Actions
calico_ssg-0.4.3.tar.gz 59.9 kB Without provenance Details for calico_ssg-0.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for calico-ssg 0.4.3
File Interpreter ABI Platform Actions
calico_ssg-0.4.3-py3-none-any.whl Python 3 none any Details for calico_ssg-0.4.3-py3-none-any.whl

Total release size: 131.1 kB

Release files / calico_ssg-0.4.3.tar.gz

Download URL calico_ssg-0.4.3.tar.gz
Size 59.9 kB
Tags Source
SHA-256 checksum
How to use checksums
f0ed343324ae7051b3557deebfa324f6fc4be73d470c09cc3033569da7d0093d
BLAKE2b-256 checksum
How to use checksums
858a9ae34848d814d8a375d04049db1ac7237a92e047f3bb6f803fa356feeeba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Release files / calico_ssg-0.4.3-py3-none-any.whl

Download URL calico_ssg-0.4.3-py3-none-any.whl
Size 71.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14a442949429edc86ea89d8600934b05d8bb0c6c2eccae268bc46b07d413146d
BLAKE2b-256 checksum
How to use checksums
4a31fe4263c3d1d7ac3606a4bc23d036a821a7fec898eedec32537261d8ff216
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.11

Security for calico-ssg 0.4.3

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.

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