{ "info": { "author": "Tushar Pawar", "author_email": "tushar@infilect.com", "bugtrack_url": null, "classifiers": [ "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# LibInfilect\nUtility library for internal usage @ Infilect\n\n## Installation\n\nUse `pip install --upgrade libinfilect` to install the latest version. \n\n## Contribution\nFeel free to add your modules to this library so that it can be used by all team members and maximise code reusability. Make sure to follow these guidelines while contributing.\n\n- Document your code. Try to follow standard documentation practices mentioned [here](https://docs.python-guide.org/writing/documentation/). \n- Test your code thoroughly.\n- Provide sample usage examples/quickstart guide in documentation. I have provided an example below for the interface module. \n\n### Interface\nInterface repo that contains all the helper functions for creating interfaces between\n\nbackend servers and frontend clients. This contains creation and maintenance of TCP sockets.\n\nIf you are writing a server side module, you will use the Server class as follows.\n\n```\nfrom libinfilect import interface\nimport json\n\nserver_socket = interface.Server(ip='0.0.0.0',port=4242)\nserver_socket.create_socket()\n\nwhile True:\n\tquery = server_socket.start_listening()\n\tquery = json.loads(query.decode('utf-8'))\n\tresult = do_your_machine_learning_thing_and_produce_results(query)\n\tserver_socket.respond(json.dumps(result))\n```\n##### The server socket will be automatically closed once server_socket object goes out of context\n\nIf you are witing client side module, you will use the Client class as follows. \n```\nfrom libinfilect import interface\nimport json\n\nclient_socket = interface.Client(ip='127.0.0.1',port=4242)\nresults = client_socket.send_query_and_await_results(json.dumps({\"query_key\":\"query_value\"}))\n```\n##### This will take care of adding newline character for socket delimiter so no need to add extra newlines.\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://bitbucket.org/infilect-ml-dev/libinfilect/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "libinfilect", "package_url": "https://pypi.org/project/libinfilect/", "platform": "", "project_url": "https://pypi.org/project/libinfilect/", "project_urls": { "Homepage": "https://bitbucket.org/infilect-ml-dev/libinfilect/" }, "release_url": "https://pypi.org/project/libinfilect/0.0.3/", "requires_dist": null, "requires_python": "", "summary": "Collection of frequently used utility functions", "version": "0.0.3" }, "last_serial": 4679988, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "b88a8a1b5070262f9fb444c65adcfbef", "sha256": "965fda3cd132d2ff74bcb12d0e6d0beafce93d3efd1b3c859ea59ef67c9048d9" }, "downloads": -1, "filename": "libinfilect-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b88a8a1b5070262f9fb444c65adcfbef", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2422, "upload_time": "2018-10-15T02:51:27", "url": "https://files.pythonhosted.org/packages/0a/41/b95a405ba890f4c154467487949a40985057dedf28af8f4d2be7f199a079/libinfilect-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a8dbde4bc2c8bc77353505668c80ad96", "sha256": "b09ef33ed61c6c5a326349d6a702d9a5222da9c8716c939616945597a6072a19" }, "downloads": -1, "filename": "libinfilect-0.0.1.tar.gz", "has_sig": false, "md5_digest": "a8dbde4bc2c8bc77353505668c80ad96", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1892, "upload_time": "2018-10-15T02:51:29", "url": "https://files.pythonhosted.org/packages/ac/8c/6db3c4e02b14af20320825a13449e6bb44e500613c230ded18ec80b111ff/libinfilect-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "aead2d9525fc05952a4d7cd3cd3b51d5", "sha256": "07d98af25809a83b2796b94670e78f554bd3863e3fa4db438d8a363d485267e6" }, "downloads": -1, "filename": "libinfilect-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "aead2d9525fc05952a4d7cd3cd3b51d5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2199, "upload_time": "2018-10-15T06:35:54", "url": "https://files.pythonhosted.org/packages/d2/65/833b8deccd8fd06a4947bec1c147cfa72d9b2b1a270a9c44749aa59e9309/libinfilect-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2d0d1873d4afd222aa1edcf00a0e8c8d", "sha256": "e3d069de16af11c8843b99ac733e8f5091ea869b9b07c334e55ed7c692f4b4de" }, "downloads": -1, "filename": "libinfilect-0.0.2.tar.gz", "has_sig": false, "md5_digest": "2d0d1873d4afd222aa1edcf00a0e8c8d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1663, "upload_time": "2018-10-15T06:35:55", "url": "https://files.pythonhosted.org/packages/67/46/3a01bd0f907df7ea82511d492aa449811b669e71fcaf26a172584c024bac/libinfilect-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "c4746a96ab152de90a2d4e7eff970dea", "sha256": "6bc6b75fd383f0b73919ad683b1c2c94564a00f0cf73d1abbf7db68ad08f74a3" }, "downloads": -1, "filename": "libinfilect-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "c4746a96ab152de90a2d4e7eff970dea", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8863, "upload_time": "2019-01-10T07:28:50", "url": "https://files.pythonhosted.org/packages/ad/06/ec29730153a5d73347aeec32ea132c0ad912215490c03f55813b6a0548c4/libinfilect-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e667105332b834d6fc6ca90a20765d11", "sha256": "7c94614dcd223325b3178d422fd71880485d8d0798cf1eec32edcf2b1ef7a7a4" }, "downloads": -1, "filename": "libinfilect-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e667105332b834d6fc6ca90a20765d11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6756, "upload_time": "2019-01-10T07:28:51", "url": "https://files.pythonhosted.org/packages/78/94/02b95ad3ebcd20145336acfed002e1478b26d0f3c22ee07bc7a3650d410a/libinfilect-0.0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c4746a96ab152de90a2d4e7eff970dea", "sha256": "6bc6b75fd383f0b73919ad683b1c2c94564a00f0cf73d1abbf7db68ad08f74a3" }, "downloads": -1, "filename": "libinfilect-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "c4746a96ab152de90a2d4e7eff970dea", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8863, "upload_time": "2019-01-10T07:28:50", "url": "https://files.pythonhosted.org/packages/ad/06/ec29730153a5d73347aeec32ea132c0ad912215490c03f55813b6a0548c4/libinfilect-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e667105332b834d6fc6ca90a20765d11", "sha256": "7c94614dcd223325b3178d422fd71880485d8d0798cf1eec32edcf2b1ef7a7a4" }, "downloads": -1, "filename": "libinfilect-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e667105332b834d6fc6ca90a20765d11", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6756, "upload_time": "2019-01-10T07:28:51", "url": "https://files.pythonhosted.org/packages/78/94/02b95ad3ebcd20145336acfed002e1478b26d0f3c22ee07bc7a3650d410a/libinfilect-0.0.3.tar.gz" } ] }