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

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page