{ "info": { "author": "Vladimir Burian", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# Pyfrpc\n\nPyfrpc is a Python implementation of FastRPC protocol/library (\n[@github](https://seznam.github.io/frpc/) or\n[@sourceforge](http://fastrpc.sourceforge.net/)\n). The original library contains Python bindings, but:\n\n1. I prefer python packages without dependencies on debian packages.\n2. Its flexibility is limited in some points. E.g. the library provides its own \nimplementation of HTTP server and client, which is nice to have in C++, but not \nin Python I would say as there are already full-featured and more mature \nlibraries available for those tasks.\n3. In my opinion it's not worth to wrap such a library for python anyway (at \nleast not from today's perspective). The original binding itself is 3500 lines \nof code. So this is an alternative aproach.\n4. And I want to use it as a showcase for cython as well.\n\nThis library provides FastRPC encoding/decoding functions, FastRPC client \n(based on 'requests') and an interactive FastRPC client/terminal 'pyfrpc' (an \nalternative to 'fastrpc-netcat' based on 'IPython'). API mostly differs and is \nnot meant to be a drop-in replacement.\n\nIt is compatible with protocol versions 1.0, 2.0, 2.1 and 3.0.\n\nPackage provides both cython (C extencion) and pure python implementations. \nCython implementation is faster but requires C toolchain (or available python \nwheels). To use pure python implementation set env variable `PYFRPC_NOEXT=1` \nduring installation.\n\nSome features missing are:\n\n- handling of base64 encoded FastRPC\n- helper to build a server\n\nAside from distribution as a python package, it's also possible to download \nsingle-file amalgamated distribution: \n[pyfrpc.py](https://gitlab.com/vladaburian/pyfrpc/-/jobs/artifacts/master/raw/dist/pyfrpc.py?job=archive).\n\n\n## Interactive client\n\nInteractive client opens na ipython session with varible `client` initialized to \nFastFRPC connection. It supports tab-based completion of remote procedures' \nnames as well as shownig their documentation using question mark notation as is \nusual in ipython.\n\n```\n$ pyfrpc --help\n\nusage: pyfrpc [-h] [--insecure] URL\n\nFRPC netcat for interactive connection to FRPC server\n\npositional arguments:\n URL URL of FRPC server to connect to\n\noptional arguments:\n -h, --help show this help message and exit\n --insecure Do not check server's cert\n```\n\n```\n$ pyfrpc http://my-avesome-server\n\nIn [1]: client.greeting?\n...\nDocstring: Prints greeting.\n\nIn [2]: client.greeting()\nOut[2]: \n'hello from server'\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/vladaburian/pyfrpc", "keywords": "frpc fastrpc", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "pyfrpc", "package_url": "https://pypi.org/project/pyfrpc/", "platform": "", "project_url": "https://pypi.org/project/pyfrpc/", "project_urls": { "Homepage": "https://gitlab.com/vladaburian/pyfrpc" }, "release_url": "https://pypi.org/project/pyfrpc/0.2.2/", "requires_dist": [ "requests", "six", "ipython; extra == 'nc'" ], "requires_python": "", "summary": "Python implementation of fastrpc protocol", "version": "0.2.2" }, "last_serial": 4300494, "releases": { "0.2.1": [ { "comment_text": "", "digests": { "md5": "88980a322c0840e25194f96ec8b266ec", "sha256": "863fedba953f2cfcdcb3b3354f8a58d1ca405de54f45dd0c4f3e6eb54c302380" }, "downloads": -1, "filename": "pyfrpc-0.2.1-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "88980a322c0840e25194f96ec8b266ec", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 193839, "upload_time": "2018-09-22T20:12:37", "url": "https://files.pythonhosted.org/packages/34/7b/3831f12beaa7fe4e8f69b1187a49de597e81a63580da37f9eeec9db7bf01/pyfrpc-0.2.1-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "bced86e5e5e128535bfcb86e2b561110", "sha256": "4f56438f44aa0f273c0d38c2839933df0df54e9944109ce72d2c0b9ac7ede3fb" }, "downloads": -1, "filename": "pyfrpc-0.2.1-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "bced86e5e5e128535bfcb86e2b561110", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 203910, "upload_time": "2018-09-22T20:12:40", "url": "https://files.pythonhosted.org/packages/b8/1d/2685a9b32b08730decea51367fb572f2b30750636cc09b1780e91f3e4b44/pyfrpc-0.2.1-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "dcf4afd207a97f25d4747b53232dbf12", "sha256": "c98029918f3b56175cfd4ae7ded2d31f75fbffdeba4c08b2e1a99dac887892a3" }, "downloads": -1, "filename": "pyfrpc-0.2.1-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "dcf4afd207a97f25d4747b53232dbf12", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 208965, "upload_time": "2018-09-22T20:12:42", "url": "https://files.pythonhosted.org/packages/11/d8/91afbd1bebf893f3896e91ce548c3844d8ddaa8d09f128eb1860ea92b136/pyfrpc-0.2.1-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "f519165d573b1796f56bf954ad9090ad", "sha256": "f0dc7b37d8e7be699d48a22bfa0442a458b64a814b12333889cdf578f39ea75d" }, "downloads": -1, "filename": "pyfrpc-0.2.1-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "f519165d573b1796f56bf954ad9090ad", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 207327, "upload_time": "2018-09-22T20:12:44", "url": "https://files.pythonhosted.org/packages/1b/6b/aba185b03ee13e1e99bc76b35243d0e5f61196d3f55c99da53549597f785/pyfrpc-0.2.1-cp37-cp37m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "ce5c11fb0dd27fcc22f6800a40e1593b", "sha256": "79aa18f29bdd8b4dd1400a8e24e4eeeab543ca5e60e287d9d11024ce7316994a" }, "downloads": -1, "filename": "pyfrpc-0.2.1.zip", "has_sig": false, "md5_digest": "ce5c11fb0dd27fcc22f6800a40e1593b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 92666, "upload_time": "2018-09-22T20:12:46", "url": "https://files.pythonhosted.org/packages/e8/f5/1ad7f5c7054202009822783c29b304137a7535dc3895ee9c8c2728f50df4/pyfrpc-0.2.1.zip" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "9fc76a83c31e4aa89ae548b9204cc268", "sha256": "e51315f72c0308a6105291dfa9dda707cd4e85bd176b25320fc497ddf5788e65" }, "downloads": -1, "filename": "pyfrpc-0.2.2-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "9fc76a83c31e4aa89ae548b9204cc268", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 193824, "upload_time": "2018-09-22T20:45:43", "url": "https://files.pythonhosted.org/packages/31/d9/400d52cfc9b63d6f42f553f1f14894c8643d98311ea1dcf3746af96c4272/pyfrpc-0.2.2-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "98079a5e7a662784cd0bce40eb10fc85", "sha256": "ff2fe6af35ff09ef300220164741ae3247f2f0e056e79c494d42fe9aafa7d951" }, "downloads": -1, "filename": "pyfrpc-0.2.2-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "98079a5e7a662784cd0bce40eb10fc85", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 203898, "upload_time": "2018-09-22T20:45:44", "url": "https://files.pythonhosted.org/packages/2d/51/fe0d4b8f6d7d7e2ded249df90983837b673c8acd19f7b51cf4119358c366/pyfrpc-0.2.2-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "37129fa2e7bea2fdbd16de790f0859d2", "sha256": "24bd91fc1589548cb63c7cf635df5ee6e90a950a6c8e26cf718370ed2d7f6147" }, "downloads": -1, "filename": "pyfrpc-0.2.2-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "37129fa2e7bea2fdbd16de790f0859d2", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 208959, "upload_time": "2018-09-22T20:45:46", "url": "https://files.pythonhosted.org/packages/43/82/45364d58abda574d024ec7fdcdc7fc37523e6af840e9bbf14f838ca12f92/pyfrpc-0.2.2-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "3f659da1926494440c6e3ee6b7086e1d", "sha256": "24e2d6577e3377a50a05490b3188057d5b3d763e08a90f3e4432dfac63dab27c" }, "downloads": -1, "filename": "pyfrpc-0.2.2-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "3f659da1926494440c6e3ee6b7086e1d", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 207324, "upload_time": "2018-09-22T20:45:47", "url": "https://files.pythonhosted.org/packages/1b/8e/4e784072a9c4125d989a288e91abe23ce7e766c0ddf9dead7cd8a4e87c87/pyfrpc-0.2.2-cp37-cp37m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "757fbce8a15c3a8bc70ccc9bacd186dd", "sha256": "d16f2057ef3d27fca211511b24b346d18803db07c65f803d833cf9ec45afb8a1" }, "downloads": -1, "filename": "pyfrpc-0.2.2.zip", "has_sig": false, "md5_digest": "757fbce8a15c3a8bc70ccc9bacd186dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 92668, "upload_time": "2018-09-22T20:45:49", "url": "https://files.pythonhosted.org/packages/d8/ec/a11d19a41b0f9220fd5c0821c0a77bfedd99b62889bc451fddfc4f620cbf/pyfrpc-0.2.2.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9fc76a83c31e4aa89ae548b9204cc268", "sha256": "e51315f72c0308a6105291dfa9dda707cd4e85bd176b25320fc497ddf5788e65" }, "downloads": -1, "filename": "pyfrpc-0.2.2-cp27-cp27mu-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "9fc76a83c31e4aa89ae548b9204cc268", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 193824, "upload_time": "2018-09-22T20:45:43", "url": "https://files.pythonhosted.org/packages/31/d9/400d52cfc9b63d6f42f553f1f14894c8643d98311ea1dcf3746af96c4272/pyfrpc-0.2.2-cp27-cp27mu-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "98079a5e7a662784cd0bce40eb10fc85", "sha256": "ff2fe6af35ff09ef300220164741ae3247f2f0e056e79c494d42fe9aafa7d951" }, "downloads": -1, "filename": "pyfrpc-0.2.2-cp35-cp35m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "98079a5e7a662784cd0bce40eb10fc85", "packagetype": "bdist_wheel", "python_version": "cp35", "requires_python": null, "size": 203898, "upload_time": "2018-09-22T20:45:44", "url": "https://files.pythonhosted.org/packages/2d/51/fe0d4b8f6d7d7e2ded249df90983837b673c8acd19f7b51cf4119358c366/pyfrpc-0.2.2-cp35-cp35m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "37129fa2e7bea2fdbd16de790f0859d2", "sha256": "24bd91fc1589548cb63c7cf635df5ee6e90a950a6c8e26cf718370ed2d7f6147" }, "downloads": -1, "filename": "pyfrpc-0.2.2-cp36-cp36m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "37129fa2e7bea2fdbd16de790f0859d2", "packagetype": "bdist_wheel", "python_version": "cp36", "requires_python": null, "size": 208959, "upload_time": "2018-09-22T20:45:46", "url": "https://files.pythonhosted.org/packages/43/82/45364d58abda574d024ec7fdcdc7fc37523e6af840e9bbf14f838ca12f92/pyfrpc-0.2.2-cp36-cp36m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "3f659da1926494440c6e3ee6b7086e1d", "sha256": "24e2d6577e3377a50a05490b3188057d5b3d763e08a90f3e4432dfac63dab27c" }, "downloads": -1, "filename": "pyfrpc-0.2.2-cp37-cp37m-manylinux1_x86_64.whl", "has_sig": false, "md5_digest": "3f659da1926494440c6e3ee6b7086e1d", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 207324, "upload_time": "2018-09-22T20:45:47", "url": "https://files.pythonhosted.org/packages/1b/8e/4e784072a9c4125d989a288e91abe23ce7e766c0ddf9dead7cd8a4e87c87/pyfrpc-0.2.2-cp37-cp37m-manylinux1_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "757fbce8a15c3a8bc70ccc9bacd186dd", "sha256": "d16f2057ef3d27fca211511b24b346d18803db07c65f803d833cf9ec45afb8a1" }, "downloads": -1, "filename": "pyfrpc-0.2.2.zip", "has_sig": false, "md5_digest": "757fbce8a15c3a8bc70ccc9bacd186dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 92668, "upload_time": "2018-09-22T20:45:49", "url": "https://files.pythonhosted.org/packages/d8/ec/a11d19a41b0f9220fd5c0821c0a77bfedd99b62889bc451fddfc4f620cbf/pyfrpc-0.2.2.zip" } ] }