html2docx-1.6.0


توضیحات

Convert valid HTML input to docx.
ویژگی مقدار
سیستم عامل -
نام فایل html2docx-1.6.0
نام html2docx
نسخه کتابخانه 1.6.0
نگهدارنده ['eRezLife']
ایمیل نگهدارنده ['noreply@erezlife.com']
نویسنده eRezLife
ایمیل نویسنده noreply@erezlife.com
آدرس صفحه اصلی https://github.com/erezlife/html2docx
آدرس اینترنتی https://pypi.org/project/html2docx/
مجوز MIT
# html2docx html2docx converts valid HTML input to docx output. The project is distributed under the MIT license. ## Installing To install, use pip: ``` $ pip install html2docx ``` ## Usage ```py from html2docx import html2docx with open("my.html") as fp: html = fp.read() # html2docx() returns an io.BytesIO() object. The HTML must be valid. buf = html2docx(html, title="My Document") with open("my.docx", "wb") as fp: fp.write(buf.getvalue()) ``` ## Testing To run the test suite, use tox: ``` $ tox ```


نیازمندی

مقدار نام
- python-docx
- tinycss2


زبان مورد نیاز

مقدار نام
>=3.7 Python


نحوه نصب


نصب پکیج whl html2docx-1.6.0:

    pip install html2docx-1.6.0.whl


نصب پکیج tar.gz html2docx-1.6.0:

    pip install html2docx-1.6.0.tar.gz