cpdf-0.0.7
توضیحات
A pure-python CLI application to manipulate PDF files
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cpdf-0.0.7 |
| نام | cpdf |
| نسخه کتابخانه | 0.0.7 |
| نگهدارنده | ['Martin Thoma'] |
| ایمیل نگهدارنده | ['info@martin-thoma.de'] |
| نویسنده | Martin Thoma |
| ایمیل نویسنده | info@martin-thoma.de |
| آدرس صفحه اصلی | https://github.com/py-pdf/cpdf |
| آدرس اینترنتی | https://pypi.org/project/cpdf/ |
| مجوز | BSD-3-Clause |
[](https://github.com/psf/black)
[](https://pypi.org/project/cpdf/)
[](https://github.com/py-pdf/cpdf)
[](https://pypi.org/project/cpdf/)
# cpdf
cpdf is a pure-python cli application for manipulating PDF files.
## Installation
```bash
pip install -U cpdf
```
As `cpdf` is an application, you might want to install it with [`pipx`](https://pypi.org/project/pipx/).
## Usage
```console
$ cpdf --help
Usage: cpdf [OPTIONS] COMMAND [ARGS]...
cpdf is a pure-python cli application for manipulating PDF files.
Options:
--version
--help Show this message and exit.
Commands:
2-up Create a booklet-style PDF from a single input.
cat Concatenate pages from PDF files into a single PDF file.
extract-images Extract images from PDF without resampling or altering.
```
You can see the help of every subcommand by typing:
```console
$ cpdf 2-up --help
Usage: cpdf 2-up [OPTIONS] PDF OUT
Create a booklet-style PDF from a single input.
Pairs of two pages will be put on one page (left and right)
usage: python 2-up.py input_file output_file
Arguments:
PDF [required]
OUT [required]
Options:
--help Show this message and exit.
```
نیازمندی
| مقدار | نام |
|---|---|
| - | PyPDF2 |
| - | typer |
| - | pillow |
| - | pydantic |
| - | rich |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6.1 | Python |
نحوه نصب
نصب پکیج whl cpdf-0.0.7:
pip install cpdf-0.0.7.whl
نصب پکیج tar.gz cpdf-0.0.7:
pip install cpdf-0.0.7.tar.gz