All Projects → justdoit0823 → Pywxclient

justdoit0823 / Pywxclient

Licence: apache-2.0
A simple WeChat client written in Python supports session persistence.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Pywxclient

Go Workwx
a sensible Work Weixin(企业微信, Wechat Work) SDK for Go
Stars: ✭ 181 (-34.66%)
Mutual labels:  wechat-sdk
wechat-sdk
微信公众平台/开放平台(第三方平台) JAVA SDK
Stars: ✭ 36 (-87%)
Mutual labels:  wechat-sdk
LoginSharePay
LoginSharePay集成QQ,微博,微信的登录和分享,包括微信支付。它配置简单,使用方便,且能够快速运用到应用中,为开发者节省了大量时间。
Stars: ✭ 62 (-77.62%)
Mutual labels:  wechat-sdk
Wechat
轻量的微信公众号组件(A Lightweight Wechat Component)
Stars: ✭ 195 (-29.6%)
Mutual labels:  wechat-sdk
go-wechat
💥weixin、wechat、微信公众平台、企业微信 golang/go sdk
Stars: ✭ 18 (-93.5%)
Mutual labels:  wechat-sdk
weapp wechat miniapp sdk
一个封装了微信小程序服务端接口的SDK
Stars: ✭ 102 (-63.18%)
Mutual labels:  wechat-sdk
Weixin Java Cp Demo
基于Spring Boot 和 WxJava 实现的微信企业号/企业微信 后端Demo
Stars: ✭ 175 (-36.82%)
Mutual labels:  wechat-sdk
Wechatpy
WeChat SDK for Python
Stars: ✭ 3,016 (+988.81%)
Mutual labels:  wechat-sdk
wechat-starter-boot-spring
简化微信对接流程,避免重复性工作和填坑
Stars: ✭ 22 (-92.06%)
Mutual labels:  wechat-sdk
wechatShare-JS
微信JS分享到朋友圈、微博、QQ好友等
Stars: ✭ 48 (-82.67%)
Mutual labels:  wechat-sdk
Wechat
WeChat SDK for Go (微信SDK:简单、易用)
Stars: ✭ 3,144 (+1035.02%)
Mutual labels:  wechat-sdk
wxEditor
微信编辑器,微信排版,微信公众号编辑器, 微信素材,前后端已搭建完整,原UEditor(百度编辑器,PHP1.4.3版) 二次开发 (微信编辑器,微信公众号,图文发布在线编辑器) 。
Stars: ✭ 86 (-68.95%)
Mutual labels:  wechat-sdk
wechat
微信小程序 微信公众号 微信支付 golang
Stars: ✭ 39 (-85.92%)
Mutual labels:  wechat-sdk
Yii2 Easy Wechat
WeChat SDK for yii2 , based on overtrue/wechat.
Stars: ✭ 188 (-32.13%)
Mutual labels:  wechat-sdk
WechatEnterpriseSDK
微信企业号python sdk
Stars: ✭ 39 (-85.92%)
Mutual labels:  wechat-sdk
Weixinsdk
微信开发SDK。
Stars: ✭ 177 (-36.1%)
Mutual labels:  wechat-sdk
vue-authorization-login
vue+express实现微信授权登录demo
Stars: ✭ 21 (-92.42%)
Mutual labels:  wechat-sdk
React Native Wechat
🚀 WeChat login, share, favorite and payment for React-Native on iOS and Android platforms (QQ: 336021910)
Stars: ✭ 2,842 (+925.99%)
Mutual labels:  wechat-sdk
wechat-sdk
微信登录支付sdk,支持小程序,APP登录,正在重构。QQ群:879729420
Stars: ✭ 73 (-73.65%)
Mutual labels:  wechat-sdk
example
【例子】微信开发SDK(Wechat SDK For Golang)
Stars: ✭ 27 (-90.25%)
Mutual labels:  wechat-sdk

pywxclient

.. image:: https://travis-ci.org/justdoit0823/pywxclient.svg?branch=master :target: https://travis-ci.org/justdoit0823/pywxclient

A simple WeChat client is based on Web HTTP api, supporting authorization, login, fetching message and sending message.

Here we go:

.. code-block:: pycon

from pywxclient.core import Session, SyncClient

s1 = Session()

c1 = SyncClient(s1)

c1.get_authorize_url() # Open the url in web browser

c1.authorize() # Continue authorize when returning False

c1.login()

c1.sync_check()

msgs = c1.sync_message() # Here are your wechat messages

c1.flush_sync_key()

Features

  • WeChat authorization

  • WeChat login

  • Fetching WeChat contacts

  • Fetching all possible messages

  • Send text message

  • Send image message

  • Send video message

  • Send file message

  • Dump client as a dict

  • Load client from a dict

  • Local or network files uploading

pywxclient aims to only support Python 3, so there is no guarantee for Python 2.

Installation

We can simply use pip to install, as the following:

.. code-block:: bash

$ pip install pywxclient

or installing from git

.. code-block:: bash

$ pip install git+https://github.com/justdoit0823/pywxclient

Examples

In the examples <examples>_ directory, there are two simple python wechat client program as tutorials.

Or you can write a more complex wechat client with this pywxclient package.

Documentation

Now, the guys can visit website pywxclient <http://pywxclient.readthedocs.io/en/latest/index.html>_ or build documentation as html files on local machines.

.. code-block: bash

$ git clone https://github.com/justdoit0823/pywxclient

$ cd pywxclient

$ tox -e sphinx-doc

CHANGELOG

Go to CHANGELOG.md <CHANGELOG.md>_.

How to Contribute

Open an issue <https://github.com/justdoit0823/pywxclient/issues>_, join a discussion or make a pull request.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].