openocd


Nameopenocd JSON
Version 0.3.0 PyPI version JSON
download
home_pagehttps://gitlab.zapb.de/openocd/python-openocd
SummaryPython interface library for OpenOCD
upload_time2024-10-08 18:43:35
maintainerNone
docs_urlNone
authorMarc Schink
requires_python>=3.10
licenseGPLv3+
keywords openocd microcontroller debug embedded
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # openocd

Python interface library for [OpenOCD](https://openocd.org/).


## Dependencies

* Python >= 3.10
* typing_extensions >= 4.0.0


## Installation

Prerequisites:

* Python 3.10 or higher

  * https://www.python.org/

* setuptools

  * https://pypi.org/project/setuptools/

To install this package, run:

```bash
python setup.py install
```


## Example

```python
from openocd import OpenOcd

with OpenOcd() as oocd:
    oocd.halt()
    registers = oocd.read_registers(['pc', 'sp'])

    print('Program counter: 0x%x' % registers['pc'])
    print('Stack pointer: 0x%x' % registers['sp'])

    oocd.resume()
```

## Support

If you appreciate the project, feel free to donate on Liberapay:

[![Liberapay donation link](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/zapb/donate)

## License

This project is licensed under the [GPLv3+](https://www.gnu.org/licenses/gpl-3.0.en.html) - see the [LICENSE](LICENSE) file for details.



            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.zapb.de/openocd/python-openocd",
    "name": "openocd",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "OpenOCD microcontroller debug embedded",
    "author": "Marc Schink",
    "author_email": "dev@zapb.de",
    "download_url": "https://files.pythonhosted.org/packages/c0/6c/88623469c3a62a7f104c42b9acd99c895ac39c154c6f9177b290b71eba39/openocd-0.3.0.tar.gz",
    "platform": null,
    "description": "# openocd\n\nPython interface library for [OpenOCD](https://openocd.org/).\n\n\n## Dependencies\n\n* Python >= 3.10\n* typing_extensions >= 4.0.0\n\n\n## Installation\n\nPrerequisites:\n\n* Python 3.10 or higher\n\n  * https://www.python.org/\n\n* setuptools\n\n  * https://pypi.org/project/setuptools/\n\nTo install this package, run:\n\n```bash\npython setup.py install\n```\n\n\n## Example\n\n```python\nfrom openocd import OpenOcd\n\nwith OpenOcd() as oocd:\n    oocd.halt()\n    registers = oocd.read_registers(['pc', 'sp'])\n\n    print('Program counter: 0x%x' % registers['pc'])\n    print('Stack pointer: 0x%x' % registers['sp'])\n\n    oocd.resume()\n```\n\n## Support\n\nIf you appreciate the project, feel free to donate on Liberapay:\n\n[![Liberapay donation link](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/zapb/donate)\n\n## License\n\nThis project is licensed under the [GPLv3+](https://www.gnu.org/licenses/gpl-3.0.en.html) - see the [LICENSE](LICENSE) file for details.\n\n\n",
    "bugtrack_url": null,
    "license": "GPLv3+",
    "summary": "Python interface library for OpenOCD",
    "version": "0.3.0",
    "project_urls": {
        "Homepage": "https://gitlab.zapb.de/openocd/python-openocd",
        "Source": "https://gitlab.zapb.de/openocd/python-openocd"
    },
    "split_keywords": [
        "openocd",
        "microcontroller",
        "debug",
        "embedded"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d1790e533be78bea73951734b376af99f7d84414416e9923922bfab20db63a68",
                "md5": "0be954011f6f0f66c0570f3f0371d9ac",
                "sha256": "4d56b7cc577ac0777edbf393d455cd358f50dfe22780b46cdc70bf3accc76503"
            },
            "downloads": -1,
            "filename": "openocd-0.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0be954011f6f0f66c0570f3f0371d9ac",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 18779,
            "upload_time": "2024-10-08T18:43:33",
            "upload_time_iso_8601": "2024-10-08T18:43:33.838850Z",
            "url": "https://files.pythonhosted.org/packages/d1/79/0e533be78bea73951734b376af99f7d84414416e9923922bfab20db63a68/openocd-0.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c06c88623469c3a62a7f104c42b9acd99c895ac39c154c6f9177b290b71eba39",
                "md5": "a97f8d9cfd504e3493bfc7763ccab0fa",
                "sha256": "dc9f88ea54728b86b7cc2e1026d4528c40bcb4bdd7855c9960f65d3169361c36"
            },
            "downloads": -1,
            "filename": "openocd-0.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a97f8d9cfd504e3493bfc7763ccab0fa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 17896,
            "upload_time": "2024-10-08T18:43:35",
            "upload_time_iso_8601": "2024-10-08T18:43:35.371637Z",
            "url": "https://files.pythonhosted.org/packages/c0/6c/88623469c3a62a7f104c42b9acd99c895ac39c154c6f9177b290b71eba39/openocd-0.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-08 18:43:35",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "openocd"
}
        
Elapsed time: 0.32017s