{ "info": { "author": "Square Embedded Software Team", "author_email": "esw-team@squareup.com", "bugtrack_url": null, "classifiers": [], "description": "pylink\n======\n\n|Build Status|\n\nPython interface for the SEGGER J-Link.\n\nRequirements\n------------\n\n- `Python >= 2.7 `__\n- `GNU ARM Embedded\n Toolchain `__ (for functional\n tests)\n- `SEGGER J-Link Tools >=\n 6.0b `__\n\nInstallation\n------------\n\nClone the project into a local repository, then navigate to the\ndirectory and run:\n\n::\n\n $ python setup.py install\n\nExternal Dependencies\n~~~~~~~~~~~~~~~~~~~~~\n\nIn order to use this library, you will need to have installed the SEGGER\ntools. The tools can be installed from the SEGGER website\n`here `__. This package is\ncompatible with versions of the SEGGER tool ``>= 6.0b``. Download the\nsoftware under ``J-Link Software and Documentation Pack`` for your\nspecific hardware. ``PyLink`` will automatically find the library if you\nhave installed it this way, but for best results, you should use one of\nthe two methods listed below depending on your operating system:\n\nOn Mac\n^^^^^^\n\n.. code:: bash\n\n # Option A: Copy the library to your libraries directory.\n $ cp libjlinkarm.dylib /usr/local/lib/\n\n # Option B: Add SEGGER's J-Link directory to your dynamic libraries path.\n $ export DYLD_LIBRARY_PATH=/Applications/SEGGER/JLink:$DYLD_LIBRARY_PATH\n\nOn Windows\n^^^^^^^^^^\n\nWindows searches for DLLs in the following order:\n\n1. The current directory of execution.\n2. The Windows system directory.\n3. The Windows directory.\n\nYou can copy the ``JLinkARM.dll`` to any of the directories listed\nabove. Alternatively, add the SEGGER J-Link directory to your\n``%PATH%``.\n\nOn Linux\n^^^^^^^^\n\n.. code:: bash\n\n # Option A: Copy the library to your libraries directory.\n $ cp libjlinkarm.so /usr/local/lib/\n\n # Option B: Add SEGGER's J-Link library path to your libraries path.\n $ export LD_LIBRARY_PATH=/path/to/SEGGER/JLink:$LD_LIBRARY_PATH\n\nUsage\n-----\n\n.. code:: python\n\n import pylink\n\n if __name__ == '__main__':\n serial_no = '123456789'\n jlink = pylink.JLink()\n\n # Open a connection to your J-Link.\n jlink.open(serial_no)\n\n # Connect to the target device.\n jlink.connect('device', verbose=True)\n\n # Do whatever you want from here on in.\n jlink.flash(firmware, 0x0)\n jlink.reset()\n\nTroubleshooting\n---------------\n\nShould you run into any issues, refer to the documentation, as well as\ncheck out our `troubleshooting <./TROUBLESHOOTING.md>`__ document.\n\nDocumentation\n-------------\n\nDocumentation follows the `Google Python Style\nGuide `__, and uses\n```Sphinx`` `__ documentation\ngenerator with the\n```Napoleon`` `__\nextension to provide Google style Python support. To generate the\ndocumentation, these packages will need to be installed (they are\nincluded in the provided ``requirements.txt`` file). With these packages\ninstalled, you can generate the documentation as follows:\n\n::\n\n $ cd docs\n $ make html\n\nDeveloping for PyLink\n---------------------\n\nFirst install the development requirements by running:\n\n::\n\n $ pip install -r requirements.txt\n\nAfter you've installed the requirements, decide on the development work\nyou want to do. See the documentation about\n`contributing <./CONTRIBUTING.md>`__ before you begin your development\nwork.\n\nTesting\n-------\n\nTo run tests, execute the following:\n\n::\n\n # Unit tests\n $ python setup.py test\n\n # Functional tests\n $ python setup.py bddtest\n\nThere are two types of tests: ``functional`` and ``unit``. Information\nabout both can be found under ```tests/README.md`` `__.\n\nCoverage\n~~~~~~~~\n\nCode coverage can be generated as follows:\n\n::\n\n $ python setup.py coverage\n $ open htmlcov/index.html\n\nContributing\n------------\n\nPlease see the documentation on `contributing <./CONTRIBUTING.md>`__.\n\nLicense\n-------\n\n::\n\n Copyright 2017 Square, Inc.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n\nSee terms and conditions `here <./LICENSE.md>`__.\n\n.. |Build Status| image:: https://travis-ci.org/square/pylink.svg?branch=master\n :target: https://travis-ci.org/square/pylink\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.github.com/Square/pylink", "keywords": "SEGGER J-Link", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "pylink-square", "package_url": "https://pypi.org/project/pylink-square/", "platform": "", "project_url": "https://pypi.org/project/pylink-square/", "project_urls": { "Homepage": "http://www.github.com/Square/pylink" }, "release_url": "https://pypi.org/project/pylink-square/0.3.0/", "requires_dist": [ "psutil (>=5.2.2)", "future", "six" ], "requires_python": "", "summary": "Python interface for SEGGER J-Link.", "version": "0.3.0" }, "last_serial": 5876612, "releases": { "0.0.10": [ { "comment_text": "", "digests": { "md5": "89c311ae203e8b796be6e514f8b3ca0e", "sha256": "5d5bb9189dc8afd70cf9c51683c16c83b576b9a5e9c893f1829bb50f8750ef83" }, "downloads": -1, "filename": "pylink_square-0.0.10-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "89c311ae203e8b796be6e514f8b3ca0e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 72076, "upload_time": "2018-01-23T18:56:46", "url": "https://files.pythonhosted.org/packages/12/5a/a8f27dc5214ba6fea2f827d1f3edd261a819b050efba73a56ce19ad6f4f8/pylink_square-0.0.10-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0202436496404ea0eb3144ee7b4804f5", "sha256": "4889a747659ae4ad3c8b93c8aa36ff17519f0e5a5be7c467fbcb546c8837958d" }, "downloads": -1, "filename": "pylink-square-0.0.10.tar.gz", "has_sig": false, "md5_digest": "0202436496404ea0eb3144ee7b4804f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 67550, "upload_time": "2018-01-23T18:56:48", "url": "https://files.pythonhosted.org/packages/b4/17/6f93991796e3653b01775ae41cdc4cc4d2a4cc428b9f2bf792db6df56ce0/pylink-square-0.0.10.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "e336223b69fd29bc75b85bc2caceacef", "sha256": "5d7a68b24bec2a4efe820add2da38d2ef986a335182e39eaa9b4a9b35428cb56" }, "downloads": -1, "filename": "pylink-square-0.0.6.zip", "has_sig": false, "md5_digest": "e336223b69fd29bc75b85bc2caceacef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 81787, "upload_time": "2017-09-27T00:23:32", "url": "https://files.pythonhosted.org/packages/1f/6a/ede6773be03da7c353bdfe00fbac21dd60d593d85345ae5f532f47b4465c/pylink-square-0.0.6.zip" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "94c57cef69e52a288c3b37c8e00d2bf0", "sha256": "e10f0ef371a0574500f682ba4c574b07460f2e6100f7e8ec75f522f0d4c32872" }, "downloads": -1, "filename": "pylink-square-0.0.7.tar.gz", "has_sig": false, "md5_digest": "94c57cef69e52a288c3b37c8e00d2bf0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 67101, "upload_time": "2017-10-13T20:36:50", "url": "https://files.pythonhosted.org/packages/aa/89/d5f21501298c03ef8d86ecd5154df844fad7b90cfd6e24259f8d7308df24/pylink-square-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "1a44d7f7d31db1938b6cf573d8ba2f33", "sha256": "bf466b41aaef88f4791c9efcc3186f6e5bb331543045810f5a5fca0aeb330942" }, "downloads": -1, "filename": "pylink_square-0.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1a44d7f7d31db1938b6cf573d8ba2f33", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 72086, "upload_time": "2018-01-05T22:27:52", "url": "https://files.pythonhosted.org/packages/2a/81/dc320b1cf008ec379a7f49db191b15c2f3a2399b475b4a1ab29a4d785bea/pylink_square-0.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "82d6d6b8ac635a6e5df88c997ff44ad5", "sha256": "f558a4a88909844575dad8685fcd36420031681cc1decc20b8c515866ec533f9" }, "downloads": -1, "filename": "pylink-square-0.0.8.tar.gz", "has_sig": false, "md5_digest": "82d6d6b8ac635a6e5df88c997ff44ad5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 67459, "upload_time": "2018-01-05T22:27:53", "url": "https://files.pythonhosted.org/packages/2a/8d/e1d7a23fdf0d6aa56a36934f03654daafd97c193f11fe8a1e889536c6606/pylink-square-0.0.8.tar.gz" } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "2ac3d0dbc74c5b5c016b323ce14f5801", "sha256": "e1c4ecd759b185d01ccfc51dcf3b6d5d69e6236338955df690a73d4d86d3bc6d" }, "downloads": -1, "filename": "pylink_square-0.0.9-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "2ac3d0dbc74c5b5c016b323ce14f5801", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 72045, "upload_time": "2018-01-16T01:19:50", "url": "https://files.pythonhosted.org/packages/31/7f/d2a78354d912aa4b6a8923470de857cbf04e98c75c89d7f6268ab8dbefe2/pylink_square-0.0.9-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc6de9a90e0dea8aee5125ef56c8fe27", "sha256": "44489f8871ccc6be822ecdc4acaef89d69814aa8b4e0bac74a9e5d0a3a603adb" }, "downloads": -1, "filename": "pylink-square-0.0.9.tar.gz", "has_sig": false, "md5_digest": "fc6de9a90e0dea8aee5125ef56c8fe27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 67452, "upload_time": "2018-01-16T01:20:37", "url": "https://files.pythonhosted.org/packages/36/24/14ec20830d68c56540671a77b8298ba60e2cb7def6cb6407f28648a4c35d/pylink-square-0.0.9.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "fdd3c130e3ec9b035d92ff162e5490ce", "sha256": "096dd4dcbe8625b738959f599581dcaa757a017339f6d5ca37359b0336227af2" }, "downloads": -1, "filename": "pylink_square-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fdd3c130e3ec9b035d92ff162e5490ce", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 72094, "upload_time": "2018-03-13T18:13:31", "url": "https://files.pythonhosted.org/packages/af/56/d03b9e13843b1695a9d8d48cc4f05ba3a97c452426bf6a2d2e4319e08a44/pylink_square-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1c0455afd0b053142b18b090a14a1b04", "sha256": "0055039be12df8745033834f7b253eea7dc0eb40a51fbc6e1e90ddb720ef968e" }, "downloads": -1, "filename": "pylink-square-0.1.0.tar.gz", "has_sig": false, "md5_digest": "1c0455afd0b053142b18b090a14a1b04", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 67868, "upload_time": "2018-03-13T18:13:32", "url": "https://files.pythonhosted.org/packages/00/07/34d4d570e894856df3dc24a7abedd861249dd76a8e346c3a10a19d7a5b77/pylink-square-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "4fbb38e9e09297852f42ad5726dbc87b", "sha256": "0fc31c21f3d118e8128bb92bfb9ccf54676b17a58f5e05dce1fc0b8149cced9c" }, "downloads": -1, "filename": "pylink_square-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4fbb38e9e09297852f42ad5726dbc87b", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 69344, "upload_time": "2018-07-20T22:12:38", "url": "https://files.pythonhosted.org/packages/ed/91/8e1ce56263f23cad5a4683ac43eedd2c19b1a468f8ec569a31eb1d21211a/pylink_square-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "66581d8f7bbfd3f1b22c61a9e9b66e64", "sha256": "a89b400d08414f6ffb5a2d8b8c8ddc2181e7d3f21e379747b482a9dd2c919c61" }, "downloads": -1, "filename": "pylink-square-0.1.1.tar.gz", "has_sig": false, "md5_digest": "66581d8f7bbfd3f1b22c61a9e9b66e64", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68270, "upload_time": "2018-07-20T22:12:39", "url": "https://files.pythonhosted.org/packages/6a/33/9516c30a3bdcf551418e828ce6e467b98bba81c5ada072cb8d3a8287004d/pylink-square-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "cb36aa82f734c08fab94a6a64e900b67", "sha256": "f6635b877c94e213e69f7baa5bff5e298fa8c51f59a248dc0f6f45760d0245de" }, "downloads": -1, "filename": "pylink_square-0.1.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cb36aa82f734c08fab94a6a64e900b67", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 69304, "upload_time": "2018-09-07T21:08:48", "url": "https://files.pythonhosted.org/packages/cd/80/87b83c93849d9bb1ee535ce75c63c3c0a8f6efd7d3a7e90d82ceeece1eda/pylink_square-0.1.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6c44517e5b0dea5c87aeceede2c87c6f", "sha256": "49983c74e9a2ab80a068eb79fd792bbbb0fcc879c359d532d1ff73250baee0b1" }, "downloads": -1, "filename": "pylink-square-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6c44517e5b0dea5c87aeceede2c87c6f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68286, "upload_time": "2018-09-07T21:08:51", "url": "https://files.pythonhosted.org/packages/b8/83/241deee4fb500ac784839f7801db2c4fa7fbe765da84b31a7cc3a3957999/pylink-square-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a8366cab716a96bdfc0e77549f21e621", "sha256": "6eda6f835dabe56a80c5c474a4c2a3a078e66829ae283923f4b48f9a51072cdf" }, "downloads": -1, "filename": "pylink_square-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a8366cab716a96bdfc0e77549f21e621", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 73287, "upload_time": "2018-12-19T01:31:40", "url": "https://files.pythonhosted.org/packages/98/b8/9a5a22ab9c55a9eb86c66193d914a4fca6acfade2f0022615ee6928c36f7/pylink_square-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7c2c9b0ba289eb5f387910864ac21903", "sha256": "48b3a9464bd47916e468411f77d69070b1e7d07769d9ba047f9c78720998d78b" }, "downloads": -1, "filename": "pylink-square-0.1.3.tar.gz", "has_sig": false, "md5_digest": "7c2c9b0ba289eb5f387910864ac21903", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68215, "upload_time": "2018-12-19T01:31:42", "url": "https://files.pythonhosted.org/packages/1c/08/133720be70d5d7043fa0324ddc5efc47d3f7e088c557ac8444c493c258b4/pylink-square-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "324bc9d74a9671cba7822e04377334e4", "sha256": "d3e93c09fbede40dd9f042561c9cc869bc1251b2ca9a091a1431918597a2543b" }, "downloads": -1, "filename": "pylink_square-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "324bc9d74a9671cba7822e04377334e4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 74124, "upload_time": "2019-06-06T20:06:03", "url": "https://files.pythonhosted.org/packages/1e/7d/821035402285a406900f61f4ad1cc7f0af2424f81cd29330a85fb1a2bf7a/pylink_square-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "92d4ed1b81e178fccab19d007cf49f75", "sha256": "d4de01bab34b72ca15c0553b24ca426cf899cf816080e338ded669dd1361e20f" }, "downloads": -1, "filename": "pylink-square-0.2.0.tar.gz", "has_sig": false, "md5_digest": "92d4ed1b81e178fccab19d007cf49f75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 69125, "upload_time": "2019-06-06T20:06:04", "url": "https://files.pythonhosted.org/packages/1b/b0/a68e28569773119fcbfb9d3965c074d184cd60489a8b0bc4cc88891c8677/pylink-square-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f0b2538faf6fdd6fa34d4b9a420c9da4", "sha256": "163417d5bd685f452b43e46d050e5e645c675fb038b9d61e08cded344eaf26f2" }, "downloads": -1, "filename": "pylink_square-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f0b2538faf6fdd6fa34d4b9a420c9da4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 74478, "upload_time": "2019-09-23T23:39:54", "url": "https://files.pythonhosted.org/packages/82/96/7ce3c1e338a3646487f30ae072a933fb43f9421ad07b680ff12c8c097320/pylink_square-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1651c9500e44c5491ed22ec00c1557df", "sha256": "ee3208e9a78e7fb81d8bc0b9e81d03ead3cce96a1a6b46caa3b82aad7d2747a8" }, "downloads": -1, "filename": "pylink-square-0.3.0.tar.gz", "has_sig": false, "md5_digest": "1651c9500e44c5491ed22ec00c1557df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68365, "upload_time": "2019-09-23T23:39:56", "url": "https://files.pythonhosted.org/packages/e5/5f/43118311eb437c501c3ca60f7fc6f6d46676917d1fcff97a9aaf71016e63/pylink-square-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f0b2538faf6fdd6fa34d4b9a420c9da4", "sha256": "163417d5bd685f452b43e46d050e5e645c675fb038b9d61e08cded344eaf26f2" }, "downloads": -1, "filename": "pylink_square-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "f0b2538faf6fdd6fa34d4b9a420c9da4", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 74478, "upload_time": "2019-09-23T23:39:54", "url": "https://files.pythonhosted.org/packages/82/96/7ce3c1e338a3646487f30ae072a933fb43f9421ad07b680ff12c8c097320/pylink_square-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1651c9500e44c5491ed22ec00c1557df", "sha256": "ee3208e9a78e7fb81d8bc0b9e81d03ead3cce96a1a6b46caa3b82aad7d2747a8" }, "downloads": -1, "filename": "pylink-square-0.3.0.tar.gz", "has_sig": false, "md5_digest": "1651c9500e44c5491ed22ec00c1557df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 68365, "upload_time": "2019-09-23T23:39:56", "url": "https://files.pythonhosted.org/packages/e5/5f/43118311eb437c501c3ca60f7fc6f6d46676917d1fcff97a9aaf71016e63/pylink-square-0.3.0.tar.gz" } ] }