Pdfdeal

Latest version: v0.4.9

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

0.4.0

[🌐English](https://menghuan1918.github.io/pdfdeal-docs/changes/#v0-4-0) | [简体中文](https://menghuan1918.github.io/pdfdeal-docs/zh/changes/#v0-4-0)

> [!caution]
> Doc2X的V1接口将会在近期被弃用!请尽快迁移至V2接口。请查看[接口迁移指南](https://menghuan1918.github.io/pdfdeal-docs/zh/changes/v1tov2.html),以查看您的场景是否有需要代码更改。
>
> **在大部分情况下,您不需要更改任何代码**,`0.4.X`版本会尽可能地向上兼容`0.3.1`版本。

✨ 功能变动

- 支持Doc2X V2接口
- `pdf2file`接口将会自动识别输入是`文件夹路径`/`文件路径`/`列表形式的文件路径`并进行处理,[查看](https://menghuan1918.github.io/pdfdeal-docs/zh/guide/pdf.html)
- `pdf2file`将会自动保持原有文件结构,不再需要手动介入,[查看](https://menghuan1918.github.io/pdfdeal-docs/zh/guide/pdf.html)
- 完善报错提示,现在其会尝试为报错提供解决方案

🚀 其他

- 优化包依赖,现在只需`httpx`和`pypdf`这两个小型包
- 提供了更为简便的debug日志开关

0.3.1

[English](https://menghuan1918.github.io/pdfdeal-docs/changes/#v0-3-1) | [🌐简体中文](https://menghuan1918.github.io/pdfdeal-docs/zh/changes/#v0-3-1)

> [!caution]
> After version **0.3.1** the output has been updated to `logging`, which by default only outputs Warning and above. If you want to see the processing, set the `logging` level to INFO:
> python
> import logging
> httpx_logger = logging.getLogger("httpx")
> httpx_logger.setLevel(logging.WARNING)
> logging.basicConfig(level=logging.INFO)
>

🚀 Others

- Changed the package information output to the `logging` module, which doesn't output a bunch of stuff anymore

0.3.0

[English](https://menghuan1918.github.io/pdfdeal-docs/changes/#v0-3-0) | [🌐简体中文](https://menghuan1918.github.io/pdfdeal-docs/zh/changes/#v0-3-0)

✨ Feature Changes

- [Document Splitting](... /guide/Tools/Auto_split.md) supports outputting multiple files by paragraph.
- New [Document Unzip](... /guide/Tools/Unzip.md).

🔧 BUG Fixes

- Fixed terminology for switching state prompts
- Fixed not being able to print error report stacks

🚀 Others

- Documentation page improved for Linux users (more friendly font designation)
- Added demonstration of use with RAG applications (e.g. Fastgpt, Dify, etc.)

0.2.5

[English](https://menghuan1918.github.io/pdfdeal-docs/changes/#v0-2-5) | [🌐简体中文](https://menghuan1918.github.io/pdfdeal-docs/zh/changes/#v0-2-5)

✨ Feature Changes

- Added built-in upload tool: S3

🔧 Bug Fixes

- MD Document Image Uploader could not handle relative path images.

🚀 Others

- Introduced Ruff in GitHub Action for code checking and code formatting.

0.2.4

[English](https://menghuan1918.github.io/pdfdeal-docs/changes/#v0-2-4) | [🌐简体中文](https://menghuan1918.github.io/pdfdeal-docs/zh/changes/#v0-2-4)

✨ Feature changes
- New MD Document Auto Split tool
- New MD document image upload tool
- New built-in upload tool: AliCloud OSS
- CLI tool will keep the source name of the file (instead of UUID name).

🔧 BUG Fixes
- Fixed an issue where an error message was not displayed when a status request failed

0.2.3

[English](https://menghuan1918.github.io/pdfdeal-docs/changes/#v0-2-3) | [🌐简体中文](https://menghuan1918.github.io/pdfdeal-docs/zh/changes/#v0-2-3)

🔧 BUG Fixes
- Fixed issue that did not work in Jupyter Notebook
- Fixed rate limiter not working in pdfdeal function.

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.