pyhakuna
is a client to access the API of the time keeping service hakuna.ch.
The Hakuna API is – unfortunately – personal and currently does not allow to access company-wide data.
This tool requires Python 3.
pip3 install -U pyhakuna
Use the same command to update to a new version.
from pyhakuna import Hakuna
h = Hakuna("instance-name", "api-token")
u = h.personal().users().me()
The API tries to follow the structure of the Hakuna API documentation.
python3 -m venv .venv
source .venv/bin/active
python3 -m pip install -U pip setuptools wheel
python3 -m pip install -r requirements.txt
python3 -m pip install -e .
tl;dr:
rm -rf dist *.egg-info
python3 -m pip install -U build twine
python3 -m build
python3 -m twine upload dist/*
# Username: __token__
This code is copyrighted. But it can be used under the terms of the MIT license for your own purposes. It builds upon the following third party modules:
- requests, a simple HTTP client for Python, which is made available under the terms of the Apache Software License.
Open source software rocks 🎸!