wechaty-puppet-hostie

Python Hostie Puppet for Wechaty


Keywords
chatbot, rpa, sdk
License
Apache-2.0
Install
pip install wechaty-puppet-hostie==0.4.1

Documentation

wechaty-puppet-service Python 3.7 PyPI GitHub Actions

Powered by Wechaty

Service

PyPI Version PyPI - Downloads

Python Service Puppet for Wechaty

Features

  1. Consume Wechaty Puppet Service

Usage

import asyncio
from wechaty import Wechaty
from wechaty_puppet_service import PuppetService

bot = Wechaty(PuppetService("your-token-here"))
bot.on('message', lambda x: print(x))

asyncio.run(bot.start())

Environment Variables

1 WECHATY_PUPPET_SERVICE_TOKEN

The token set to this environment variable will become the default value of puppetOptions.token

WECHATY_PUPPET_SERVICE_TOKEN=secret python bot.py

or you can use TOKEN or token environment variable alias name to set token, for example:

TOKEN=secret python bot.py
# or
token=secret python bot.py

History

master

v0.7 (Mar, 2021)

Rename from wechaty-puppet-hostie -> wechaty-puppet-service

v0.0.1 (Mar 10, 2020)

  1. Init Python version
  2. Published to PyPI

Authors

Copyright & License

  • Code & Docs © 2020-now Huan LI <zixia@zixia.net>
  • Code released under the Apache-2.0 License
  • Docs released under Creative Commons