Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Command line interface for interacting with Tempo.

Project description

Command line interface for interacting with Tempo.

Build PyPI version Supported Python versions


Ease repetitive Tempo tasks by using templates to fill in recurring items without having to use web interface. Templates are yaml formatted files that are semi-flexible in allowing what can be created.

The author_account_id can be obtained by going to your profile in JIRA and copying the ID from the URL.

author_account_id: foo

  # Will use current date if one can't be determined.
  - issue: INT-8
    time_spent: 30m
    start_time: "9:30AM"

  # Can specify day of week easily.
  - issue: INT-10
    time_spent: 1h
    start_time: Monday at 9AM

  # Full on datetime with override.
  - issue: INT-11
    time_spent: 90s
    start_time: "2018-08-05 11:00:00"
    author_account_id: bar

  # Pass in extras that aren't exposed in DSL.
  - issue: INT-11
    time_spent: 1h
    start_time: 8am
      remainingEstimateSeconds: 300


$ pip install tempocli
$ pip install --upgrade tempocli


$ tempocli --config <config> create --template <template>


By default, ~/.tempocli.yml is the path used for the configuration file but that can be changed with the --config option during invocation. The configuration file should look like this:

token: <token>

It is also possible to specify the token using the TEMPOCLI_TOKEN environment variable.


$ docker pull awiddersheim/tempocli
$ docker run \
    --rm \
    --tty \
    --interactive \
    --volume ~/.tempocli.yml:/home/tempocli/.tempocli.yml:ro \
    --volume /some/dir/with/templates:/templates:ro \
    awiddersheim/tempocli \
    create --template /templates/template.yml


$ pip install -e .
$ tempocli --help


# Install development packages (preferably in a virtualenv)
$ pip install -e .[dev]

# Run tests
$ pytest

# Run tests for all available Python interpreters
$ tox

# Linting
$ flake8

# Can also lint in tox as well
$ tox -e flake8

Project details

Release history Release notifications

Download files

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

Files for tempocli, version 0.2.3
Filename, size File type Python version Upload date Hashes
Filename, size tempocli-0.2.3-py2.py3-none-any.whl (7.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size tempocli-0.2.3.tar.gz (10.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page