Metadata-Version: 2.1
Name: wxpusher
Version: 0.0.4
Summary: WxPusher Python Client.
Home-page: https://github.com/huxuan/wxpusher-client
Author: Xuan (Sean) Hu
Author-email: i+wxpusher@huxuan.org
License: Apache License 2.0
Description: # WxPusher
        
        [![PyPI version](https://badge.fury.io/py/wxpusher.svg)](https://badge.fury.io/py/wxpusher)
        
        WxPusher Python client.
        
        ## Getting Started
        
        ### Installation
        
        ```shell
        pip install -U wxpusher
        ```
        
        ### Usage
        
        ```python
        from wxpusher import WxPusher
        WxPusher.send_message('<content>', '<uids>', '<appToken>')
        WxPusher.query_message('<messageId>')
        WxPusher.create_qrcode('<extra>', '<validTime>', '<appToken>')
        WxPusher.query_user('<page>', '<page_size>', '<appToken>')
        ```
        
        ## Running the tests
        
        ### Setup configuration
        
        Configuration is necessary since the tests depend on VALID `appToken` and `uids`.
        
        Frist, copy the configuration sample `config.sample.py` under `python/wxpusher/tests/` to `config.py`
        
        ```shell
        cd python/wxpusher/tests
        cp config.sample.py config.py
        ```
        
        Then, fill in the corresponding information in `config.py`.
        
        ### Trigger the tests
        
        With proper configuration, you can run the tests with tox
        
        ```shell
        tox
        ```
        
        or nose directly
        
        ```shell
        nosetests
        ```
        
        ## TODO
        
        - [x] Basic structure with pypi uploaded.
        - [x] Send Message.
        - [x] Query Message.
        - [x] Create QRCode.
        - [x] Query User.
        - [ ] More client validators.
        - [ ] Command line scripts.
        - [ ] Better documentation.
        - [ ] More robust unittest.
        
        ## Contribution
        
        - Comments or suggestions via github issues.
        - Pull requests are welcome absolutely.
        
Keywords: wxpusher wechat push-notification
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Utilities
Requires-Python: >=3
Description-Content-Type: text/markdown
Provides-Extra: dev
Provides-Extra: test
