Skip to main content

Python types for Wox plugins

Project description

Wox Plugin Python

This package provides type definitions for developing Wox plugins in Python.

Installation

pip install wox-plugin

Usage

from wox_plugin import Plugin, Query, Result, Context, PluginInitParams

class MyPlugin(Plugin):
    async def init(self, ctx: Context, params: PluginInitParams) -> None:
        self.api = params.API
        
    async def query(self, ctx: Context, query: Query) -> list[Result]:
        # Your plugin logic here
        return []

License

MIT

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

wox_plugin-0.0.20.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wox_plugin-0.0.20-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file wox_plugin-0.0.20.tar.gz.

File metadata

  • Download URL: wox_plugin-0.0.20.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.4

File hashes

Hashes for wox_plugin-0.0.20.tar.gz
Algorithm Hash digest
SHA256 202ab3a423739d228d9741cf180e148dcef53c53304a69a9d802ba3f52e4bbfc
MD5 38b95937b067265419ca146714f431e6
BLAKE2b-256 19aff1a5addad86c7620412f440574b4029242b805ba5af7fdad6e4f67c4efb6

See more details on using hashes here.

File details

Details for the file wox_plugin-0.0.20-py3-none-any.whl.

File metadata

  • Download URL: wox_plugin-0.0.20-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.10.4

File hashes

Hashes for wox_plugin-0.0.20-py3-none-any.whl
Algorithm Hash digest
SHA256 621ff8aee1a408e37ac36e244638a5e16fe9cfc72ac74eb32c4c2b02091bb39d
MD5 471cfeae4f0b8840d313dddfa6eab131
BLAKE2b-256 eb69d850b25d485a76865d2c8a31f1ca9358135e0298432b5a037814c05be206

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page