__ __ _ _ \ \ / / __ _ __ __ _ | |_ (_) ___ _ _ \ V / / _` | / _| / _` | | _| | | / _ \ | ' \ _\_/_ \__,_| \__|_ \__,_| _\__| _|_|_ \___/ |_||_| _| """"|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""|_|"""""| "`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'"`-0-0-'
This handy little app keeps track of your accumulated and remaining vacation days.
Vacation is a Python script, so is installable via pip:
pip install vacation
pip install -U vacation
pip uninstall vacation
You can even install Vacation into your virtualenv if you want (pip install vacation
),
and it will give you the vacation
command without polluting your global site-packages
or /usr/local/bin/
.
Now that Vacation is installed, let's set up your .vacationrc
file.
The first two lines in your file must define a starting days value,
and a rate of accumulation.
Run the following:
vacation set days 10
vacation set rate 15
This gives you 10 days (as of today) and a rate of 3 weeks (15 days) per year of vacation accrual. Now you're good to go.
The installation will put the vacation
command in your /usr/local/bin/
so you should be able to run it from anywhere.
vacation
or vacation show
: Display vacation days remainingvacation set days N
: Specify, as of today, how many days you have remaining
vacation set days 10.5
vacation set rate N
: Specify, as of today, what rate you accumulate vacation days
vacation set rate 20
vacation Nov 8
: Take a vacation day on November 8vacation Nov 8, 12
: Take two vacation days, on November 8 and 12Development should be easy!
brew install python3
on OSXgit clone git@github.com:pulseenergy/vacation.git
python3.5 -m venv venv
source venv/bin/activate
pip install -r requirements
nosetests
or make test
run.py
script
python run.py [args]