Skip to main content

inline-html

This script parses an input HTML and

  • inlines all images in <img> tags with data-uri

  • inlines all external stylesheets references using <link rel=”stylesheet” type=”text/css”…>

  • replaces all CSS references to external files (url(..)) with data-uri

Requirements

  • works with Python 2.7 and 3.4/3.5

Usage

bin/inline-html --in-file in.html --out-file out.html

License

  • GPL 2 (see LICENSE.txt)

Repository

Bugtracker

Author

Andreas Jung/ZOPYX
www.zopyx.com

Release files for inline-html 1.0.0

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

Source distribution (sdist)

Source distribution for inline-html 1.0.0
File Size Uploaded
inline-html-1.0.0.zip 467.4 kB Details

Release files / inline-html-1.0.0.zip

Download URL inline-html-1.0.0.zip
Size 467.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b8291390cc7ef5337cd0eaa8ff160585a7eb67d148b32e46cb744b02d15fc5aa
BLAKE2b-256 checksum
How to use checksums
894d095d012f0d78e6f4ac98533981e67b1da7eb7d5ee036ee20f8240b6fae99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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