# GNS3Utils #
GNS3Utils is a Python package that provides a convenient interface to interact with the GNS3 server API. It allows users to manage projects, nodes, links, and computes easily.
## Installation
You can install the package via pip:
```bash
pip3 install GNS3Utils
```
----------
## Usage
Here's a quick example to get you started:
```python
from GNS3Utils import GNS3Utils
gns3 = GNS3Utils('192.168.1.1', 80)
project = gns3.projects.create_project(project_name="Some_Project")
node = gns3.nodes.create_node("test", project['project_id'], "vpcs")
print(gns3.projects.get_project_by_name(name="Some_Project"))
print(gns3.nodes.get_project_nodes(project['project_id']))
gns3.nodes.start_project_nodes(project['project_id'])
gns3.nodes.stop_project_nodes(project['project_id'])
print(gns3.nodes.get_project_node_by_id(project['project_id'], node['node_id']))
```
## **Temporarily supports only "v3" API version**
## License
This project is licensed under the MIT License
Raw data
{
"_id": null,
"home_page": "https://github.com/Belyashik-code/GNS3Utils",
"name": "GNS3Utils",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "gns3 GNS3 GNS3API",
"author": "Beliaev Aleksandr",
"author_email": "belyaevaleksandr@icloud.com",
"download_url": "https://files.pythonhosted.org/packages/51/f9/38d4c0a002bb6fef7a54841cf2af79764363df6deadc59c1fa20f22d5aa8/gns3utils-1.1.0.tar.gz",
"platform": null,
"description": "# GNS3Utils #\n\nGNS3Utils is a Python package that provides a convenient interface to interact with the GNS3 server API. It allows users to manage projects, nodes, links, and computes easily.\n\n## Installation\n\nYou can install the package via pip:\n\n```bash\npip3 install GNS3Utils\n```\n\n----------\n## Usage\nHere's a quick example to get you started:\n\n```python\nfrom GNS3Utils import GNS3Utils\n\ngns3 = GNS3Utils('192.168.1.1', 80)\n\n\n\nproject = gns3.projects.create_project(project_name=\"Some_Project\")\nnode = gns3.nodes.create_node(\"test\", project['project_id'], \"vpcs\")\nprint(gns3.projects.get_project_by_name(name=\"Some_Project\"))\nprint(gns3.nodes.get_project_nodes(project['project_id']))\ngns3.nodes.start_project_nodes(project['project_id'])\ngns3.nodes.stop_project_nodes(project['project_id'])\nprint(gns3.nodes.get_project_node_by_id(project['project_id'], node['node_id']))\n```\n\n## **Temporarily supports only \"v3\" API version** \n\n## License\nThis project is licensed under the MIT License\n",
"bugtrack_url": null,
"license": null,
"summary": "This project can help you with GNS3 automation",
"version": "1.1.0",
"project_urls": {
"Documentation": "https://github.com/Belyashik-code/GNS3Utils",
"Homepage": "https://github.com/Belyashik-code/GNS3Utils"
},
"split_keywords": [
"gns3",
"gns3",
"gns3api"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d044397c4b8d37a3bb218c939f2401ba6cd73aa86ac25ff0789f533d4611eca1",
"md5": "ea60b41e8802374914c56098f1bc198c",
"sha256": "e8026a5838d2784717c0a58a36a1f76bc612baf9cf37e3e1b30dc4564c2b9b86"
},
"downloads": -1,
"filename": "GNS3Utils-1.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "ea60b41e8802374914c56098f1bc198c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 4948,
"upload_time": "2024-10-02T00:54:29",
"upload_time_iso_8601": "2024-10-02T00:54:29.032190Z",
"url": "https://files.pythonhosted.org/packages/d0/44/397c4b8d37a3bb218c939f2401ba6cd73aa86ac25ff0789f533d4611eca1/GNS3Utils-1.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "51f938d4c0a002bb6fef7a54841cf2af79764363df6deadc59c1fa20f22d5aa8",
"md5": "d025c896d3e6639fde93e3b83a758471",
"sha256": "daa2a7a333d2ac839194350435abf7574bb63dc756edaff6b0e39ad4c657cedf"
},
"downloads": -1,
"filename": "gns3utils-1.1.0.tar.gz",
"has_sig": false,
"md5_digest": "d025c896d3e6639fde93e3b83a758471",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 4831,
"upload_time": "2024-10-02T00:54:30",
"upload_time_iso_8601": "2024-10-02T00:54:30.331461Z",
"url": "https://files.pythonhosted.org/packages/51/f9/38d4c0a002bb6fef7a54841cf2af79764363df6deadc59c1fa20f22d5aa8/gns3utils-1.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-02 00:54:30",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Belyashik-code",
"github_project": "GNS3Utils",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "gns3utils"
}