Coder Social home page Coder Social logo

qingchat's Introduction

Qingchat

This package is still under development, do not use it in production evrironment. 中文文档参见此处

Qingchat only support python3 now.

Install

Pip

pip3 install qingchat

Setup

Usage

Config

qingchat config login

Login your wechat(you should setup your perl server)

qingchat config ip <ip>

Set your server ip as <ip>

qingchat config port <port>

Set your server port as <port>

User

Under development

Friend

Under development

Group

qingchat group list

Show all your groups by name.

qingchat group choose <group_name>

Show all groups that you had chosen. if group_name is given, add this group into your list.

group_name support regex and you can use test* to choose test1, test2 and so on.

qingchat group send -t <content>
qingchat group send -i <media>
qingchat group send -f <file> [<delaytime>]

Send message to your list.

  • -t option is used to send text message
  • -i option is used to send media message
  • -f option is used to send message by file

can be absolute path or url must be an absolute path to a pure text file, and do not support doc, docs and so on is the time between two message by seconds, default set to 0s

qingchat's People

Contributors

xuanwo avatar

Stargazers

 avatar maemo avatar Peric avatar  avatar  avatar David.Gao avatar  avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

qingchat's Issues

Refactor

  • cli
  • group
  • listener
  • processer
  • sender
  • utils

设置端口不成功

->>> qingchat config port 7777
Traceback (most recent call last):
File "/usr/bin/qingchat", line 11, in
sys.exit(main())
File "/usr/lib/python3.5/site-packages/qingchat/cli.py", line 247, in main
config_port(arguments[''])
File "/usr/lib/python3.5/site-packages/qingchat/cli.py", line 99, in config_port
print("您的服务器端端口被设置为: %d" % port)
TypeError: %d format: a number is required, not str


这个是不是和端口在使用有关?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.