tipee backend for Taxi
This is the Taxi backend for tipee. It
exposes the tipee protocol to push entries as timecheck proposals, through
tipee's API.
Installation
taxi plugin install tipee
Configuration
Create an API token
The backend authenticates with a personal API token, which carries your own permissions. There is no screen for it in tipee yet: log into your instance, open the browser's developer tools, and run this in the console:
fetch('/api/security/tokens.create', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ name: 'taxi' }),
}).then(r => r.json()).then(console.log)
It answers { id, token }; the token looks like tipee-0123abcd-…. It expires after 90 days without
use (each push counts as one). Keep the id: /api/security/tokens.revoke with { "id": … } revokes
the token the same way, and /api/security/tokens.list with { "resource": … } (your user id) lists
yours.
Set up the backend
Run taxi config and use the tipee protocol for your backend:
[backends]
my_tipee_backend = tipee://[token]@[instance].tipee.net/api/?resource=[user_id]
[taxi]
regroup_entries = false
[token]is the API token created above[instance]is tipee's instance name[user_id]is your tipee user id: the timechecks are proposed for you. tipee's API has no endpoint an API token may call to find it out.
Options, as query string arguments:
merge=falseproposes each entry on its own. By default, entries that follow each other without a gap (08:00-09:00then-10:30) are proposed as one timecheck (08:00-10:30): tipee shows your presence, and the detail stays in your timesheet.remark=descriptionsends the entry's description as the proposal's remark (cut at 255 characters), so that it shows in tipee; merged entries get their descriptions joined with/. Off by default: tipee gets the times and nothing else.scheme=httpcan be useful when developing (usinglocalhost:portas the hostname).
Your account needs the right to suggest timechecks, or to validate your own: without it, tipee refuses each proposal and says so.
Upgrading from 1.x: the
[app_name]:[app_private_key]URL with?person=went to tipee's legacy timeclock API, which needed a key from tipee's server configuration and created timechecks you could not edit. Create a token and replace the URL as above:?person=is now?resource=.
Usage
You can now add timesheet entries like :
19/05/2020 # Tuesday
tipee 08:00-09:00 Monitoring server
tipee -10:30 Fixing bug
tipee -? Work in progress...
Things you should know
Entries become proposals
Entries are pushed as timecheck proposals (back-to-back ones merged into one, unless merge=false),
which you can still edit or delete in tipee as long as they are not validated. Depending on your rights,
someone may have to validate them.
tipee refuses a proposal that overlaps an existing timecheck, so pushing the same hours twice fails rather than counting them twice. It also refuses one that ends in the future: push an entry once it is over.
Duration as hours is not supported
As stated in Taxi's documentation :
duration can either be a time range or a duration in hours. If it’s a time range, it should be in the format start-end, where start can be left blank if the previous entry also used a time range and had a time defined, and end can be ? if the end time is not known yet, leading to the entry being ignored. Each part of the range should have the format HH:mm, or HHmm. If duration is a duration, it should just be a number, eg. 2 for 2 hours, or 1.75 for 1 hour and 45 minutes.
However, tipee requires timechecks to have a specific start and end time, so a proper error will be thrown if you do not provide a time range.
Regrouping entries is not supported
By default, Taxi regroups entries to commit them. So if you have 3 different entries on a day with the same alias and description, it will push only one entry with the cumulated times. In tipee, this leads to timesheets overlapping each others, which are explicitly prohibited. So you need to set the option to false :
[taxi]
regroup_entries = false
Entries can end past midnight
Taxi itself refuses an entry that does not end after it starts, and cannot read 24:00. With this
backend installed, an entry may end at or past midnight, and the day may go on after it: a work day
ends when you stop working, not at midnight.
14/11/2026 # Saturday
tipee 20:00-22:15 Release
tipee -00:15 Checking the release
tipee 00:30-01:00 Hotfix
22:15-24:00 and 22:15-00:00 both end at midnight. The entry is pushed as a timecheck ending on the
next day, the entries after it are pushed on the next day, and tipee counts each day's share. A few
rules catch mistakes:
- the entry going past midnight must last less than 12 hours, so that a typo like
13:00-12:00is still refused; - a day goes past midnight only once;
- the entries after it must lie between its end and noon, so that an evening entry written below it by mistake is refused rather than pushed a day late.
The night can also go on after a pause, with no entry crossing midnight: a line that starts before 06:00 and before the line above it ends starts the night. It and the lines after it are pushed on the next day, and must end by noon and before the day's first entry starts.
14/11/2026 # Saturday
tipee 09:30-17:35 Release
tipee 01:10-01:40 Hotfix
A line written out of order during the day (21:00-22:00, then 20:00-20:30 below it) starts after
06:00, and stays on its day.
This works by adjusting how Taxi reads timesheets, which is written for Taxi 6: on another major version, Taxi keeps refusing these entries.
Testing
nix develop --command python -m unittest discover -s tests
Releasing
Publish a GitHub release with a new tag
named after the version (like 1.0.11), from the web interface or with:
gh release create 1.0.11 --generate-notes
The release GitHub Actions workflow builds the package (the version comes from the tag, through
setuptools-scm), publishes it to PyPI as a
trusted publisher, so no API token is needed, and attaches
the files to the release.
To build locally, nix develop (or direnv) provides Python and the tools: python -m build --no-isolation.
Metadata
Release files for taxi-tipee 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| taxi_tipee-2.0.2.tar.gz | 17.9 kB | With provenance | Details for taxi_tipee-2.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| taxi_tipee-2.0.2-py3-none-any.whl | Python 3 | none | any | Details for taxi_tipee-2.0.2-py3-none-any.whl |
Total release size: 29.6 kB
Release files / taxi_tipee-2.0.2.tar.gz
| Download URL | taxi_tipee-2.0.2.tar.gz |
|---|---|
| Size | 17.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3e8b5d11365828cd2da2a02818e05e9156b617a1120e8e6cbaf44313c4c4e915
|
|
BLAKE2b-256 checksum How to use checksums |
22e6401cc36fe1968030e43e0a8c1b23de2a63291c5a9d651a5eb8a1285909ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 18, 2026.
Transparency logRelease files / taxi_tipee-2.0.2-py3-none-any.whl
| Download URL | taxi_tipee-2.0.2-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be051a8dd9198db0ced35dfe459fd810c2ac8bd417806e1c918ba84beaf9467c
|
|
BLAKE2b-256 checksum How to use checksums |
04e39bf9ad7e906ee30c0e5819ec5e72376813b8ccc0f994fe09852e816fb22d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 18, 2026.
Transparency logSecurity for taxi-tipee 2.0.2
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.
Attestation for taxi_tipee-2.0.2.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 Nov 18, 2026.
Transparency logA 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.