Skip to main content

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


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 Distributions

pywpsrpc-1.0.0b1-cp38-cp38-manylinux1_x86_64.whl (5.6 MB view hashes)

Uploaded CPython 3.8

pywpsrpc-1.0.0b1-cp37-cp37m-manylinux1_x86_64.whl (5.6 MB view hashes)

Uploaded CPython 3.7m

pywpsrpc-1.0.0b1-cp36-cp36m-manylinux1_x86_64.whl (5.6 MB view hashes)

Uploaded CPython 3.6m

pywpsrpc-1.0.0b1-cp35.cp36.cp37.cp38-abi3-manylinux1_x86_64.whl (5.6 MB view hashes)

Uploaded CPython 3.5+ CPython 3.6+ CPython 3.7+ CPython 3.8+

pywpsrpc-1.0.0b1-cp35-cp35m-manylinux1_x86_64.whl (5.6 MB view hashes)

Uploaded CPython 3.5m

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page