Skip to main content

Pdf Split Tool

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdf-split-tool-1.0.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

pdf_split_tool-1.0.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file pdf-split-tool-1.0.2.tar.gz.

File metadata

  • Download URL: pdf-split-tool-1.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pdf-split-tool-1.0.2.tar.gz
Algorithm Hash digest
SHA256 9629bbb424684be9bf3b2517fc07681b8645dde944ede2db9dcd6592bdd250e8
MD5 d15d702f9313fbdb82ea2c2c5b667659
BLAKE2b-256 4a65e1ecb69b07a7690897c0fa38709d80b22893825adadc2601a6e771c189f3

See more details on using hashes here.

File details

Details for the file pdf_split_tool-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: pdf_split_tool-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pdf_split_tool-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 27b1b6faf1e9bea07008fb9cf2c5fca597671f2b352ee923e1a186236277cd32
MD5 6344de3206690eacf93a4fbb3c8caeae
BLAKE2b-256 9d52f9d7b9bb270eedf734d28686bdbbfb397504302031748a37b9fb0b373cb7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page