Skip to main content
https://badge.fury.io/py/django-html-dumper.svg https://travis-ci.org/adrienbrunet/django-html-dumper.svg?branch=master https://codecov.io/gh/adrienbrunet/django-html-dumper/branch/master/graph/badge.svg

Dumps html pages and their corresponding assets into a tar file

Documentation

The full documentation is at https://django-html-dumper.readthedocs.io.

Quickstart

Install HTML dumper:

pip install django-html-dumper

Add it to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...
    'html_dumper.apps.HtmlDumperConfig',
    ...
)

Features

  • Add a django command dump_html

python manage.py dump_html [path/to/my/page1 my/page2] (default to ['/', ])

This will create a directory HTML_OUTPUT (name can be customized via settings.SITE_OUTPUT_DIRECTORY) which will contain :

  • the content of the page under the given urls for all available languages

  • the static folder (copied from the output of collectstatic, beware of all the admin assets…)

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Credits

Tools used in rendering this package:

History

0.2.5 (2017-08-14)

  • First usable (ish) version

0.1.0 (2017-08-14)

  • First release on PyPI.

Release files for django-html-dumper 0.2.6

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

Source distribution (sdist)

Source distribution for django-html-dumper 0.2.6
File Size Uploaded
django-html-dumper-0.2.6.tar.gz 6.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-html-dumper 0.2.6
File Interpreter ABI Platform
django_html_dumper-0.2.6-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 13.3 kB

Release files / django-html-dumper-0.2.6.tar.gz

Download URL django-html-dumper-0.2.6.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
810efae28a80e045262af9a0c0b38b2576990e6b8a88f0011c46a9949198e611
BLAKE2b-256 checksum
How to use checksums
65fd2cee5de26f960aa0c858e27c7635bc8ebc8505d64db9b6efc06075e006c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_html_dumper-0.2.6-py2.py3-none-any.whl

Download URL django_html_dumper-0.2.6-py2.py3-none-any.whl
Size 6.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
72372c5729af348b9269c20506e6bea51805d81feaed483fbf8ae1051844ba5c
BLAKE2b-256 checksum
How to use checksums
29360e89404615814ccb02d72665c5cd1ea7a2fb9cf7583ed5d3f569c3a2e706
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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