Skip to main content

A simple CLI for Vikunja task manager

Project description

CLI client for Vikunja

pypi package version pypi downloads pipeline status coverage report

This is a simple CLI for Vikunja > The todo app to organize your life.

It provides a command line interface for adding, viewing and editing todo tasks on a Vikunja Server. The goal is to support a command line based task workflow ~ similar to taskwarrior.

Installation

  • Install from pypi:
    pip install vja
    vja --help
    
  • Upgrade existing version:
    pip install vja --upgrade
    

Configuration

Before using vja you must provide a configuration.

  • Create a configuration file $HOME/.vjacli/vja.rc with ~ the following contents
    [application]
    frontend_url=https://try.vikunja.io/
    api_url=https://try.vikunja.io/api/v1
    
    (If you cloned from git, you may copy the folder .vjacli to your $HOME directory instead.)
  • Adjust to your needs.
    frontend_url and api_url must point to your own Vikunja server.
    Especially, the api_url must be reachable from your client. This can be verified, for example by curl https://mydomain.com/api/v1/info

Usage

vja --help
vja ls

(You will be prompted for your account on first usage and any time the access token expires.)

More documentation is available on Features.md

Development

Prepare python virtual environment

Python >= 3.8 is recommended. First create a local environment:

pip install virtualenv
virtualenv venv
source venv/bin/activate

Local build

Build, install and perform some integration-test. For integration test, a real Vikunja instance is launched locally via docker-compose. Local development install:

pip install -r requirements_dev.txt
pip install -e . 

Alternatively: full local installation:

# pip uninstall -y vja;rm -rf build dist vja.egg-info; python setup.py sdist bdist_wheel; pip install dist/*.whl;

Run integration test (requires docker and docker-compose)

docker-compose -f tests/docker-compose.yml up -d
./run.sh
VJA_CONFIGDIR=tests/.vjatest pytest
docker-compose -f tests/docker-compose.yml down

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

vja-1.2.0.tar.gz (19.5 kB view details)

Uploaded Source

Built Distribution

vja-1.2.0-py3-none-any.whl (35.2 kB view details)

Uploaded Python 3

File details

Details for the file vja-1.2.0.tar.gz.

File metadata

  • Download URL: vja-1.2.0.tar.gz
  • Upload date:
  • Size: 19.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for vja-1.2.0.tar.gz
Algorithm Hash digest
SHA256 f1a0b55e2e5c6145bb9d521ebe182de30f44e8dfdfe3a776d679bbf2129276f5
MD5 a18793833c083538bee40819ab62e1b2
BLAKE2b-256 5db65098855e70a4021067fd69ddf2090973134ee7e1f98dece8ed033289513f

See more details on using hashes here.

File details

Details for the file vja-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: vja-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 35.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for vja-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c6363c2ce823bc80a229fc44e61ec2ea055223072c30ef7d1e9992a82b2c5ba
MD5 a79c74bb68570d48e94892ea9d63062a
BLAKE2b-256 dc7413480964c8da299f08fe8665d5a36b922194d0b1c62149a2e17ba384662b

See more details on using hashes here.

Supported by

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