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.21.tar.gz (4.0 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.21-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wox_plugin-0.0.21.tar.gz
  • Upload date:
  • Size: 4.0 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.21.tar.gz
Algorithm Hash digest
SHA256 043fd2b055ac142b78c86b1abd17557c679b86fba947c0ae146f0b1a57f14782
MD5 c268babeb9271ef1905fa9105eea2bf2
BLAKE2b-256 8a8178c1925d7911cfb177f3ead023696a14fd8946930120cffebdec27b41237

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wox_plugin-0.0.21-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.21-py3-none-any.whl
Algorithm Hash digest
SHA256 ea405554dcb5697d96afe66be29b7a8744c86408c4b34ba9322642ff3ea1cb77
MD5 f2687bd7c06e9e7e1dbefc6e4fbbfbf2
BLAKE2b-256 9fe4b12269e160981686c1c713692f536a80857f52e14d56cc743f6c14be39e3

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