Skip to main content

PyPI version

Papery

Static site generator with Jinja2 templates and structured content in Markdown, YAML, and JSON

Features

  • Describe content with Markdown, YAML, and JSON
  • Jinja2 templating

Requirements

The following Node.js tools are optional. If installed, they are used for validation.

Installation

Papery is available on pypi.

pip install papery

or, with uv:

uv tool install papery

Usage

Creating a new site

Run the following command

cd path/to/your_site/directory
papery init

Run with the development server

papery run

You can see your web site via http://localhost:8000. All pages are automatically updated when you modified any resources.

Build manually

papery build

Apply local Markdownlint rules

You can set local Markdownlint rule file for Markdown file validation. By setting it anywhere under path/to/your_site/directory, it has priority over the default rules.

Filenames ending with markdownlint.yaml or markdownlint.yml can be used to apply Markdownlint local rules.

Development

uv sync          # create .venv with dependencies
uv run papery    # run the CLI from the working tree
uv run pytest    # run tests
uv build         # build sdist and wheel into dist/

TODO

  • documentation
  • styling with SASS/SCSS

License

Copyright 2013-2023 Xcoo, Inc.

Licensed under the Apache License, Version 2.0.

Metadata

Release files for papery 0.9.1

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

Source distribution (sdist)

Source distribution for papery 0.9.1
File Size Uploaded Provenance Actions
papery-0.9.1.tar.gz 17.8 kB Without provenance Details for papery-0.9.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for papery 0.9.1
File Interpreter ABI Platform Actions
papery-0.9.1-py3-none-any.whl Python 3 none any Details for papery-0.9.1-py3-none-any.whl

Total release size: 44.6 kB

Release files / papery-0.9.1.tar.gz

Download URL papery-0.9.1.tar.gz
Size 17.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fd318185347189e927552fc239e98d4fdadaac4740bbe43f1d2249aebdd6cf56
BLAKE2b-256 checksum
How to use checksums
f1907fdd4313813d723418b883530f14a186aa9bd0ea86cfd2750dc793ed8ace
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Release files / papery-0.9.1-py3-none-any.whl

Download URL papery-0.9.1-py3-none-any.whl
Size 26.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cd08b50c2d88c5c5b698e3f05c75e6c7ddabdfbcc667b81347a2c242a97f65ee
BLAKE2b-256 checksum
How to use checksums
396f66863a2f3729b893d33b34f81a2235a4ea5064ab52fad463ceca91510701
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.1

Security for papery 0.9.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.

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