Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

HTML stylesheet inliner, replaces resources with data-uri

Project Description

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

Author

Andreas Jung/ZOPYX
www.zopyx.com

Release history Release notifications

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
inline-html-0.1.2.zip (460.5 kB) Copy SHA256 hash SHA256 Source None Feb 19, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page