WxPusher Python Client.
Project description
WxPusher
WxPusher Python client.
Getting Started
Installation
pip install -U wxpusher
Usage
from wxpusher import WxPusher
WxPusher.send_message('content', '<uids>', '<appToken>')
# Replace <uids> and <appToken> with the actual `uids` and `appToken`, note that `uids` should be a list.
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
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
tox
or nose directly
nosetests
TODO
- Basic structure with pypi uploaded.
- Send Message.
- Query Message.
- Create QRCode.
- WxUser.
- Command line scripts.
- Better documentation.
- More robust unittest.
Contribution
- Comments or suggestions via github issues.
- Pull requests are welcome absolutely.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file wxpusher-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: wxpusher-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.39.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb212b1faff3e1b583a8c1ea303b2d91569e9244218a164580d60d49a0c1dedc |
|
MD5 | 8dc86c39f18130fc370eae22bbd5e7b8 |
|
BLAKE2b-256 | 36816723564a0fd7e04ea02703f2a34dbb11216cf365fa4678bdc736c6d727e5 |