Items tagged python
2020
-
Sync macOS Shortcuts to Alfred Snippets
Python script to sync macOS/iOS system shortcuts to an Alfred snippet collection.
2019
-
Pinboard Bookmarks to Chrome
Script to Overwrite a Chrome profile's bookmarks with your Pinboard bookmarks.
2016
-
Workflow build script for Alfred
A script for building Alfred workflows. Focussed on Python-based workflows.
Creates an
.alfredworkflow
file from the contents of the specified directory. The generated file's name is based on the workflow's name and version extracted frominfo.plist
. -
Text Table in Python
Python class to pretty-print tabluar data in a terminal.
t = Table(titles=['Name', 'Position', 'Goals']) t.add_row(['Dave Smith', 'striker', 12]) t.add_row(['Angus McGregor', 'full back', 1]) print(t)
produces:
Name | Position | Goals ---------------------------------- Dave Smith | striker | 12 Angus McGregor | full back | 1