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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file telepythy_service-0.5.4-py2.py3-none-any.whl.
File metadata
- Download URL: telepythy_service-0.5.4-py2.py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71ed9cba4cd7b5ababb8be4e2c0ba01f5db61d57032fc83d2f982005cb6e9926
|
|
| MD5 |
1f3e11d28edd7a2c96186051d656f01d
|
|
| BLAKE2b-256 |
d75eabe7e66c1ee29ee35604c3b3c008c1837f440856acab59c178f66e4ef72c
|