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

Author

Huan LI (李卓桓) zixia@zixia.net

Profile of Huan LI (李卓桓) on StackOverflow

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.0.4.tar.gz (8.1 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.0.4-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wechaty-puppet-hostie-0.0.4.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for wechaty-puppet-hostie-0.0.4.tar.gz
Algorithm Hash digest
SHA256 03735834d3f296bb8fed00cd26b0e751299544c75cae7983f73f8bb559f2e120
MD5 d52ebcc53e8b53939b8cb3605dee9ce5
BLAKE2b-256 802341e1b09ad29843b5be6d90a57beddeabe2fd6890a278c8b5f4a64bb6ea50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wechaty_puppet_hostie-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 12.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for wechaty_puppet_hostie-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 41ffc70cb195a1473e81e0b0dc7acfbc77d300b57ecfdaa33171e809437e9ab7
MD5 4a617eeb40d11f154a0ba506809c5db5
BLAKE2b-256 02d7021e806b0d270f94d6d972c67c2107abab55f9e246ad2b609a646c634f22

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