Skip to main content

CLI for timed

Project description

timedctl

License: AGPL v3

Click TUI for Timed using libtimed.

Installing

There are currently only packages for arch linux available in the AUR.

$ yay -S timedctl

People on other distributions can use pip to install the package from pypi:

$ pip install timedctl

Shell completion

timedctl support shell completion for the unaliased commands:

bash

_TIMEDCTL_COMPLETE=bash_source timedctl >> ~/.bashrc`

zsh

_TIMEDCTL_COMPLETE=zsh_source timedctl >> ~/.zshrc`

fish

_TIMEDCTL_COMPLETE=fish_source timedctl >  ~/.config/fish/completions/timedctl.fish`

Local development

Clone the repository and install the dependencies with poetry install. You can now run the project with poetry run timedctl. For building wheels, you can use poetry build. Run tests with poetry run pytest --cov --cov-fail-under 100.

Known issues

  • Make sure to have a polkit-agent running, otherwise the poetry installation during the installation on arch might fail.
  • You need a keyring installed in order for timedctl to store the SSO token, for example gnome-keyring.

Feature roadmap

  • SSO auth
  • Overtime
  • Reports
    • Get
    • Add
    • Delete
    • Update
  • Activities
    • Start
    • Stop
    • Delete
    • Restart
  • Absences
    • Get
    • Add
    • Delete
    • Update
  • Holidays
    • Get
    • Add
    • Delete
    • Update

Configuration

Your config file should already be created on the first launch under $XDG_CONFIG_HOME/timedctl/config.toml. If this isn't the case you can see the default config options below:

username = "<your username>"
timed_url = "<timed url>"
sso_url = "<sso url>"
sso_realm = "<sso realm>"
sso_client_id = "<client id>"

License

Code released under the GNU Affero General Public License v3.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timedctl-5.3.0.tar.gz (20.9 kB view details)

Uploaded Source

Built Distribution

timedctl-5.3.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file timedctl-5.3.0.tar.gz.

File metadata

  • Download URL: timedctl-5.3.0.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.0-1042-azure

File hashes

Hashes for timedctl-5.3.0.tar.gz
Algorithm Hash digest
SHA256 c39e1acef9adcfda0a3273d99f54c8cb679f09946ec82adb652ab168c09fc43b
MD5 e19ec961a7e7604a25056e1a77b7a48b
BLAKE2b-256 637bbeae78c228f5a0e65c820494110e8824cd7ff9e2a712d8e572ef7d6b623c

See more details on using hashes here.

File details

Details for the file timedctl-5.3.0-py3-none-any.whl.

File metadata

  • Download URL: timedctl-5.3.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.10.6 Linux/5.15.0-1042-azure

File hashes

Hashes for timedctl-5.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9426e2b375b2a992ae31d823d952ecf91c6b2f0598edac6cd075ea36c72c6552
MD5 5ca3c0e8cac3b676a40f6c19bc5e5faf
BLAKE2b-256 9e54e87645aaa1df029271b53873bb57d460cba63a8493b848431e56eb45b559

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page