Skip to main content

Convert raw HTML pages into python source code

Project description

moodlmth

Convert raw HTML pages into python source code

PyPI version PyPI pyversions Build Status codecov Code style: black

What..?

moodlmth is the reverse of htmldoom

Usage

# Convert web page to Python syntax
moodlmth https://google.com

# Convert web page into YAML syntax
moodlmth -s yaml https://google.com

# Convert HTML file and write to another file
moodlmth /filepath/index.html -o index.py

# Force conversion
moodlmth index.html -o index.py --fast --debug

Project details


Download files

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

Files for moodlmth, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size moodlmth-0.4.0-py3-none-any.whl (10.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size moodlmth-0.4.0.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

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