corvid
corvid is an opinionated simple static site generator.
It processes Markdown files, static assets and directories producing a 1:1 hierarchy of compiled content.
It includes a reloadable local development server, supports custom markdown frontmatter and Jinja templates.
Installation
$ pip install corvid
Running
By default corvid expects to be run in a directory with an input directory. With no parameters, corvid will process all files in this directory into the output directory and exit.
Usage:
$ corvid [OPTIONS]
For help:
$ corvid --help
Options:
-l, --listen Enable live reloading
-b, --bind TEXT Host to bind to
-p, --port INTEGER Port to run on
-i, --input TEXT Input directory
-o, --output TEXT Output directory
-t, --templates TEXT Templates directory
--help Show this message and exit.
Example
Given the following directory layout:
├── input
│ └── index.md
└── templates
└── default.html
With the following file contents:
input/index.md
---
title: This is the Index
---
Welcome
templates/default.html
<html>
<head>
<title>{{ title }}</title>
</head>
<body>
{{ content }}
</body>
</html>
Running corvid will produce the additional output directory:
.
├── input
│ └── index.md
├── output
│ └── index.html
└── templates
└── default.html
And the contents of the file will be:
output/index.html
<html>
<head>
<title>This is the Index</title>
</head>
<body>
<p>Welcome</p>
</body>
</html>
Using templates
Custom templates can be set by specifying the path to the template (inside the templates directory) as the template frontmatter in an individual page. See bar.md for an example.
See /example for the full input -> template -> output folder structure.
Metadata
Release files for corvid 1.1.1
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 |
|---|---|---|---|---|
| corvid-1.1.1.tar.gz | 7.9 kB | Without provenance | Details for corvid-1.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| corvid-1.1.1-py3-none-any.whl | Python 3 | none | any | Details for corvid-1.1.1-py3-none-any.whl |
Total release size: 16.0 kB
Release files / corvid-1.1.1.tar.gz
| Download URL | corvid-1.1.1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
921b13dbbef24dc9c6c6c1f1c483eeef8b432837ea594c5ac5bf88da57589939
|
|
BLAKE2b-256 checksum How to use checksums |
077a87025f9bcadd1e43ac581bbca40735597d7046f02fdb0405c52575ccc579
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / corvid-1.1.1-py3-none-any.whl
| Download URL | corvid-1.1.1-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9860f7e6d780dd5a85d3ad3b56b24458debb075df33f42616b66bdaab4853eaf
|
|
BLAKE2b-256 checksum How to use checksums |
7ca2712a2e060c18678135b487fb9c8a2c3adf26a4b8c7f0c530aa3018c8c1bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for corvid 1.1.1
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.