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.23.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.23-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wox_plugin-0.0.23.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.23.tar.gz
Algorithm Hash digest
SHA256 ff1c350cc96ee38e8081be2da6376f459536793ea67767fd3f91e2a62e339c64
MD5 25d8e552a42348d3a64b142e60a5e40e
BLAKE2b-256 9f5efa2064de687e2c0c712b78911b5585ae0ab6d391bd20fcfe3dcb13349d18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wox_plugin-0.0.23-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.23-py3-none-any.whl
Algorithm Hash digest
SHA256 40f1b99f5e67587aa2b6999ecd171c9ac142647e4bea293ad127f1a787d9ec7e
MD5 55d4fa291f5c5f1da359c00434987417
BLAKE2b-256 2e728015f39e0f9b0e6b1d4bc5d72e8b58722e9faba4478ef0065c539002683d

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