Skip to main content

xmlrpc comp (python2 and 3)

Project description

xmlrpc comp

xmlrpc python2 and python3

Usage

server

from xmlrpccomp import RpcServer
>>> def hello():
...     return 'hello'
... 
>>> server = RpcServer(('localhost', 5000))
>>> server.register_function(hello, 'hello')
>>> server.serve_forever()

client

>>> from xmlrpccomp import RpcClient
>>> client = RpcClient('http://localhost:5000')
>>> client.hello()
'hello'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xmlrpccomp-1.0.0.tar.gz (1.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xmlrpccomp-1.0.0-py2-none-any.whl (1.8 kB view details)

Uploaded Python 2

File details

Details for the file xmlrpccomp-1.0.0.tar.gz.

File metadata

  • Download URL: xmlrpccomp-1.0.0.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.12

File hashes

Hashes for xmlrpccomp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 61d65cd7afae080605231eccd16ebe7eb8f4135c3cf138f984483d2817b30dc7
MD5 daaca948b0cebe4144b84a0b65329d2f
BLAKE2b-256 2f5b348c4d264b58a26eb674abd958d2221925b4e23286fe74f35303b29e9295

See more details on using hashes here.

File details

Details for the file xmlrpccomp-1.0.0-py2-none-any.whl.

File metadata

  • Download URL: xmlrpccomp-1.0.0-py2-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.12

File hashes

Hashes for xmlrpccomp-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 1380591a67a99f2385b2d94ce40ddf8a546c9da06f1a1805c951494c10083c52
MD5 778dcb052ad78c3f36c3cedc9d59ce6b
BLAKE2b-256 2cb82f94be3663547d1ad468c0ac454b82cffdc4e25ad086ec2ffd8a978ad2b1

See more details on using hashes here.

Supported by

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