Skip to main content

No project description provided

Project description

Telepythy Service

This is the service library for Telepythy. This library has no dependencies, is supported on Python 2.7+ and 3.3+, and can be used to embed a Telepythy client or server into any environment.

To install, simply use:

$pip install telepythy-service

You can start the service directly on the command-line:

$ telepythy-svc [-c,--connect] '<host>:<port>'
$ telepythy-svc [-s,--serve] '<interface>:<port>'
# or
$ python -m telepythy ...

With no options, a server will start listening on the default interface and port: localhost:7373.

To embed a Telepythy service in your code, you can use any of the following functions:

import telepythy

# start a server thread
telepythy.start_server()

# or start a client thread
telepythy.start_client()

# or start a client/server directly (blocking), with optional arguments
telepythy.client(locals={'client': True}, address='localhost:7373')
telepythy.server(locals={'client': False}, address='localhost:1337')

See the <telepythy>/examples directory from the Telepythy repository for examples on how to embed the service into existing code.

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

telepythy_service-0.5.1-py2.py3-none-any.whl (13.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file telepythy_service-0.5.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for telepythy_service-0.5.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2105ea81e2ce5c25dd3a992c251842315932cbc6d620e46751eba3d46ace11a7
MD5 a1af148500257fda5543ec8fa5ba35ea
BLAKE2b-256 5be8ba7f7706a3d4a0a73786c0ed5cd7fa3d943ebcae9cf6b575def5166c95e4

See more details on using hashes here.

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