Skip to main content

CoreHR Application Pack PDF Splitter

CI 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.

Metadata

Release files for corehr-pdf-split 1.0.3

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

Source distribution (sdist)

Source distribution for corehr-pdf-split 1.0.3
File Size Uploaded
corehr_pdf_split-1.0.3.tar.gz 30.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for corehr-pdf-split 1.0.3
File Interpreter ABI Platform
corehr_pdf_split-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 35.7 kB

Release files / corehr_pdf_split-1.0.3.tar.gz

Download URL corehr_pdf_split-1.0.3.tar.gz
Size 30.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7aaca848ebd0d521ac8a0d32a85fb2740973058418569fc9e021863888452168
BLAKE2b-256 checksum
How to use checksums
e64e81ecb6812395fe891e93da408eb4cdc67faddda6de93f1a2aa921b2b544d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Release files / corehr_pdf_split-1.0.3-py3-none-any.whl

Download URL corehr_pdf_split-1.0.3-py3-none-any.whl
Size 5.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09b952bb73e3bea9689e50eb5fb10023f7b664fe0afee70b120929d4d1420c28
BLAKE2b-256 checksum
How to use checksums
54c49d106f5cbd35e292cbf21321b46fd542a53de6d6bfa8a1e7d0258c897cbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.13

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

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