takumi-cli: Takumi command line toolkit
Command line tool for managing Takumi services.
Install
$ pip install takumi-cli
Usage
$ 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:
deploy:
vars:
version: HEAD
targets:
testing:
- localhost
- testing.com
prod:
- app.prod
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
deploy:
crontab:
- name: check dirs
schedule: "0 5,2 * * *"
job: 'ls -alh > /dev/null'
- name: say hello
schedule:
minute: 0
hour: 5,2
job: 'scripts/say_hello.py'
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>
Metadata
Release files for takumi-cli 0.1.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 |
|---|---|---|---|---|
| takumi_cli-0.1.2.tar.gz | 9.9 kB | Without provenance | Details for takumi_cli-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| takumi_cli-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for takumi_cli-0.1.2-py2.py3-none-any.whl |
Total release size: 23.6 kB
Release files / takumi_cli-0.1.2.tar.gz
| Download URL | takumi_cli-0.1.2.tar.gz |
|---|---|
| Size | 9.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
91b8708991cdb4e29b0a612487ad2134f68e4ece1d81214eca39303989ca9fe4
|
|
BLAKE2b-256 checksum How to use checksums |
f2fc47cc7ca671346a5e86543f8a83de27646a1a0c41dacec132d24d38c0bae4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.8.1 pkginfo/1.4.1 requests/2.13.0 setuptools/36.2.7 requests-toolbelt/0.7.1 clint/0.5.1 CPython/3.4.3 Darwin/16.7.0
|
Release files / takumi_cli-0.1.2-py2.py3-none-any.whl
| Download URL | takumi_cli-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
1bc9681237b778df9fd07ba0a213ef80e75907f7814ec7e5bc0afe69b4cce43c
|
|
BLAKE2b-256 checksum How to use checksums |
c460d3e98fbe8ecb3bd2a57e3cd74a1243aa4994b12ee711623bc82899f05593
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.8.1 pkginfo/1.4.1 requests/2.13.0 setuptools/36.2.7 requests-toolbelt/0.7.1 clint/0.5.1 CPython/3.4.3 Darwin/16.7.0
|
Security for takumi-cli 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.