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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wox_plugin-0.0.28.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.28.tar.gz
Algorithm Hash digest
SHA256 2d8c906f0f591a5f637f7e271e42c28e50c332133c96fc56482417bf98ab25b6
MD5 496ce9ee71eb96b5451c9e887c1dc697
BLAKE2b-256 6427e7b8b95bf35becb61638e312cfcc7dabbb273c9fe0baa9090ade013f484b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wox_plugin-0.0.28-py3-none-any.whl
  • Upload date:
  • Size: 5.6 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.28-py3-none-any.whl
Algorithm Hash digest
SHA256 e9afaed305b8549f7f183174992aea54bffc0e907e804da2fe9b735d5ec8e7c0
MD5 d47f4df2b2072b4b4460de6dcd32b90c
BLAKE2b-256 66bb5148df5df2d11a38a50b35aaea7fcf30ce07f97ac7a8982b0b26f05eb60a

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