Skip to main content

Python Hostie Puppet for Wechaty

Project description

wechaty-puppet-hostie Python 3.7 PyPI GitHub Actions

Powered by Wechaty

Hostie

PyPI Version PyPI - Downloads

Python Hostie Puppet for Wechaty

Features

  1. Consume hostie service

Usage

import asyncio
from wechaty import Wechaty
from wechaty_puppet_hostie import HostiePuppet

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

asyncio.run(wechaty.start())

Environment Variables

1 WECHATY_PUPPET_HOSTIE_TOKEN

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

WECHATY_PUPPET_HOSTIE_TOKEN=secret python bot.py

History

master

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

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

wechaty-puppet-hostie-0.4.1.tar.gz (10.2 kB view hashes)

Uploaded Source

Built Distribution

wechaty_puppet_hostie-0.4.1-py3-none-any.whl (14.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page