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.3.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

moodlmth-0.3.0-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: moodlmth-0.3.0.tar.gz
  • Upload date:
  • Size: 7.5 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.3.0.tar.gz
Algorithm Hash digest
SHA256 9fc93e109eca26937dffe5b9eb35ec7e78ab67120bff3f4bcb104726f5da028e
MD5 330383e083b16947da533dd650505ab7
BLAKE2b-256 369053b838ee2db27e8a495c3af6601fd80da40722454ed0004915b4aac4e4aa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: moodlmth-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 11.0 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b54eb6f66772568d8f347a66eca445e9426a433fea8b483cd81f53075fbbb44f
MD5 b474c4959e9e16a7cf06c1950cae0da2
BLAKE2b-256 0bbbf804b9b9c4214cd0e99d5400cd4dd90de3a476d7ac5de044c175528f6bf3

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