numbering2pdf adds numbering to pdf file
Example:
from numbering2pdf import add_numbering_to_pdf
add_numbering_to_pdf("old_file.pdf", "new_file.pdf")
Parameters:
pdf_file - string or bytes
add_numbering_to_pdf("old_file.pdf", "new_file.pdf")
file = open("new.pdf", "br")
read_file = file.read()
file.close()
add_numbering_to_pdf(read_file, "new_file.pdf")
new_file = add_numbering_to_pdf("old_file.pdf")
new_pdf_file_path - path to new pdf file
add_numbering_to_pdf("old_file.pdf", "test/new_file.pdf")
position - position on screen (left, center, right)
add_numbering_to_pdf("old_file.pdf", "new_file.pdf", position="left")
add_numbering_to_pdf("old_file.pdf", "new_file.pdf", position="center")
add_numbering_to_pdf("old_file.pdf", "new_file.pdf", position="right")
start_page - from which page number will the numbering be added
add_numbering_to_pdf("old_file.pdf", "new_file.pdf", start_page=3)
end_page - on which page number will the numbering be completed
add_numbering_to_pdf("old_file.pdf", "new_file.pdf", end_page=10)
start_index - which number will the page numbering start from
add_numbering_to_pdf("old_file.pdf", "new_file.pdf", start_index=4)
size - number size
add_numbering_to_pdf("old_file.pdf", "new_file.pdf", size=25)
font - font type
Courier, Courier-Bold, Courier-Oblique, Courier-BoldOblique, Helvetica, Helvetica-Bold, Helvetica-Oblique, Helvetica-BoldOblique, Times-Roman, Times-Bold, Times-Italic, Times-BoldItalic, Symbol, ZapfDingbats
add_numbering_to_pdf("old_file.pdf", "new_file.pdf", font="Courier")
Metadata
Release files for numbering2pdf 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| numbering2pdf-1.0.3.tar.gz | 2.8 kB | Without provenance | Details for numbering2pdf-1.0.3.tar.gz |
Release files / numbering2pdf-1.0.3.tar.gz
| Download URL | numbering2pdf-1.0.3.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6bb07c119c52d8083da5b5f7f1fdd39becd1e0af9ffb4271344fbea9cc97200e
|
|
BLAKE2b-256 checksum How to use checksums |
b140c6318a1fe7f310b7a691ab2a67f81ccda7f484b131d03540d472b8bfaf11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.0
|
Security for numbering2pdf 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.