# pdf_split **Repository Path**: fpga1988/pdf_split ## Basic Information - **Project Name**: pdf_split - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-02-10 - **Last Updated**: 2025-02-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # pdf_split ## 介绍 该项目是一个用于切分和合并 PDF 文件的工具。支持按大小或份数切分 PDF 文件。 This project is a tool for splitting and merging PDF files. It supports splitting PDF files by size or number of parts. ## 功能特性 ✅ 智能PDF切分算法 ✅ 无损合并保证 ✅ 命令行友好接口 ## 安装依赖 ```bash pip install -r requirements.txt ``` ## 使用示例 ### 切分PDF ```bash # 按大小切分(每个分卷不超过5MB) python pdf_tool.py split input.pdf output --max-size 5242880 # 按份数切分(分成3部分) python pdf_tool.py split input.pdf output --num-parts 3 ``` ### 合并PDF ```bash python pdf_tool.py merge part*.pdf merged.pdf ``` ## 设计文档 详细技术规范请参考 [design_spec.md](design_spec.md) ## 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request 1. Fork this repository 2. Create a new branch named Feat_xxx 3. Submit your code 4. Create a new Pull Request ## 特技 1. 使用 Readme_XXX.md 来支持不同的语言,例如 Readme_en.md, Readme_zh.md 2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目 5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)