Skip to main content

A crazy and opinionated way of generating documents.

Project description

Pandoctylus

Pandoctylus Logo

A crazy and opinionated way of generating documents.

Installation

pip install pandoctylus

Use

Check out the example project in examples/project1 to understand how to make a document. Key ingredients:

  • define the document as yaml file in docs/ sub-dir
  • create or pick an existing jinja template and refernece it in the yaml file
  • create or pick an existing docx template and reference it in the yaml file
  • run the tool: python pandoctylus/pandoctylus.py --root-dir examples/project1
  • enjoy the generated docs in examples/project1/output

Development

This project uses modern Python packaging with pyproject.toml. To set up the development environment:

  1. Clone the repository:
git clone https://github.com/yourusername/pandoctylus.git
cd pandoctylus
  1. Create a virtual environment and install development dependencies:
uv venv pandoctylus-venv
source .pandoctylus-venv/bin/activate 
uv pip install -e ".[dev]"
  1. Run tests:
pytest

Features

  • Generate multiple documents from shared Markdown and YAML and a docx template.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pandoctylus-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandoctylus-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file pandoctylus-0.1.0.tar.gz.

File metadata

  • Download URL: pandoctylus-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for pandoctylus-0.1.0.tar.gz
Algorithm Hash digest
SHA256 189ad465aab9fb783cfad2ca2274b732a06bc40312b8be856fb69b1f7123a9cf
MD5 f86b5d54bf66a93be376e5952085dbf0
BLAKE2b-256 fa11f555ed4f1ead9ef662569405447cafd154484772987f0f7a40cc39bc1979

See more details on using hashes here.

File details

Details for the file pandoctylus-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pandoctylus-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.6

File hashes

Hashes for pandoctylus-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 27f991bf570fa58891bb5b99b23e59fd49399d01b9fabe552b172a869681a918
MD5 74ac7c33e24f6c685c1a4fd8b9b68388
BLAKE2b-256 2deddd3f6c1c34bef448d8cd700c5e426ddf069a67c9c3ad48d1cf8e5d154cb0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page