Skip to main content

Takumi service framework command line toolkit

Project description

Command line tool for managing Takumi services.


$ pip install takumi-cli


$ takumi -h

Run service

$ takumi serve

Deploy an application

To deploy using ansible, extra requirements should be installed:

$ pip install takumi-cli[deploy]

Add deploy entry to app.yaml:

    version: HEAD
      - localhost

Using the following command to deploy:

$ takumi deploy testing -t deploy

The deploy command is implemented using ansible.

To deploy crontab, add the following config to app.yaml

    - name: check dirs
      schedule: "0 5,2 * * *"
      job: 'ls -alh > /dev/null'

    - name: say hello
        minute: 0
        hour: 5,2
      job: 'scripts/'

then run:

$ takumi deploy <target> -t cron

Cron jobs are run under app working directory /srv/{{ app_name }}.

Start an interactive shell

To start an IPython shell, extra requirements should be installed:

$ pip install takumi-cli[shell]

Start the shell:

$ takumi shell -t <host> -- <ipython args>

Project details

Download files

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

Files for takumi-cli, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size takumi_cli-0.1.2-py2.py3-none-any.whl (13.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size takumi_cli-0.1.2.tar.gz (9.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page