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.27.tar.gz (5.7 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.27-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wox_plugin-0.0.27.tar.gz
  • Upload date:
  • Size: 5.7 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.27.tar.gz
Algorithm Hash digest
SHA256 d5baf7b91ad745a14bea5125b3e2c33a5a3aab27f3719a91d6e097c634f97e7d
MD5 996fb6d0b8b03e6c83dbadee36bdec9f
BLAKE2b-256 36cc72f964411793ef350f989353605a626f597e606f550d3dd817bf3c76908e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wox_plugin-0.0.27-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.27-py3-none-any.whl
Algorithm Hash digest
SHA256 ea4fa579321a5d7abc0d33a21954b79da2953caedb3c22c649535fca313a32bd
MD5 c5af5adbbc21ba201ce3b0f2cd6b8f7d
BLAKE2b-256 0b89a02ff0767f9cdc6670aeceeb047543385afcebacb5cfef4e0611c39ce231

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