Skip to main content

Vacation Tracker

A command-line tool to track and manage vacation periods with support for holidays and date ranges. This tool helps you manage your vacation days, taking into account:

  • Vacation day entitlements per month
  • Public holidays based on country/region
  • Weekend exclusions
  • Year transitions and expiration dates
  • Detailed summaries and reporting

Prerequisites

  • Python 3.10 or later

Installation

Install using pip:

pip install vacation-tracker

Configuration

First, create a new tracking configuration:

vacation-tracker new --days 2.5 --first-year 2023 --first-month 1 \
                     --last-year 2024 --last-month 12 \
                     --special-days 12-31 --special-days 01-02

This creates a vacation-periods.toml file with your vacation tracking settings. The configuration includes:

  • Days earned per month
  • Tracking period (start/end dates)
  • Country/region for holiday calculations
  • List of vacation periods

Example configuration:

days-per-month = 2.5
first-year = "2023-01" # Start tracking from January 2023
last-year = "2024-12"  # Track until December 2024
country = ["DE", "BY"]  # Germany, Bavaria region
categories = ["public", "catholic"]  # Holiday categories to consider
special-days = ["12-31"] # Special days to exclude from vacation calculation

Usage

Adding Vacation Periods

Add single day vacations:

vacation-tracker add "Doctor Appointment" --first 2023-05-15

Add multi-day periods:

vacation-tracker add "Summer Holiday" --first 2023-08-01 --last 2023-08-15

Viewing Vacation Summary

Basic summary:

vacation-tracker show

This displays a table with:

  • Yearly entitlements
  • Utilized days
  • Remaining days
  • Expired allocations

Detailed view with individual periods:

vacation-tracker show --detailed

Example output:

 Year  Months  Entitlement  Real Util  Adj Util  Remaining
 2023  12      30           25         25        5 (expired)
 ├─ 01.08-15.08 (11): Summer Holiday
 └─ 15.05 (1): Doctor Appointment
 2024  12      30           0          0         30

Features

  • Automatically handles:
    • Weekend exclusions
    • Public holidays based on country/region
    • Vacation day expiration
    • Year transitions
    • Period overlaps prevention
    • Cross-year vacation splits
  • Configurable holiday categories
  • Support for partial day accumulation (e.g., 2.5 days/month)
  • Detailed vacation period tracking and reporting

License

MIT, see LICENSE.

Metadata

Release files for vacation-tracker 0.1.5

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

Source distribution (sdist)

Source distribution for vacation-tracker 0.1.5
File Size Uploaded Provenance Actions
vacation_tracker-0.1.5.tar.gz 12.4 kB With provenance Details for vacation_tracker-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vacation-tracker 0.1.5
File Interpreter ABI Platform Actions
vacation_tracker-0.1.5-py3-none-any.whl Python 3 none any Details for vacation_tracker-0.1.5-py3-none-any.whl

Total release size: 21.3 kB

Release files / vacation_tracker-0.1.5.tar.gz

Download URL vacation_tracker-0.1.5.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ade2a2ee2a7b62d8c8c10586b59c4e47a648dd0cef1d6175df8a4c04d9282690
BLAKE2b-256 checksum
How to use checksums
9ed12b7f4b948c5079780f6b4bd1dc0b15dc68af31e76d77fce05b57b8119a9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Release files / vacation_tracker-0.1.5-py3-none-any.whl

Download URL vacation_tracker-0.1.5-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4478676de915f0687fe123aa0df6400575c8810ee6b1c80e5a14cdae6b10f16b
BLAKE2b-256 checksum
How to use checksums
49e3e08a3197c601c0898a401d322c8f1d5a0bc80af86f9095f3283b434138c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

Security for vacation-tracker 0.1.5

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for vacation_tracker-0.1.5.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.

Transparency log

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.

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