Skip to main content

cdlpto

This is a command line application that will fill out CDL's PTO request form for you.

cdlpto 2023-06-26 --n-days 5 --comment "Summer Vacation"

After writing the PDF, the program will pop it open in Preview. It also opens an email draft in the Gmail web interface. Drag the document proxy icon from Preview's title bar to the compose window and hit send.

Installation

Use pipx:

pipx install cdlpto

Plain old pip will work too.

Or, if you want a development version, use:

pip install --editable git+https://github.com/baldwint/cdlpto#egg=cdlpto

Configuration

On first run, a config file is put in ~/Library/Application Support/cdlpto. This is where you configure your name, email signature, and the person you send the form to. You should also put a blank, signed copy of the PDF form in this folder for use as a template.

Usage

Run cdlpto --help to see the options. It can also do sick leave, floating holidays, etc.

Limitations

It doesn't know about weekends or the CDL holiday schedule. So don't give it any multi-week spans, or spans that include days you don't need to take PTO for.

Metadata

Release files for cdlpto 0.2.1

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

Source distribution (sdist)

Source distribution for cdlpto 0.2.1
File Size Uploaded Provenance
cdlpto-0.2.1.tar.gz 7.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cdlpto 0.2.1
File Interpreter ABI Platform
cdlpto-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 14.3 kB

Release files / cdlpto-0.2.1.tar.gz

Download URL cdlpto-0.2.1.tar.gz
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
93b15b62802aba13a396dbada2e5591a461162dc0a71dbbba758700ad5210ebf
BLAKE2b-256 checksum
How to use checksums
c006e9589ddc7ad4f37ca6079401d45c8ef7eb44b527c8e5a63b75c06ad8f43a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release files / cdlpto-0.2.1-py3-none-any.whl

Download URL cdlpto-0.2.1-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b28f93dcd36c569ff74946351de30e609df9d331b6290b25873460350d70f5c1
BLAKE2b-256 checksum
How to use checksums
ad5a7751ac4c34c5e32a7fc626a831833df97d12cc2e339f41d675d1116fc2e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Security for cdlpto 0.2.1

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.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files No provenance

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