Skip to main content

Python Service Puppet for Wechaty

Project description

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

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-service-0.8.9.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

wechaty_puppet_service-0.8.9-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file wechaty-puppet-service-0.8.9.tar.gz.

File metadata

File hashes

Hashes for wechaty-puppet-service-0.8.9.tar.gz
Algorithm Hash digest
SHA256 e159b69a7ebc9a563b00b72e8d05230e206b445aa76506514ab0ce9501f523c1
MD5 6101c8ce49fb5a8316292c8fc60378d5
BLAKE2b-256 76debb0b1b95bfe33dc488bbf221c9c1bb192bd7be434302397d4b14e9e243a4

See more details on using hashes here.

File details

Details for the file wechaty_puppet_service-0.8.9-py3-none-any.whl.

File metadata

File hashes

Hashes for wechaty_puppet_service-0.8.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6bc39b881f6421cda7f73e63a0931c6313ddcdfdae23e783a6597369ced1e857
MD5 b56110e2b8bb3fa4525c78a0a7c59d99
BLAKE2b-256 12b9b952340b246eb88095442e0f174ce9418af63405b1a988c5029068bb55b1

See more details on using hashes here.

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