telepythy-service


Nametelepythy-service JSON
Version 0.5.3 PyPI version JSON
download
home_pagehttps://github.com/dhagrow/telepythy
Summary
upload_time2023-08-12 23:14:42
maintainer
docs_urlNone
authorMiguel Turner
requires_python
license
keywords
VCS
bugtrack_url
requirements colorama colorlog darkdetect mistune packaging platformdirs Pygments pyparsing pyqtdarktheme PySide6-Essentials QtPy shiboken6 snekcfg
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Telepythy Service

This is the service library for [Telepythy][1]. 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:

```shell
$pip install telepythy-service
```

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

```shell
$ 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:

```python
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][1] repository for examples on how to embed the service into existing code.

[1]: https://github.com/dhagrow/telepythy

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dhagrow/telepythy",
    "name": "telepythy-service",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Miguel Turner",
    "author_email": "cymrow@gmail.com",
    "download_url": "",
    "platform": null,
    "description": "# Telepythy Service\n\nThis is the service library for [Telepythy][1]. 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.\n\nTo install, simply use:\n\n```shell\n$pip install telepythy-service\n```\n\nYou can start the service directly on the command-line:\n\n```shell\n$ telepythy-svc [-c,--connect] '<host>:<port>'\n$ telepythy-svc [-s,--serve] '<interface>:<port>'\n# or\n$ python -m telepythy ...\n```\n\nWith no options, a server will start listening on the default interface and port: `localhost:7373`.\n\nTo embed a **Telepythy** service in your code, you can use any of the following functions:\n\n```python\nimport telepythy\n\n# start a server thread\ntelepythy.start_server()\n\n# or start a client thread\ntelepythy.start_client()\n\n# or start a client/server directly (blocking), with optional arguments\ntelepythy.client(locals={'client': True}, address='localhost:7373')\ntelepythy.server(locals={'client': False}, address='localhost:1337')\n```\n\nSee the `<telepythy>/examples` directory from the [Telepythy][1] repository for examples on how to embed the service into existing code.\n\n[1]: https://github.com/dhagrow/telepythy\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.5.3",
    "project_urls": {
        "Homepage": "https://github.com/dhagrow/telepythy"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8d741ce146ae6d9bf6482ed09d4f5bf4b5140a75417d690665ee8db1999bc7ee",
                "md5": "b3dc62299fb42c5b024e57b7e37a251d",
                "sha256": "7dac9e5f37605b72a6600ea644907567d7447a99ac08485dbdee54dc46c4b16c"
            },
            "downloads": -1,
            "filename": "telepythy_service-0.5.3-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b3dc62299fb42c5b024e57b7e37a251d",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 13326,
            "upload_time": "2023-08-12T23:14:42",
            "upload_time_iso_8601": "2023-08-12T23:14:42.418340Z",
            "url": "https://files.pythonhosted.org/packages/8d/74/1ce146ae6d9bf6482ed09d4f5bf4b5140a75417d690665ee8db1999bc7ee/telepythy_service-0.5.3-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-12 23:14:42",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dhagrow",
    "github_project": "telepythy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "colorama",
            "specs": [
                [
                    "==",
                    "0.4.6"
                ]
            ]
        },
        {
            "name": "colorlog",
            "specs": [
                [
                    "==",
                    "6.7.0"
                ]
            ]
        },
        {
            "name": "darkdetect",
            "specs": [
                [
                    "==",
                    "0.7.1"
                ]
            ]
        },
        {
            "name": "mistune",
            "specs": [
                [
                    "==",
                    "3.0.1"
                ]
            ]
        },
        {
            "name": "packaging",
            "specs": [
                [
                    "==",
                    "23.1"
                ]
            ]
        },
        {
            "name": "platformdirs",
            "specs": [
                [
                    "==",
                    "3.9.1"
                ]
            ]
        },
        {
            "name": "Pygments",
            "specs": [
                [
                    "==",
                    "2.15.1"
                ]
            ]
        },
        {
            "name": "pyparsing",
            "specs": [
                [
                    "==",
                    "3.1.0"
                ]
            ]
        },
        {
            "name": "pyqtdarktheme",
            "specs": [
                [
                    "==",
                    "2.1.0"
                ]
            ]
        },
        {
            "name": "PySide6-Essentials",
            "specs": [
                [
                    "==",
                    "6.5.2"
                ]
            ]
        },
        {
            "name": "QtPy",
            "specs": [
                [
                    "==",
                    "2.3.1"
                ]
            ]
        },
        {
            "name": "shiboken6",
            "specs": [
                [
                    "==",
                    "6.5.2"
                ]
            ]
        },
        {
            "name": "snekcfg",
            "specs": [
                [
                    "==",
                    "0.1.1"
                ]
            ]
        }
    ],
    "lcname": "telepythy-service"
}
        
Elapsed time: 0.10283s