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.2

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.2
File Size Uploaded Provenance Actions
papery-0.9.2.tar.gz 17.9 kB Without provenance Details for papery-0.9.2.tar.gz

Built distribution (wheel)

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

Total release size: 44.6 kB

Release files / papery-0.9.2.tar.gz

Download URL papery-0.9.2.tar.gz
Size 17.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7b64df74fedbc1e51ec5d8957def84dde2e382974efaa42a6fb363bbf6a5882e
BLAKE2b-256 checksum
How to use checksums
34827e83e4ea81986183275106bf8287b2d6ad619831e324b6fa71b682b1c06b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

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

Download URL papery-0.9.2-py3-none-any.whl
Size 26.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5b36ffc1c854510b9c22fb20b5c1ea74ecc3498729fa03bfe2e85806a6e05c43
BLAKE2b-256 checksum
How to use checksums
889a8b45bf44d568937572d8364f0320fcad7dd8c2838d5129f2dfb5aa831ba4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for papery 0.9.2

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