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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wox_plugin-0.0.25.tar.gz
  • Upload date:
  • Size: 5.5 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.25.tar.gz
Algorithm Hash digest
SHA256 839a03e8dd45560f7fa0310a9eab970ef3b902f8126e93c2f1511d420c581fc2
MD5 e460c137ce6018bc53146fa4e5873ebf
BLAKE2b-256 841e403612bf1a96e0459199821695b55a61f88514dc62f3fb63667a3e38c2e7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wox_plugin-0.0.25-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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.25-py3-none-any.whl
Algorithm Hash digest
SHA256 7d3803b7f1da7a3423cc0d85e445ab839f4abed462bc9531ec3c7534dbc60838
MD5 67e161e6d35e3421f820011805da6bee
BLAKE2b-256 19a5c13edee33b02e87886fec0bfc5dc4aa63d3fdbfaa30b5c2cd4f3e4a65200

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