{"id":17511717,"url":"https://github.com/frostspb/aio_api_ros","last_synced_at":"2025-04-23T12:54:50.441Z","repository":{"id":34296795,"uuid":"174848012","full_name":"frostspb/aio_api_ros","owner":"frostspb","description":"Async implementation Mikrotik api (apiros)","archived":false,"fork":false,"pushed_at":"2023-03-02T08:03:10.000Z","size":25,"stargazers_count":23,"open_issues_count":3,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-14T07:55:00.742Z","etag":null,"topics":["apiros","asyncio","mikrotik","mikrotik-api","python3","routeros-api"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/frostspb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-10T16:12:54.000Z","updated_at":"2025-02-12T07:42:51.000Z","dependencies_parsed_at":"2025-03-05T15:41:42.313Z","dependency_job_id":null,"html_url":"https://github.com/frostspb/aio_api_ros","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frostspb%2Faio_api_ros","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frostspb%2Faio_api_ros/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frostspb%2Faio_api_ros/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/frostspb%2Faio_api_ros/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/frostspb","download_url":"https://codeload.github.com/frostspb/aio_api_ros/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250439267,"owners_count":21430822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apiros","asyncio","mikrotik","mikrotik-api","python3","routeros-api"],"created_at":"2024-10-20T05:08:57.964Z","updated_at":"2025-04-23T12:54:50.418Z","avatar_url":"https://github.com/frostspb.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aio_api_ros\n\n[![Join the chat at https://gitter.im/aio_api_ros/community](https://badges.gitter.im/aio_api_ros/community.svg)](https://gitter.im/aio_api_ros/community?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![PyPI version](https://badge.fury.io/py/aio-api-ros.svg)](https://badge.fury.io/py/aio-api-ros)\n[![Downloads](https://pepy.tech/badge/aio-api-ros)](https://pepy.tech/project/aio-api-ros)\n[![star this repo](http://githubbadges.com/star.svg?user=frostspb\u0026repo=aio_api_ros\u0026style=flat)](https://github.com/frostspb/aio_api_ros)\n[![fork this repo](http://githubbadges.com/fork.svg?user=frostspb\u0026repo=aio_api_ros\u0026style=flat)](https://github.com/frostspb/aio_api_ros/fork)\n\nasync implementation Mikrotik api\n\n**Installation**\n\n```\npip install aio_api_ros\n```\n\n**Example of usage**\n\n*Single connection*\n```python\nimport asyncio\nfrom aio_api_ros import create_rosapi_connection\n\nasync def main():\n\n    mk = await create_rosapi_connection(\n        mk_ip='127.0.0.1',\n        mk_port=8728,\n        mk_user='myuser',\n        mk_psw='mypassword'\n    )\n\n    mk.talk_word('/ip/hotspot/active/print')\n    res = await mk.read()\n    print(res)\n    mk.close()\n\n\nif __name__ == '__main__':\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(main())\n    loop.close()\n\n```\n*Simple connections pool*\n```python\n\nimport asyncio\nfrom aio_api_ros import create_rosapi_simple_pool\n\nasync def main():\n\n    mk = await create_rosapi_simple_pool(\n        mk_ip='127.0.0.1',\n        mk_port=8728,\n        mk_user='myuser',\n        mk_psw='mypassword',\n        max_size=4\n    )\n\n    await mk.talk_word('/ip/hotspot/active/print')\n    res = await mk.read()\n    print(res)\n    mk.close()\n\n\nif __name__ == '__main__':\n    loop = asyncio.get_event_loop()\n    loop.run_until_complete(main())\n    loop.close()\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrostspb%2Faio_api_ros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrostspb%2Faio_api_ros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrostspb%2Faio_api_ros/lists"}