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.
- jsonlint (
npm install -g jsonlint) - markdownlint-cli (
npm install -g markdownlint-cli)
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.0
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 |
|---|---|---|---|---|
| papery-0.9.0.tar.gz | 17.8 kB | Without provenance | Details for papery-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| papery-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for papery-0.9.0-py3-none-any.whl |
Total release size: 44.5 kB
Release files / papery-0.9.0.tar.gz
| Download URL | papery-0.9.0.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
907e95577aec9b1ae10856d9d2edeb3165786e78b9e883efd88e83391aaa8d6b
|
|
BLAKE2b-256 checksum How to use checksums |
e31446dadba6ca42a011b55d8b1800bb5cc2c1769aaaa67737cecf573ec10acf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.8
|
Release files / papery-0.9.0-py3-none-any.whl
| Download URL | papery-0.9.0-py3-none-any.whl |
|---|---|
| Size | 26.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
918559246e043b86a55a9ef9028d7a86bc7051a71d358c5c90219de49493d463
|
|
BLAKE2b-256 checksum How to use checksums |
bd24e86135df06e3ccf2ff01c3bf7ff8439b86728b4a1f07f3d1217c0da079de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.8
|
Security for papery 0.9.0
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.