{ "info": { "author": "Lionel Darras", "author_email": "lionel.darras@mom.fr", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Telecommunications Industry", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "PyLink\n======\n\nPylink offers a universal communication interface using File-Like API.\nFor now, only the **TCP**, **UDP**, **Serial** and **GSM** interfaces are \nsupported.\n\nThe aim of this project is to allow any type of communication.\nIt is best suited for projects that have various ways of communicating\nincluding IP remote or local serial communication.\n\nInstallation\n------------\n\nYou can install, upgrade, uninstall pylink with these commands::\n\n $ pip install pylink\n $ pip install --upgrade pylink\n $ pip uninstall pylink\n\nOr if you don't have pip::\n\n $ easy_install pylink\n\nExamples\n--------\n\n::\n\n >>> from pylink import TCPLink, link_from_url\n >>> link = TCPLink('localhost', 7) # conntect to echo tcp service\n >>> link.write('Hello')\n 2012-06-05 12:44:06,211 INFO: new was initialized\n 2012-06-05 12:44:06,211 INFO: Write : \n >>> link.read() == 'Hello'\n 2012-06-05 12:44:06,312 INFO: Read : <'hello'>\n True\n\nWith GSMLink, you shoud specify the modem connection link::\n\n\n >>> from pylink import GSMLink, SerialLink\n >>> link = GSMLink(\"0678986955\", SerialLink(\"/dev/ttyUSB0\", 38400))\n >>> link.open()\n 2012-06-29 15:13:31,637 INFO: new was initialized \n 2012-06-29 15:13:31,637 INFO: GSM : Call 0678986955 \n 2012-06-29 15:13:31,638 INFO: Write : \n 2012-06-29 15:13:31,648 INFO: GSM : \n 2012-06-29 15:13:41,649 INFO: GSM : \n 2012-06-29 15:14:08,075 INFO: Read : \n 2012-06-29 15:14:08,076 INFO: GSM : \n >>> link.write(\"TEST\\n\")\n 2012-06-29 15:14:16,193 INFO: Write : \n >>> link.read()\n 2012-06-29 15:14:24,972 INFO: Read : \n \n TEST\n \n >>> link.close()\n 2012-06-29 15:29:09,295 INFO: Write : \n 2012-06-29 15:29:10,318 INFO: Read : \n 2012-06-29 15:29:10,318 INFO: Write : \n 2012-06-29 15:29:10,336 INFO: Read : \n 2012-06-29 15:29:10,337 INFO: GSM : Hang-up \n 2012-06-29 15:29:10,437 INFO: Connection was closed\n\nContribute\n----------\n\nThere are several ways to contribute to the project:\n\n#. Post bugs and feature `requests on github`_.\n#. Fork `the repository`_ on Github to start making your changes.\n#. Write a test which shows that the bug was fixed or that the feature works as expected.\n#. Send a pull request and bug the maintainer until it gets merged and published. :) Make sure to add yourself to AUTHORS_.\n\n.. _`requests on github`: https://github.com/SalemHarrache/PyLink/issues\n.. _`the repository`: https://github.com/SalemHarrache/PyLink\n.. _AUTHORS: https://github.com/SalemHarrache/PyLink/blob/master/AUTHORS.rst\n\n\nChangelog\n---------\n\nVersion 0.3.3\n~~~~~~~~~~~~~\n\n- Fix the bug related to the pyserial encoding data with Python v3.x\n\nVersion 0.3.2\n~~~~~~~~~~~~~\n\n- Fix the bug related to the pyserial encoding data\n\nVersion 0.3\n~~~~~~~~~~~\n\nReleased on 2012-06-29.\n\n- Support for GSMLink with AT commands. GSMLink can use TCP, UDP or Serial link.\n\nVersion 0.2\n~~~~~~~~~~~\n\nReleased on 2012-06-14.\n\n* TCP and UDP Optimisations.\n* Improve the python3 compatibility.\n* Can use `Link.read()` with a specific timeout.\n\nVersion 0.1\n~~~~~~~~~~~\n\nReleased on 2012-06-05.\n\n* Support for TCP, UDP and Serial (with pyserial).\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SalemHarrache/PyLink", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "PyLink", "package_url": "https://pypi.org/project/PyLink/", "platform": "", "project_url": "https://pypi.org/project/PyLink/", "project_urls": { "Homepage": "https://github.com/SalemHarrache/PyLink" }, "release_url": "https://pypi.org/project/PyLink/0.3.3/", "requires_dist": null, "requires_python": "", "summary": "Universal communication interface using File-Like API", "version": "0.3.3" }, "last_serial": 3373594, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "ba9749d0952ef64009a66ee25df34016", "sha256": "86b1684fe165ff11f3badaa819feeec64dbdb6ad0e72e79160352a347cb2eeab" }, "downloads": -1, "filename": "PyLink-0.1.tar.gz", "has_sig": false, "md5_digest": "ba9749d0952ef64009a66ee25df34016", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6848, "upload_time": "2012-06-05T13:23:16", "url": "https://files.pythonhosted.org/packages/09/a6/851d94f4a452705eb197cdcb79da9bee30d98f545159eefbf0690ff8b468/PyLink-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "ebd69541d5b0539a947ef3752a954f5d", "sha256": "9d516e2ac427d09843b1894678af4da8a9d9e1c837a54dbac7f8c56de2cf67e7" }, "downloads": -1, "filename": "PyLink-0.2.tar.gz", "has_sig": false, "md5_digest": "ebd69541d5b0539a947ef3752a954f5d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7303, "upload_time": "2012-06-14T19:58:34", "url": "https://files.pythonhosted.org/packages/43/22/f8ddc0079d7e4d03b407392ebce447d10fea73d08e4b298e6dacd6196dd9/PyLink-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "8a85c2ee6a9bd21b221c468624e4ef7c", "sha256": "6a1f592ddb217d7f18c236979474c1ba598ecf9590b9937948dd8fc698d7fa96" }, "downloads": -1, "filename": "PyLink-0.3.tar.gz", "has_sig": false, "md5_digest": "8a85c2ee6a9bd21b221c468624e4ef7c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8872, "upload_time": "2012-06-29T15:45:39", "url": "https://files.pythonhosted.org/packages/2a/9b/85ad31f32b216bb7ee0336f03ad098f8e5d4b404d5f5e78d8d6fe41f9838/PyLink-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "0722fb3f0ab4eac79c97cc839b9436b8", "sha256": "a85155ba947c7c8f730e328d45b8dce2ceb2860993ca688a0f825d4927e6a1a2" }, "downloads": -1, "filename": "PyLink-0.3.1.tar.gz", "has_sig": false, "md5_digest": "0722fb3f0ab4eac79c97cc839b9436b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8951, "upload_time": "2013-02-20T16:46:13", "url": "https://files.pythonhosted.org/packages/9f/b6/d19c2a7a9114f55f8f9cb58b0a4a51ad803d797563ac75d6c8e1151d332d/PyLink-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "1970720200411fa77c6c88aa1ee504c1", "sha256": "4c12925f0643939f8d23e24359f1dd758590e97c91c6da3107cfb1e40856202c" }, "downloads": -1, "filename": "PyLink-0.3.2.tar.gz", "has_sig": false, "md5_digest": "1970720200411fa77c6c88aa1ee504c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10368, "upload_time": "2014-02-02T19:53:01", "url": "https://files.pythonhosted.org/packages/9a/7b/ab39444dd6fe1685a9037482a3b4a4c0bcb516ddf58afdc44a881817b039/PyLink-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "21c60cd3003bd3d649cddd2fef97f557", "sha256": "c15fc96875297e97a8ffe83c8400d639f7b8713515a0a8d12899259a40bf536c" }, "downloads": -1, "filename": "PyLink-0.3.3.tar.gz", "has_sig": false, "md5_digest": "21c60cd3003bd3d649cddd2fef97f557", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10875, "upload_time": "2017-11-29T08:54:12", "url": "https://files.pythonhosted.org/packages/0c/42/c4b5562a88fc7cd0b42564ee58eac5fb26ea576e92042d16ef0687831a6b/PyLink-0.3.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21c60cd3003bd3d649cddd2fef97f557", "sha256": "c15fc96875297e97a8ffe83c8400d639f7b8713515a0a8d12899259a40bf536c" }, "downloads": -1, "filename": "PyLink-0.3.3.tar.gz", "has_sig": false, "md5_digest": "21c60cd3003bd3d649cddd2fef97f557", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10875, "upload_time": "2017-11-29T08:54:12", "url": "https://files.pythonhosted.org/packages/0c/42/c4b5562a88fc7cd0b42564ee58eac5fb26ea576e92042d16ef0687831a6b/PyLink-0.3.3.tar.gz" } ] }