Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

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
Filename, size moodlmth-0.4.0.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page