Skip to main content

Python library to help build Flow Launcher and Wox plugins.

Project description

Release

FLOX

Flox is a Python library to help build Flow Launcher and Wox plugins

Flox adds many useful methods to speed up plugin development

Heavily inspired from the great work done by deanishe at: deanishe/alfred-workflow

Installation

PIP install from pypi

pip install flox-lib

PIP install from github

pip install git+https://github.com/garulf/flox.git

Basic Usage

from flox import Flox

import requests

# have your class inherit from Flox
class YourClass(Flox):

    def query(self, query):
        for _ in range(250):
            self.add_item(
                title=self.args,
                subtitle=str(_)
            )

    def context_menu(self, data):
        self.add_item(
            title=data,
            subtitle=data
        )

if __name__ == "__main__":
    your_class = YourClass()
    your_class.run()

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

Flox-lib-0.20.1.tar.gz (11.9 kB view hashes)

Uploaded Source

Built Distribution

Flox_lib-0.20.1-py3-none-any.whl (13.7 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