Metadata-Version: 2.1
Name: Flox-lib
Version: 0.16.2
Summary: Python library to help build Flow Launcher and Wox plugins.
Home-page: https://github.com/Garulf/Flox
Author: William McAllister
Author-email: dev.garulf@gmail.com
License: MIT
Project-URL: Bug Tracker, https://github.com/Garulf/Flox/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
License-File: LICENSE.txt

[![Release](https://github.com/Garulf/Flox/actions/workflows/release.yml/badge.svg?branch=main)](https://github.com/Garulf/Flox/actions/workflows/release.yml)
# FLOX

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

Flox adds many useful methods to speed up plugin devolpment

Heavily inspired from the great work done by deanishe at: [deanishe/alfred-workflow](https://github.com/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__":
    YourClass()
```
