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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wox_plugin-0.0.22.tar.gz
  • Upload date:
  • Size: 4.1 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.22.tar.gz
Algorithm Hash digest
SHA256 64c7a4e2514d2175c3f2cd66b24b2fd0b8ea1231603b45890879b6f1a9f0a550
MD5 f8c1a3eaa7c8b8c675abbe6d1167ec34
BLAKE2b-256 0eace3cab4c4b8a6bf0c04c23bb727efb22ede8a7e5daf463479219a8f02dc59

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wox_plugin-0.0.22-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.22-py3-none-any.whl
Algorithm Hash digest
SHA256 80685062672becc9b8180da71b78475f810eb4d4a34c28f38955035ad89256c2
MD5 14b290227e6e816af049508739b02153
BLAKE2b-256 7dc98c3d15c2403d783452d73c59bd4f2f47f3a2ca82404132098b7af7ce82a1

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