Python bindings for the WPS Office RPC
Project description
# pywpsrpc
[![Build Status](https://travis-ci.org/timxx/pywpsrpc.svg?branch=master)](https://travis-ci.org/timxx/pywpsrpc) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
Python bindings for WPS Office RPC (for Linux version only).
What is WPS Office RPC?
To make it simple, it means you can use the rpc (api) get working with WPS Office, open, edit and save documents, extend the WPS Office functionals etc.
The C++ SDK headers was taken from [wps_cpp](https://dev.tencent.com/u/zouyingfeng/p/wps/git/tree/master/cpp) with no changes: ` Copyright @ 2012-2019, Kingsoft office,All rights reserved. `
For full API references, go to [https://open.wps.cn/docs/office](https://open.wps.cn/docs/office) or [https://docs.microsoft.com/en-us/office/vba/api/overview/](https://docs.microsoft.com/en-us/office/vba/api/overview/).
- ## Requirements
Python 3.5+
Qt5 (the SDK required both for building & running)
WPS Office for Linux 11.1.0.9080+
sip 5.x or sip 4.x (for building)
python-sip (for running, sip 4.x only)
qmake (for building)
gcc (for building)
- ## How to build
For sip 5.x (recommended)
run sip-build under the project root directory
For sip 4.x
run python configure.py under the project root directory
append –verbose for getting the progress of building
## TODO
Memory managerment
It seems that the bingings now cause memory leaks.
Python attribute bindings
Since now the SDK DOES NOT provide the IDispatch way’s invoke, we have to find out a way to make it easy calling those get_XXX & put_XXX mehtods
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for pywpsrpc-1.0.0b1-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 429674fb3c8382ed3328417062cf725c055eee91528e073a48869ac8301459d8 |
|
MD5 | 641a0d8fdff6553df56bf1c9ee0a9dd4 |
|
BLAKE2b-256 | e6d4755c50cbdf502dadee4a79beebc14c050c3cd91cbe291d09ad154724ec76 |
Hashes for pywpsrpc-1.0.0b1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af7250702a326640315d990f160dcfe8b7e5a0870eaa1c346f3008e35dbc8d47 |
|
MD5 | 89f2f2278c5e35b7c633f16b932e8788 |
|
BLAKE2b-256 | ab2e75c727e979a012eccc32ec739ad2691d1da20892e274ebc2bb66358dee83 |
Hashes for pywpsrpc-1.0.0b1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2f5192207ececfbc4f6a86aaf4a07f98ace4bb076e77a21800723d220265bd7 |
|
MD5 | 74ea30cf43e124bd1c18e14f664d44e4 |
|
BLAKE2b-256 | 4054b711d1a467a6c61e9fecdd2dcda1c25701084f00168e83ab7afbe12b0111 |
Hashes for pywpsrpc-1.0.0b1-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d71a28b3297b1df7cbf7221b4fe6d87958c5c7cbfe8146b2d63157ac60eace6c |
|
MD5 | 366edd3444314f55e79a27370d961265 |
|
BLAKE2b-256 | 0a376907a3d276f1e40baaeb49f929dc2ab3380d458323c5bff2c78d76d08d05 |
Hashes for pywpsrpc-1.0.0b1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df6bccccc2254c2df64c5e9023dc333e93f3b32fae2c79f3dce14b379f0825db |
|
MD5 | 72a9b0bc6f59c3da0ea148f3fc274031 |
|
BLAKE2b-256 | 2912aed5c9f51be8730e9fabe2f6139d3b13fc4e4ba5a94a6947cea2214eaecf |