跳转到主要内容

将原始HTML页面转换为Python源代码

项目描述

moodlmth

将原始HTML页面转换为Python源代码

PyPI version PyPI pyversions Build Status codecov Code style: black

是什么..?

moodlmthhtmldoom 的逆过程

用法

# 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

项目详情


下载文件

下载适用于您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源代码分发

moodlmth-0.4.0.tar.gz (7.4 kB 查看哈希值)

上传时间:

构建分发

moodlmth-0.4.0-py3-none-any.whl (10.9 kB 查看哈希值)

上传时间: Python 3

支持者