Skip to main content

RouterOS v7 REST API python module

Project description

RosRestPy

PyPi Package Version Supported Python versions LICENSE

RouterOS v7 REST API python module

RouterOS v7 REST API Support

Not all types and methods of the RouterOS v7 REST API are supported, yet.

Installing

You can install or upgrade rosrestpy with:

pip install rosrestpy --upgrade

Example

from ros import Ros

ros = Ros("https://192.168.88.1/", "admin", "")
if ros.system.resource.cpu_load > 90:
    print(f"{ros.system.identity}'s CPU > 90%")

for interface in ros.interface.print():
    print(interface.name)

Resources

The RouterOS REST API is the technical reference for rosrestpy.

Contributing

Contributions of all sizes are welcome. Please review our contribution guidelines to get started. You can also help by reporting bugs or feature requests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rosrestpy-0.1.5.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rosrestpy-0.1.5-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file rosrestpy-0.1.5.tar.gz.

File metadata

  • Download URL: rosrestpy-0.1.5.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.13 Linux/5.13.0-1031-azure

File hashes

Hashes for rosrestpy-0.1.5.tar.gz
Algorithm Hash digest
SHA256 10e81b29ad69cc16704ba266574c53171d7acef7d081d9d372c5cd308968b9fe
MD5 7c61eae58374fcf14a02f76e1f38dd0f
BLAKE2b-256 186df341f54506e150c9dfc0e7603038b35bb5a82c6c7e5e209db15e65c4ba8a

See more details on using hashes here.

File details

Details for the file rosrestpy-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: rosrestpy-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.8.13 Linux/5.13.0-1031-azure

File hashes

Hashes for rosrestpy-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0c3adc96330fd6b8eaff9ccc8c47a4eadeaadf18ce00b6ebd59b04da832ddd26
MD5 0ac30430cbf90c2d7e674ed6af757d8d
BLAKE2b-256 73b6704158744e69f851f5036d7799655691662934562895330eb0241f04cf5a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page