{ "info": { "author": "OleguerCanal", "author_email": "oleguer.canal@hotmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "**IMPORTANT NOTE**: This is more an exercice for me to learn how to make installable packages than an actual useful package. It is not finished, so expect errors and a lot of missing stuff.\n\n# cpp_python_socket\nSimple TCP/IP socket comunication wrapper between c++ and Python for IPC.\n\n## General Information\nTo install c++ package, read/edit source code and more info check out the repo:\nhttps://github.com/OleguerCanal/cpp_python_socket.git\n\n## Usage examples\nPython Server:\n```Python\nfrom CppPythonSocket import Server\nimport cv2\n\nif __name__ == \"__main__\":\n server = Server(\"127.0.0.1\", 5002)\n\n # Check that connection works\n message = server.receive()\n print(\"[CLIENT]:\" + message)\n server.send(\"Shut up and send an image\")\n\n # Receive and show image\n image = server.receive_image()\n cv2.imshow('SERVER', image)\n cv2.waitKey(1000)\n server.send(\"Thanks!\")\n```\n\nC++ client:\n```cpp\n#include \n#include \"client.hpp\"\n\nint main() {\n socket_communication::Client client(\"127.0.0.1\", 5002);\n\n // Check that connection works\n client.Send(\"Hello hello!\");\n std::string answer = client.Receive();\n std::cout << \"Server: \" << answer << std::endl;\n\n // Load image and send image\n cv::Mat img = cv::imread(\"cpp/lena.png\");\n client.SendImage(img);\n std::string answer2 = client.Receive();\n std::cout << \"Server: \" << answer2 << std::endl;\n}\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://github.com/OleguerCanal/cpp_python_socket.git", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "CppPythonSocket", "package_url": "https://pypi.org/project/CppPythonSocket/", "platform": "", "project_url": "https://pypi.org/project/CppPythonSocket/", "project_urls": { "Homepage": "https://github.com/OleguerCanal/cpp_python_socket.git" }, "release_url": "https://pypi.org/project/CppPythonSocket/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "Simple TCP/IP socket comunication wrapper between c++ and Python for IPC.", "version": "0.2.2" }, "last_serial": 5677951, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "b2bfd0c167dbcd46541b1a925b697cac", "sha256": "ebad22e445dc0ba5a25412b63dcb52c4e316994f607086173851c2c7f5864d37" }, "downloads": -1, "filename": "CppPythonSocket-0.1-py2-none-any.whl", "has_sig": false, "md5_digest": "b2bfd0c167dbcd46541b1a925b697cac", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 3296, "upload_time": "2019-05-16T08:27:11", "url": "https://files.pythonhosted.org/packages/99/0a/f68dfd4a4fd7d37e528d0e4156152f3cc9fd221e9925c1fb2a4f2c2f89e3/CppPythonSocket-0.1-py2-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "a91fb01177f800daca68745620437917", "sha256": "1b5f796ff5bb84513f5b6f737b6e18ee3657bb2521a1056ee7441c298a0456cd" }, "downloads": -1, "filename": "CppPythonSocket-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "a91fb01177f800daca68745620437917", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4530, "upload_time": "2019-05-16T08:48:14", "url": "https://files.pythonhosted.org/packages/bb/b9/dc0cbb2a0e11711881f34b02d6f03a7cc3613054d335d443d1094af89a29/CppPythonSocket-0.1.1-py3-none-any.whl" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "21b8c834fc6f05d9c32ed7e644d728d9", "sha256": "e8b17aabc0449e42cb488da3be3754d1c8aa4bc61adc7e7adf0f3ebce581ed9c" }, "downloads": -1, "filename": "CppPythonSocket-0.1.2-py2-none-any.whl", "has_sig": false, "md5_digest": "21b8c834fc6f05d9c32ed7e644d728d9", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4701, "upload_time": "2019-05-16T09:11:56", "url": "https://files.pythonhosted.org/packages/3a/84/0e3b4b6cfd100326b999f127dd292e86c197f122d787f01dbb6d3a8ea39b/CppPythonSocket-0.1.2-py2-none-any.whl" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "91326eeafb2385d64d3afd39d2dccf8d", "sha256": "02c7f549d4913f46d4518dc3fdcb027f9ae0465b3abc8217af9a3846c10ff51c" }, "downloads": -1, "filename": "CppPythonSocket-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "91326eeafb2385d64d3afd39d2dccf8d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4069, "upload_time": "2019-05-20T06:24:12", "url": "https://files.pythonhosted.org/packages/a6/24/6880e7a5a437827606154748a3079ca57850908b730622351e5db377b82a/CppPythonSocket-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "830a7b84398d09b7dba987e0c68383db", "sha256": "1705a2465304d568e82499e3c8ac1472e228d878623e978f5223cf4ec74954bf" }, "downloads": -1, "filename": "CppPythonSocket-0.1.3.tar.gz", "has_sig": false, "md5_digest": "830a7b84398d09b7dba987e0c68383db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2822, "upload_time": "2019-05-20T06:24:14", "url": "https://files.pythonhosted.org/packages/1a/3f/401d63edee60b3e6f80376b220fc956b4a17a15f9209874bd472623502e0/CppPythonSocket-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "d414f3eb2ee3f9667b4101d4d4720f71", "sha256": "5885b71dd7a0ebd20d3bcf247aa95bb026de277352158bd1034bd1813c29e48b" }, "downloads": -1, "filename": "CppPythonSocket-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "d414f3eb2ee3f9667b4101d4d4720f71", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4091, "upload_time": "2019-05-20T06:42:58", "url": "https://files.pythonhosted.org/packages/6f/79/96031a9674e9c467f5ace233a6447a822e954226c74f081601908aa6ea4c/CppPythonSocket-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "815538c55311b3f1934d4160f639c134", "sha256": "734c8cb37eee1969b6e500f072cc39eed38e641813ab89d6218bd6561f1ed61b" }, "downloads": -1, "filename": "CppPythonSocket-0.1.4.tar.gz", "has_sig": false, "md5_digest": "815538c55311b3f1934d4160f639c134", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2828, "upload_time": "2019-05-20T06:43:00", "url": "https://files.pythonhosted.org/packages/b4/d0/f438d97de62c3071b24b0bb13865097ba3adb969075a1b65546060330875/CppPythonSocket-0.1.4.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "9c5ab58cd8d12b2ac7ad2ae0a5309d09", "sha256": "13229cf256db5c8b67b7ecac6e401732ca71bec81fe024baa6f60f457c407e04" }, "downloads": -1, "filename": "CppPythonSocket-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9c5ab58cd8d12b2ac7ad2ae0a5309d09", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4102, "upload_time": "2019-05-20T06:53:04", "url": "https://files.pythonhosted.org/packages/88/c8/1df9f9ef37d11e6e3e13fad2dbd5b3ea787b147407cfcf5235aff7c2f4a7/CppPythonSocket-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "412fca20147886b7e65b540ac4c8bff6", "sha256": "d3d604b5cf3f11cb27f6725d69429f006712335717a383d84a1a307a12b231c5" }, "downloads": -1, "filename": "CppPythonSocket-0.2.0.tar.gz", "has_sig": false, "md5_digest": "412fca20147886b7e65b540ac4c8bff6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2840, "upload_time": "2019-05-20T06:53:05", "url": "https://files.pythonhosted.org/packages/77/92/b4391626ca04fc078563598b0858ccc1046ea548baa8c613b8ce58af18e5/CppPythonSocket-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "e13377a0e38a9a1cad932f83c45bdb68", "sha256": "ad2f98385c30cf11cf5cc27d5988b15e8162f14df85bf1b7db070badfe6484ec" }, "downloads": -1, "filename": "CppPythonSocket-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "e13377a0e38a9a1cad932f83c45bdb68", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4106, "upload_time": "2019-05-20T06:56:20", "url": "https://files.pythonhosted.org/packages/80/43/6210457b16969df801938118dd90e5db96578150f0b00805b0c4adb6627d/CppPythonSocket-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "03810deee5b5d35ed49df53012d2013a", "sha256": "d800d72d714ca8bb60dd42e5e90aa3d8be52d8bdc5308565005ecda953b1500f" }, "downloads": -1, "filename": "CppPythonSocket-0.2.1.tar.gz", "has_sig": false, "md5_digest": "03810deee5b5d35ed49df53012d2013a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2840, "upload_time": "2019-05-20T06:56:21", "url": "https://files.pythonhosted.org/packages/98/82/b8a1e6560a4dd13f5aef1b5b89c9c71d328348fad7098fbfbfc95bf3c578/CppPythonSocket-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "9caa1ed3f6cd0ac082cb54350f7273b2", "sha256": "97293ec33850e3d19af4aa3cb239bc2c2902c2ffbd6423768e489adcebbdabf6" }, "downloads": -1, "filename": "CppPythonSocket-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9caa1ed3f6cd0ac082cb54350f7273b2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4169, "upload_time": "2019-08-14T16:26:32", "url": "https://files.pythonhosted.org/packages/20/99/d9e126546808f7f060e72629c4deb69da7c20ecd13f2952205cb829530a8/CppPythonSocket-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "75f5050f886a616198256a3f2c8791fb", "sha256": "630a27e2e180bbc834e1f43857b9f92702f0757f73fa915dca817b5458c3763b" }, "downloads": -1, "filename": "CppPythonSocket-0.2.2.tar.gz", "has_sig": false, "md5_digest": "75f5050f886a616198256a3f2c8791fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2837, "upload_time": "2019-08-14T16:26:34", "url": "https://files.pythonhosted.org/packages/5d/e0/0aa7d24fda5a6cc001aef235783d6112f3bf778582d3316ae29c28bfed10/CppPythonSocket-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9caa1ed3f6cd0ac082cb54350f7273b2", "sha256": "97293ec33850e3d19af4aa3cb239bc2c2902c2ffbd6423768e489adcebbdabf6" }, "downloads": -1, "filename": "CppPythonSocket-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "9caa1ed3f6cd0ac082cb54350f7273b2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4169, "upload_time": "2019-08-14T16:26:32", "url": "https://files.pythonhosted.org/packages/20/99/d9e126546808f7f060e72629c4deb69da7c20ecd13f2952205cb829530a8/CppPythonSocket-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "75f5050f886a616198256a3f2c8791fb", "sha256": "630a27e2e180bbc834e1f43857b9f92702f0757f73fa915dca817b5458c3763b" }, "downloads": -1, "filename": "CppPythonSocket-0.2.2.tar.gz", "has_sig": false, "md5_digest": "75f5050f886a616198256a3f2c8791fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2837, "upload_time": "2019-08-14T16:26:34", "url": "https://files.pythonhosted.org/packages/5d/e0/0aa7d24fda5a6cc001aef235783d6112f3bf778582d3316ae29c28bfed10/CppPythonSocket-0.2.2.tar.gz" } ] }