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.2.16.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wechaty_puppet_hostie-0.2.16-py3-none-any.whl (14.5 kB view details)

Uploaded Python 3

File details

Details for the file wechaty-puppet-hostie-0.2.16.tar.gz.

File metadata

  • Download URL: wechaty-puppet-hostie-0.2.16.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for wechaty-puppet-hostie-0.2.16.tar.gz
Algorithm Hash digest
SHA256 665dbbe86fc8be9c31987effa02f1883a6066662dd8b9a89ffa9b85f4a660060
MD5 c2f36926f214194e8af5b67d643cef4c
BLAKE2b-256 377c35b91415d29428621bd9d23d340e274bf6990005377762cf00116f7017e1

See more details on using hashes here.

File details

Details for the file wechaty_puppet_hostie-0.2.16-py3-none-any.whl.

File metadata

  • Download URL: wechaty_puppet_hostie-0.2.16-py3-none-any.whl
  • Upload date:
  • Size: 14.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.9

File hashes

Hashes for wechaty_puppet_hostie-0.2.16-py3-none-any.whl
Algorithm Hash digest
SHA256 45af23fd74d5cbc7fd2a6383c3b1c6067c44fe2580ccd53724e3eb350a9d504e
MD5 8aea819a886f95e3c08bfbdf3907f5d5
BLAKE2b-256 0c172234ef3ecfb68a306ca6472bc95614d92cfe03b4d6fed013f2859a4fcf31

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