This release is a pre-release and may not be stable for production use.
wagtail-pdf-converter
PDF to Markdown conversion for Wagtail, powered by AI
Supported versions
- Python 3.10 - 3.14
- Django: 4.2, 5.1, 5.2, 6.0
- Wagtail: 6.3, 7.0, 7.1, 7.2
Development
Requirements
Core
- Python 3.10+
Extra
- Docker and Docker Compose, if you want to quickly set up a Postgres DB to work with
Getting Started
- With your preferred virtualenv activated, install the dependencies
python -m pip install --upgrade pip
python -m pip install -e ".[dev]"
You can also use flit:
python -m pip install flit
flit install
- If you're using Postgres:
Spin up the postgres container:
inv up
Copy .env.example to .env:
cp -v .env.example .env
The DATABASE_URL in .env will be automatically picked up by the test settings. If no .env file exists, the project will use SQLite by default.
And you should be good to go
Running tests
The simplest is to just run pytest.
If you wanna run the full tox suite, then run tox (You need to ensure you have all the different versions of python on your system, and tox should know about them). You can speed things up by running all envs in parallel, via tox -p auto.
or, you can run them for a specific environment tox -e python3.14-django5.2-wagtail7.2 or specific test
tox -e python3.14-django5.2-wagtail7.2-sqlite wagtail_pdf_converter.tests.test_file.TestClass.test_method
To run the test app interactively, use tox -e interactive, visit http://127.0.0.1:8020/admin/ and log in with admin/changeme.
pre-commit
Note that this project uses pre-commit. It is included in the project testing requirements. To set up locally, run the following in project root:
# initialize pre-commit
pre-commit install
# Optional, run all checks once for this, then the checks will run only on the changed files
git ls-files --others --cached --exclude-standard | xargs pre-commit run --files
Release files for wagtail-pdf-converter 0.1.0rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wagtail_pdf_converter-0.1.0rc1.tar.gz | 103.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtail_pdf_converter-0.1.0rc1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 167.0 kB
Release files / wagtail_pdf_converter-0.1.0rc1.tar.gz
| Download URL | wagtail_pdf_converter-0.1.0rc1.tar.gz |
|---|---|
| Size | 103.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
65a8c40606832a857f092775ea3936546297a90488b9ed521617ce782d372326
|
|
BLAKE2b-256 checksum How to use checksums |
c8b2445d79f9619fc08e2a563978c51d8466947799d76b791c437fb2f6a0bd77
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.
Transparency logRelease files / wagtail_pdf_converter-0.1.0rc1-py3-none-any.whl
| Download URL | wagtail_pdf_converter-0.1.0rc1-py3-none-any.whl |
|---|---|
| Size | 63.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6793bac27058103ec089e0622908e7255186ff74824b29eb92f7f462b1a3811
|
|
BLAKE2b-256 checksum How to use checksums |
bb4bf07f782258099c2f2373fe6e94911d16909fe804e9465b7f88844a3e00c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 23, 2026.
Transparency log