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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wox_plugin-0.0.26.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.26.tar.gz
Algorithm Hash digest
SHA256 0972ae9b2d68222f3d33e805bc8b0f8fa907b1b5ae88c88a4506747c145750d7
MD5 791cff0eb66ec1fa6c426dc7ad513bc3
BLAKE2b-256 8ed26212a3d396947917d07d24307c3119ae4eadccf2dea2518033273b760116

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wox_plugin-0.0.26-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.26-py3-none-any.whl
Algorithm Hash digest
SHA256 a944ec391b2b80da0831fd7f9f890e083cbf59622cef7ba1ef564f5d41557cde
MD5 5e4bb35ea19f83a954d0fd3d58fe2c56
BLAKE2b-256 7c42a70b019bb159ca9c1cd8abb78e2275d277cf1687103f27b9f1347708db0e

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