Skip to main content

Server-chan for python.

Project description

pyserverchan

Server-chan for python.

Install

pip install pyserverchan

Getting started

You should go to Server-Chan get a SCKEY and bind WeChat. Your URL will be like 'https://sc.ftqq.com/[SCKEY].send '. You can use following functions to send text, picture, markdown files.

from pyserverchan import pyserver
svc = pyserver.ServerChan(user_URL)
svc.output_to_weixin("ATestMessage.")
svc.output_to_weixin_picture("http://sc.ftqq.com/static/image/bottom_logo.png")
svc.output_to_weixin_markdown("J:/pyserverchan/README.md")

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

pyserverchan-0.0.4.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

pyserverchan-0.0.4-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file pyserverchan-0.0.4.tar.gz.

File metadata

  • Download URL: pyserverchan-0.0.4.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.8

File hashes

Hashes for pyserverchan-0.0.4.tar.gz
Algorithm Hash digest
SHA256 8a3897403be67e8651485974644b6d8f8ce076dc27f7cdc26ee91b91afca6d0f
MD5 64e73491e101896bffe56a2f82cfcfd2
BLAKE2b-256 7ec7ac519d2e059af72c0018e7835e0d63b0b622afb686a0a66594b304921201

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyserverchan-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.6.8

File hashes

Hashes for pyserverchan-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fcbdbb3ad21958ef536ea4f902c2da0a2678d3f662c342b3ded72eca5a23e28d
MD5 9182b1fc8404335718f6af98fdb9701a
BLAKE2b-256 2a5704dc2e0569191027a60a041184ce2f5162960d04a17b7f167c385053b6d4

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