Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

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 Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting