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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file moodlmth-0.4.0.tar.gz.

File metadata

  • Download URL: moodlmth-0.4.0.tar.gz
  • Upload date:
  • Size: 7.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

File hashes

Hashes for moodlmth-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6f37a4735c176b49aa5afb81ce9d5934f2102662ccdac5372b9ff54642052568
MD5 9ed42c50abd6f8b1b8f99a910f892972
BLAKE2b-256 8316834e4e588ded04703e64d5b75c89bb8ab679b993996a57592bedabe4cb62

See more details on using hashes here.

File details

Details for the file moodlmth-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: moodlmth-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 10.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

File hashes

Hashes for moodlmth-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91042c73468d4337fa91f6d31e376b1fc2915a07b2c3438db1d8e71738c50438
MD5 629da8d7c3b3bcc79d51f3dcb6a35ef8
BLAKE2b-256 6d63ed95645106927cefc92cfbc1b154c1a5be9da65998fa325a66cf873ed112

See more details on using hashes here.

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