معرفی شرکت ها


docx2pdf-0.1.8


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Convert docx to pdf on Windows or macOS directly using Microsoft Word (must be installed).
ویژگی مقدار
سیستم عامل -
نام فایل docx2pdf-0.1.8
نام docx2pdf
نسخه کتابخانه 0.1.8
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Al Johri
ایمیل نویسنده al.johri@gmail.com
آدرس صفحه اصلی https://github.com/AlJohri/docx2pdf
آدرس اینترنتی https://pypi.org/project/docx2pdf/
مجوز MIT
# docx2pdf [![PyPI](https://img.shields.io/pypi/v/docx2pdf)](https://pypi.org/project/docx2pdf/) Convert `docx` to `pdf` on Windows or macOS directly using Microsoft Word (must be installed). On Windows, this is implemented via [`win32com`](https://pypi.org/project/pywin32/) while on macOS this is implemented via [JXA](https://github.com/JXA-Cookbook/JXA-Cookbook) (Javascript for Automation, aka AppleScript in JS). ## Install On macOS: ``` brew install aljohri/-/docx2pdf ``` Via [pipx](https://pipxproject.github.io/pipx/): ``` pipx install docx2pdf ``` Via pip: ``` pip install docx2pdf ``` ## CLI ``` usage: docx2pdf [-h] [--keep-active] [--version] input [output] Example Usage: Convert single docx file in-place from myfile.docx to myfile.pdf: docx2pdf myfile.docx Batch convert docx folder in-place. Output PDFs will go in the same folder: docx2pdf myfolder/ Convert single docx file with explicit output filepath: docx2pdf input.docx output.docx Convert single docx file and output to a different explicit folder: docx2pdf input.docx output_dir/ Batch convert docx folder. Output PDFs will go to a different explicit folder: docx2pdf input_dir/ output_dir/ positional arguments: input input file or folder. batch converts entire folder or convert single file output output file or folder optional arguments: -h, --help show this help message and exit --keep-active prevent closing word after conversion --version display version and exit ``` ## Library ```python from docx2pdf import convert convert("input.docx") convert("input.docx", "output.pdf") convert("my_docx_folder/") ``` See CLI docs above (or in `docx2pdf --help`) for all the different invocations. It is the same for the CLI and python library. ## Jupyter Notebook If you are using this in the context of jupyter notebook, you will need `ipywidgets` for the tqdm progress bar to render properly. ``` pip install ipywidgets jupyter nbextension enable --py widgetsnbextension ``


نیازمندی

مقدار نام
>=227) pywin32
>=4.41.0 tqdm
>=1.3.0) importlib_metadata
>=1.1.0) appscript


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

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


نحوه نصب


نصب پکیج whl docx2pdf-0.1.8:

    pip install docx2pdf-0.1.8.whl


نصب پکیج tar.gz docx2pdf-0.1.8:

    pip install docx2pdf-0.1.8.tar.gz