Skip to content

Xavier1994/platform_client

Repository files navigation

Platform Client is a tool for tansfer http request to function call and provide some convinient wrappers

Installation

Install, upgrade and uninstall platform_client with these commands:

$ cd platform_client
$ python setup.py install

Dependencies

The Platform-Client distribution is supported and tested on Python 2.7, 3.3, 3.4

Main dependency is:

Additional dependencies are:

Documentation

Not Ready

Examples

Here's a basic example (for more see the examples directory):

$ python

>>> from platform_client import PlatformClient
>>> client = PlatformClient()
>>> result = client.sync_import_image(repository_id = 1, picture_image_content_base64 = 'xxx')

See more examples in example folder

Testing

Make sure you have tox by running the following:

$ cd platform_client
$ tox

Development

All development is done on Github. Use Issues_ to report problems or submit contributions.

TODO

  • document, add comment to code for using Sphinx to generating doc

Source code

The source code is currently available on Github: https://github.com/xavier/platform_client

About

Transfer http request to function call

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages