Skip to content

Commit

Permalink
Auto-generated summary:
Browse files Browse the repository at this point in the history
  Commit Date: 20240311081546
  File changes:
     README.md                   | 4 +++-
 pdf_regenerator/__main__.py | 1 -
 pyproject.toml              | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)
  • Loading branch information
Talbot3 committed Mar 11, 2024
1 parent 771de02 commit b883571
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
[![Stable Version](https://img.shields.io/pypi/v/pdf-regenerator?label=stable)][PyPI Releases]
![Python Versions](https://img.shields.io/pypi/pyversions/pdf-regenerator)
[![Download Stats](https://img.shields.io/pypi/dm/pdf-regenerator)](https://pypistats.org/packages/pdf-regenerator)
[![GitHub last commit](https://img.shields.io/github/last-commit/Talbot3/PDFRegenerator)](PDFRegenerator)

Regenerator PDF 是一款开源工具,可帮助您将PDF文档 转换为有辅助信息的PDF。它可以执行以下功能:
- **标记到索引单元**:将 PDF 文档中的标记转换为索引单元,以便于快速导航和搜索。
Expand All @@ -31,4 +32,5 @@ python3 -m pdf_regenerator /Users/lilisi/PDFRegenerator/tests/asset/word2vec.pdf
## 资源
* [Releases][PyPI Releases]

[PyPI Releases]: https://pypi.org/project/pdf-regenerator/#history
[PyPI Releases]: https://pypi.org/project/pdf-regenerator/#history
[PDFRegenerator]: https://github.com/Talbot3/PDFRegenerator
1 change: 0 additions & 1 deletion pdf_regenerator/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def create_pdf_with_contents(pdf_path, output_path):
packet.seek(0)
new_pdf = PdfReader(packet) # 更新类名
output = PdfWriter() # 更新类名

output.add_page(new_pdf.pages[0]) # 更新调用方式

existing_pdf = PdfReader(open(pdf_path, "rb")) # 更新类名
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pdf_regenerator"
version = "0.0.20240310102626"
version = "0.0.20240311081546"
authors = [{name="Talbot3",email="[email protected]"}]
description = "PDF Regenerator是一款开源辅助阅读工具,可帮助重新生成 有辅助信息的PDF 文件。"
readme = "README.md"
Expand Down

0 comments on commit b883571

Please sign in to comment.