Skip to main content

python + Ubersicht.app (MacOS)

Project description

Installation

$ [sudo] pip install ubersicht

Classes

class __doc__
ubersicht._coffee.Coffee index.coffee generator class
ubersicht._widgets.Widget widget generator class

Functions

function __doc__
ubersicht.kill() kill Übersicht.app process
ubersicht.pid() return Übersicht.app pid
ubersicht.restart() restart Übersicht.app
ubersicht.start() open Übersicht.app
ubersicht.widgets() return a list with widgets paths

Examples

generate widget

>>> import ubersicht
>>> widget = ubersicht.Widget(name="name.widget", command="echo hello world", refresh="1s",style="color: red")
>>> widget.create()
>>> widget.path
'/Users/username/Library/Application Support/Übersicht/widgets/name.widget'
$ cat ~/Library/Application Support/Übersicht/widgets/name.widget/index.coffee
command: "echo hello world"

refreshFrequency: '1s'

update: (output, domEl) ->
    $(domEl).empty().append("#{output}")

style: """
color: red
"""

Links

readme-generator

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

ubersicht-2019.3.24.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

ubersicht-2019.3.24-py2.py3-none-any.whl (187.4 kB view hashes)

Uploaded Python 2 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