Skip to main content

Split a CoreHR PDF application pack into multiple individual PDF applications.

Project description

CoreHR Application Pack PDF Splitter

Python License PyPI version

A Python package to extract individual applications from a combined PDF file, such as for Oxford HR application packs.

Installation and Usage

Option 1: Using uvx (Recommended)

If you have uv installed, you can run the tool directly without installing it:

uvx corehr-pdf-split --input-pdf applicationspack.pdf --output-dir output

Option 2: Install from PyPI

Install the package globally or in a virtual environment:

pip install corehr-pdf-split

Then run:

corehr-pdf-split --input-pdf applicationspack.pdf --output-dir output

Option 3: Using uv (for development or local use)

uv tool install corehr-pdf-split

Then run:

corehr-pdf-split --input-pdf applicationspack.pdf --output-dir output

How it works

The tool processes the input PDF file and saves individual applications in the specified output directory. The output folder will be created if it does not exist yet. Each applicant's PDF is saved with a filename format: LastName,FirstName [ApplicantID].pdf.

Example

uvx corehr-pdf-split --input-pdf applicationspack.pdf --output-dir output

This will process the applicationspack.pdf file and save individual applications in the output directory.

Development

If you want to contribute to or modify this project:

Prerequisites

  • uv for dependency management

Setup

  1. Clone this repository:

    git clone https://github.com/synthetic-society/corehr-pdf-split.git
    cd corehr-pdf-split
    
  2. Install dependencies:

    uv sync
    
  3. Run the tool in development mode:

    uv run corehr-pdf-split --input-pdf <path_to_input_pdf> --output-dir <path_to_output_directory>
    

Building and Publishing

To build the package:

uv build

To publish to PyPI (maintainers only):

uv publish

License

This project is available under the MIT License.

Contributing

Contributions, issues, and feature requests are welcome.

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

corehr_pdf_split-1.0.2.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

corehr_pdf_split-1.0.2-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file corehr_pdf_split-1.0.2.tar.gz.

File metadata

  • Download URL: corehr_pdf_split-1.0.2.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.12

File hashes

Hashes for corehr_pdf_split-1.0.2.tar.gz
Algorithm Hash digest
SHA256 9e83b36e0864528cc8ae183d7cbe82dfa996d59e5435411e5e17c916bbe41888
MD5 88d6ec83562804df836af894e520d294
BLAKE2b-256 ec49686be692891aed8573a9c884289cba3aecbf4307acb9337de2da75b8f6e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for corehr_pdf_split-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a2cc18836de5305b18fd771f7417f5af37142e510d8bb0aa2e82f0208f1998b7
MD5 c213dbbdc3305dcb45c06bbaa0c75791
BLAKE2b-256 60c4255eaa01c361ec4937387ecf43506e6243f744e70bb408dfe7eedaba161e

See more details on using hashes here.

Supported by

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