Skip to main content

MAINTAINER NEEDED: this project is complete but won’t be updated until further notice. If you have interest in improving it, please contact me by creating an issue here .

PyPI Python Version License

Read the documentation at https://pdf-split-tool.readthedocs.io/ Tests Codecov

pre-commit Black

Features

  • Cross-platform: Windows, Mac, and Linux are officially supported.

  • Works with Python 3.8 and 3.9.

  • Splits documents by max size.

  • Checks for high-resolution PDFs before splitting.

Requirements

You need Python 3.8 or above (3.9 recommended) installed on your machine.

Windows users should download Windows x86-64 executable installer and in the installer screen be ensure the option Add Python 3.8 to PATH is checked:

Windows Installation PATH checkbox

Installation

You can install Pdf Split Tool via pip from PyPI:

pip install pdf-split-tool

Note: on Windows you can copy the above command in the cmd program.

Usage

  1. Enter the terminal of your operating system eg. cmd program on Windows or shell on Linux and MacOS.

  2. Choose the one option and execute the command on the terminal:

  • For splits with the default value (20mb) of a specific PDF

pdf-split-tool C:\Users\John\myfile.pdf
  • For splits with the default value (20mb) of all PDFs in a folder

pdf-split-tool
  • You can choose the max size in megabytes with the option -m or –max-size

pdf-split-tool --max-size 50 # for 50 megabytes

Note: you can also use –max-size after the path of a specific PDF and fractional numbers such as “50.5”.

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide.

License

Distributed under the terms of the MIT license, Pdf Split Tool is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz’s Hypermodern Python Cookiecutter template.

Metadata

Release files for pdf-split-tool 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pdf-split-tool 1.0.2
File Size Uploaded
pdf-split-tool-1.0.2.tar.gz 5.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pdf-split-tool 1.0.2
File Interpreter ABI Platform
pdf_split_tool-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 12.3 kB

Release files / pdf-split-tool-1.0.2.tar.gz

Download URL pdf-split-tool-1.0.2.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9629bbb424684be9bf3b2517fc07681b8645dde944ede2db9dcd6592bdd250e8
BLAKE2b-256 checksum
How to use checksums
4a65e1ecb69b07a7690897c0fa38709d80b22893825adadc2601a6e771c189f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

Release files / pdf_split_tool-1.0.2-py3-none-any.whl

Download URL pdf_split_tool-1.0.2-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27b1b6faf1e9bea07008fb9cf2c5fca597671f2b352ee923e1a186236277cd32
BLAKE2b-256 checksum
How to use checksums
9d52f9d7b9bb270eedf734d28686bdbbfb397504302031748a37b9fb0b373cb7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.8.7

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page