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.24.tar.gz (4.6 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.24-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wox_plugin-0.0.24.tar.gz
  • Upload date:
  • Size: 4.6 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.24.tar.gz
Algorithm Hash digest
SHA256 2f0a10330ec8d380ffc952b57b7803fbc38d4416123f28333ee2d9f9bbcf15cb
MD5 c117c2fa04fa8909cc6223b9714292cf
BLAKE2b-256 417512281bce4270c4712ec8c77f5024bcf86b0ee7ff695be31798fbc36d8368

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wox_plugin-0.0.24-py3-none-any.whl
  • Upload date:
  • Size: 4.8 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.24-py3-none-any.whl
Algorithm Hash digest
SHA256 730c39117b752b521e70f9f5acffc18af2ab70e8985c66f17dba9d450cc21b50
MD5 83a9e13adbcf4b5becccb353b03b6486
BLAKE2b-256 0c806b2f988cefea7f6dd34b10f28ed9cdc534a178b01aca477802b5cb2363ae

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