| BRANCH | STATUS |
|---|---|
| master | [](https://github.com/btr1975/pyats-genie-command-parse/actions/workflows/test-coverage-lint.yml) |
| develop | [](https://github.com/btr1975/pyats-genie-command-parse/actions/workflows/test-coverage-lint.yml) |
[](https://pepy.tech/project/pyats-genie-command-parse)
[](https://pypi.org/project/pyats-genie-command-parse)
# pyats-genie-command-parse
This is a library to be able to parse NOS command output using the available
[Genie parsers](https://developer.cisco.com/docs/genie-docs/), it seperates out
needing to create a testbed.yml, and allows you to just get the output, and parse the
output with [Genie parsers](https://developer.cisco.com/docs/genie-docs/). You can find the
[Genie Parse Source here](https://github.com/CiscoTestAutomation/genieparser/tree/master/src/genie/libs/parser)
# Line 55 in pyats_genie_command_parse.py
```python
supported_nos = {'aireos',
'apic',
'asa',
'bigip',
'cheetah',
'comware',
'dnac',
'gaia',
'ios',
'iosxe',
'iosxr',
'ironware',
'junos',
'linux',
'nxos',
'sros',
'viptela'}
```
# Some options to get the data
1. You could use [netmiko](https://ktbyers.github.io/netmiko/) to get the command output
from devices and then parse using the string parser.
2. You could use [Cisco Network Services Orchestrator "NSO"](https://developer.cisco.com/docs/nso/)
to get the command output from devices and then parse using the string parser.
3. Use your imagination, as long as you can get the output data in a string format the string parser
will work.
4. If you prefer you could store the data in a text file, and then using the file parser, you can also
parse the output data.
Raw data
{
"_id": null,
"home_page": null,
"name": "pyats-genie-command-parse",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "\"Benjamin P. Trachtenberg\" <e_ben_75-python@yahoo.com>",
"keywords": "pyATS, genie, cisco, ios, ios-xr, nxos, parse, wrapper",
"author": null,
"author_email": "\"Benjamin P. Trachtenberg\" <e_ben_75-python@yahoo.com>, Brett Gianpetro <e_ben_75-python@yahoo.com>",
"download_url": "https://files.pythonhosted.org/packages/2a/01/865d07e7502e065b3ad261b80b2499275bfecd01089388f557a423b6cebd/pyats_genie_command_parse-1.4.4.tar.gz",
"platform": null,
"description": "| BRANCH | STATUS |\n|---|---|\n| master | [](https://github.com/btr1975/pyats-genie-command-parse/actions/workflows/test-coverage-lint.yml) |\n| develop | [](https://github.com/btr1975/pyats-genie-command-parse/actions/workflows/test-coverage-lint.yml) |\n\n[](https://pepy.tech/project/pyats-genie-command-parse)\n[](https://pypi.org/project/pyats-genie-command-parse)\n\n\n# pyats-genie-command-parse\nThis is a library to be able to parse NOS command output using the available\n[Genie parsers](https://developer.cisco.com/docs/genie-docs/), it seperates out \nneeding to create a testbed.yml, and allows you to just get the output, and parse the \noutput with [Genie parsers](https://developer.cisco.com/docs/genie-docs/). You can find the \n[Genie Parse Source here](https://github.com/CiscoTestAutomation/genieparser/tree/master/src/genie/libs/parser)\n\n# Line 55 in pyats_genie_command_parse.py\n```python\n supported_nos = {'aireos',\n 'apic',\n 'asa',\n 'bigip',\n 'cheetah',\n 'comware',\n 'dnac',\n 'gaia',\n 'ios',\n 'iosxe',\n 'iosxr',\n 'ironware',\n 'junos',\n 'linux',\n 'nxos',\n 'sros',\n 'viptela'}\n```\n\n# Some options to get the data\n1. You could use [netmiko](https://ktbyers.github.io/netmiko/) to get the command output\n from devices and then parse using the string parser.\n\n2. You could use [Cisco Network Services Orchestrator \"NSO\"](https://developer.cisco.com/docs/nso/)\n to get the command output from devices and then parse using the string parser.\n\n3. Use your imagination, as long as you can get the output data in a string format the string parser\n will work.\n\n4. If you prefer you could store the data in a text file, and then using the file parser, you can also\n parse the output data.\n",
"bugtrack_url": null,
"license": null,
"summary": "Run genie parsers directly.",
"version": "1.4.4",
"project_urls": {
"Documentation": "https://pyats-genie-command-parse.readthedocs.io/en/latest/",
"Source": "https://github.com/btr1975/pyats-genie-command-parse",
"Tracker": "https://github.com/btr1975/pyats-genie-command-parse/issues"
},
"split_keywords": [
"pyats",
" genie",
" cisco",
" ios",
" ios-xr",
" nxos",
" parse",
" wrapper"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "bc15635b82b98564afe68dba69da56c00357b32233069e885a0ef2b0faf8f72b",
"md5": "a5c9e1baa07284558144650c8327155c",
"sha256": "231f3d7b894504dd37f01d21512b456085deae3bee526890bf6e00f8731311c8"
},
"downloads": -1,
"filename": "pyats_genie_command_parse-1.4.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a5c9e1baa07284558144650c8327155c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 5683,
"upload_time": "2025-09-07T21:30:26",
"upload_time_iso_8601": "2025-09-07T21:30:26.502433Z",
"url": "https://files.pythonhosted.org/packages/bc/15/635b82b98564afe68dba69da56c00357b32233069e885a0ef2b0faf8f72b/pyats_genie_command_parse-1.4.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "2a01865d07e7502e065b3ad261b80b2499275bfecd01089388f557a423b6cebd",
"md5": "dba52a2de83ebdfb1f3d500843955706",
"sha256": "ba8bae765d255a3fabae2fbc82b2af275d97037a3ce7bc7411dcf0f959824829"
},
"downloads": -1,
"filename": "pyats_genie_command_parse-1.4.4.tar.gz",
"has_sig": false,
"md5_digest": "dba52a2de83ebdfb1f3d500843955706",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 5986,
"upload_time": "2025-09-07T21:30:27",
"upload_time_iso_8601": "2025-09-07T21:30:27.613116Z",
"url": "https://files.pythonhosted.org/packages/2a/01/865d07e7502e065b3ad261b80b2499275bfecd01089388f557a423b6cebd/pyats_genie_command_parse-1.4.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-07 21:30:27",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "btr1975",
"github_project": "pyats-genie-command-parse",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "pyats-genie-command-parse"
}