Skip to main content

Pytivity is a python3 command line manager for your KDE activities.

Project description

# Pytivity

Pytivity is a python3 command line manager for your KDE activities.

## Installation

`bash pip install pytivity `

Pytivity rely on pydbus to connect to dbus. See pydbus [documentation](https://github.com/LEW21/pydbus) for installation instruction.

## Basic usage

Pytivity enables you to easily create, update, delete, start, stop or activate an activity from the command line.

`bash pytivity create/update/delete/start/stop/activate {name} `

And set commands to be run when an activity is started, stopped, activated or deactivated.

`bash pytivity create/update {name} --activated {command} --deactivated {command} --started {command} --stopped {command} `

## Usage

`bash pytivity {main arguments} {command} {command arguments} `

### Main arguments

  • -h Show help message and exit

  • -v Show Pytivity version

  • -n Display a system notification

### commands

  • create: Create a new activity

  • update: Update an existing activity

  • delete: Delete an activity

  • list: List activities

  • start: Start an activity

  • stop: Stop an activity

  • activate: Activate an activity

All commands have help message that explains the available arguments.

`bash pytivity {command} -h `

## Contributing

All contribution are welcome !

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

pytivity-0.0.4.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

pytivity-0.0.4-py3-none-any.whl (8.2 kB view hashes)

Uploaded Python 3

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