tinode-grpc


Nametinode-grpc JSON
Version 0.22.3 PyPI version JSON
download
home_pagehttps://github.com/tinode/chat
SummaryTinode gRPC bindings.
upload_time2023-03-26 00:27:47
maintainer
docs_urlNone
authorTinode Authors
requires_python
licenseApache 2.0
keywords chat messaging messenger im tinode
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Generated Protocol Buffer and gRPC files for [Tinode](https://github.com/tinode)

Generated Python code for [gRPC](https://grpc.io/) client and plugins.

gRPC clients must implement rpc service `Node`, plugins must implement `Plugin`.

For a sample implementation of a command line client see [tn-cli](https://github.com/tinode/chat/tree/master/tn-cli/).
For a partial plugin implementation see [chatbot](https://github.com/tinode/chat/tree/master/chatbot).

## Installing

Install the package by executing
```
pip install tinode_grpc
```


## Generating files

Don't modify included files directly. If you want to make changes, you have to install protobuffers tool chain and gRPC then generate the Python bindings from [`pbx/model.proto`](https://github.com/tinode/chat/tree/master/pbx/model.proto) (your path to `model.proto` may be different):
```
python -m grpc_tools.protoc -I../pbx --python_out=. --grpc_python_out=. ../pbx/model.proto
```
The generated `model_pb2_grpc.py` imports `model_pb2.py` as a module instead of a package which is incompatible with python3 packaging system. Use `../pbx/py_fix.py` to apply a fix. This is only needed if you want to repackage the generated files.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/tinode/chat",
    "name": "tinode-grpc",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "chat messaging messenger im tinode",
    "author": "Tinode Authors",
    "author_email": "info@tinode.co",
    "download_url": "https://files.pythonhosted.org/packages/d0/2a/fd89a97e368dc7443a7a3643d401e37cf9bf5acedbdd738ea84f6f0b8c00/tinode_grpc-0.22.3.tar.gz",
    "platform": null,
    "description": "# Generated Protocol Buffer and gRPC files for [Tinode](https://github.com/tinode)\n\nGenerated Python code for [gRPC](https://grpc.io/) client and plugins.\n\ngRPC clients must implement rpc service `Node`, plugins must implement `Plugin`.\n\nFor a sample implementation of a command line client see [tn-cli](https://github.com/tinode/chat/tree/master/tn-cli/).\nFor a partial plugin implementation see [chatbot](https://github.com/tinode/chat/tree/master/chatbot).\n\n## Installing\n\nInstall the package by executing\n```\npip install tinode_grpc\n```\n\n\n## Generating files\n\nDon't modify included files directly. If you want to make changes, you have to install protobuffers tool chain and gRPC then generate the Python bindings from [`pbx/model.proto`](https://github.com/tinode/chat/tree/master/pbx/model.proto) (your path to `model.proto` may be different):\n```\npython -m grpc_tools.protoc -I../pbx --python_out=. --grpc_python_out=. ../pbx/model.proto\n```\nThe generated `model_pb2_grpc.py` imports `model_pb2.py` as a module instead of a package which is incompatible with python3 packaging system. Use `../pbx/py_fix.py` to apply a fix. This is only needed if you want to repackage the generated files.\n\n\n",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Tinode gRPC bindings.",
    "version": "0.22.3",
    "split_keywords": [
        "chat",
        "messaging",
        "messenger",
        "im",
        "tinode"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ca170ba4e4954762aaf8d195cca569b5f3e5b80960a6a61a6c146913cf71d6af",
                "md5": "4f925d7f0a8d62a3f526626718198955",
                "sha256": "149b9afb6a1091b2699f426e018dcaa41491b83ed11b217a3b4b583f5c0a6f8a"
            },
            "downloads": -1,
            "filename": "tinode_grpc-0.22.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4f925d7f0a8d62a3f526626718198955",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 8679,
            "upload_time": "2023-03-26T00:27:46",
            "upload_time_iso_8601": "2023-03-26T00:27:46.225341Z",
            "url": "https://files.pythonhosted.org/packages/ca/17/0ba4e4954762aaf8d195cca569b5f3e5b80960a6a61a6c146913cf71d6af/tinode_grpc-0.22.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d02afd89a97e368dc7443a7a3643d401e37cf9bf5acedbdd738ea84f6f0b8c00",
                "md5": "4a92602a570b277812002e267f677b91",
                "sha256": "ad024aad2948b19b9e44674dae6a7d18d637dcc64ba7361579262b5bf73e63a1"
            },
            "downloads": -1,
            "filename": "tinode_grpc-0.22.3.tar.gz",
            "has_sig": false,
            "md5_digest": "4a92602a570b277812002e267f677b91",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8814,
            "upload_time": "2023-03-26T00:27:47",
            "upload_time_iso_8601": "2023-03-26T00:27:47.827147Z",
            "url": "https://files.pythonhosted.org/packages/d0/2a/fd89a97e368dc7443a7a3643d401e37cf9bf5acedbdd738ea84f6f0b8c00/tinode_grpc-0.22.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-26 00:27:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "tinode",
    "github_project": "chat",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "tinode-grpc"
}
        
Elapsed time: 0.43467s