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.

Source Distribution

moodlmth-0.4.0.tar.gz (7.4 kB view hashes)

Uploaded Source

Built Distribution

moodlmth-0.4.0-py3-none-any.whl (10.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page