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

Uploaded Source

Built Distribution

wechaty_puppet_service-0.8.5-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wechaty-puppet-service-0.8.5.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for wechaty-puppet-service-0.8.5.tar.gz
Algorithm Hash digest
SHA256 22b7dca634eb006afba9e5028fdf21bd51e0549872e9dc160073788268324a87
MD5 1f361a87864e93e125c3893c9df809e7
BLAKE2b-256 ad3e6f0251f136297d14c3cc26fa49a3ffcfe86a104b31396af8d5b9c7f36739

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wechaty_puppet_service-0.8.5-py3-none-any.whl
  • Upload date:
  • Size: 17.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

File hashes

Hashes for wechaty_puppet_service-0.8.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4e2e8894a2123abac9ac77dadc7ff7a38762d4c263f8b766af6d1fce9ac300bd
MD5 3ec729321dd77847e6311f3e4444bff1
BLAKE2b-256 51964f778cc4f7993b52197bf1f35cebf56a2ba95fd803ff91ba2944f568531f

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