Skip to main content

Ubersicht.app

Project description

Install

$ [sudo] pip install ubersicht

Features

  • generate Ubersicht.app Widgets with python

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
"""
>>> ubersicht.widgets()
['/Users/username/Library/Application Support/Übersicht/widgets/name.widget']

Ubersicht.app process

>>> ubersicht.start()
>>> ubersicht.pid()
1234
>>> ubersicht.kill()

Links

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-0.0.1.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

ubersicht-0.0.1-py2.py3-none-any.whl (3.7 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