User Guide¶

This section describes how to use the features of Alfred-PyWorkflow.

If you’re new to writing workflows or coding in general, start with the Tutorial.

Tip

If you’re writing a workflow that uses data from the system (e.g. from files/the filesystem or via command-line programs called via subprocess), please read Encoded bytest and strings, which describes how to handle data from sources other than Alfred-PyWorkflow’s APIs.

  • Workflow setup and skeleton
  • Including 3rd party libraries
  • Persistent data
    • Caching data
    • Session-scoped cache
    • Storing data
    • Settings
    • Keychain access
    • A note on Script Behaviour
  • Searching/filtering data
    • Using “Alfred filters results”
    • Fuzzy filtering with Alfred-PyWorkflow
  • Retrieving data from the web
  • Notifications
    • Usage
  • Background processes
  • Self-updating
    • GitHub releases
    • Configuration
    • Usage
    • Under the hood
    • Version numbers
  • Versioning and migration
    • Setting a version number
    • Version numbers
    • First run/migration
  • System icons
    • List of icons
  • “Magic” arguments
    • Customising magic arguments
  • Workflow variables
    • Getting variables
    • Setting variables from Run Script actions
    • Setting variables in Script Filters
    • Persisting variables
    • More information
  • Serialization of stored/cached data
    • Built-in serializers
    • Managing serializers
    • Serializer interface
  • Re-running a Script Filter
  • Encoded bytest and strings
    • TL;DR
    • String types
    • Normalization
    • Other Gotchas
    • Further information

Logo

Alfred-PyWorkflow

A helper library for creating workflows for Alfred 4 and 5.

coverage icon

https://img.shields.io/pypi/v/Alfred-PyWorkflow.svg?style=flat

Navigation

  • Supported versions
  • Installation
  • Tutorial
  • User Guide
    • Workflow setup and skeleton
    • Including 3rd party libraries
    • Persistent data
    • Searching/filtering data
    • Retrieving data from the web
    • Notifications
    • Background processes
    • Self-updating
    • Versioning and migration
    • System icons
    • “Magic” arguments
    • Workflow variables
    • Serialization of stored/cached data
    • Re-running a Script Filter
    • Encoded bytest and strings
  • API documentation
  • Contributing
  • Dash docset
  • Licence
  • Workflows
  • Indices
    • Quick Index
    • Full Index
    • Module Index
    • Search

Related Topics

  • Documentation overview
    • Previous: Tutorial Part 2: Creating a Distribution-Ready Pinboard Workflow
    • Next: Workflow setup and skeleton

Quick search

Donate

Consider supporting the authors

  • PayPal
© 2023 Thomas Harr, 2013–2020 Dean Jackson. | Powered by Sphinx 5.3.0 & Alabaster 0.7.10