python3 API implementation

Hi

I am finishing my Python3 API implementation. Project is hosted on github. This is in a developement branch. Feature requests and feedback is welcome.

Planned features:

  • querry wrapper
  • tag support
  • asynchronous command runs (possibly via callbacks)

I aim to use this library to write MCM (mikrotik configuration manager). It will enable anyone to configure vast ammount of mikrotik devices remotelly in short period of time.

Hi

I am working on api query wrapper. It is placed in separate branch on github. I would verry much appreciate any feedback you give.

Current proof of concept is:
Iterator implementation

for row in api.query('/interface').where( row.type == 'bridge' ):
    do stuff

Executing querry and assigning result to variable.

result = api.query('/interface').where( row.type == 'bridge' ).run()

Working on:
or and logical operators
proplist wrapping
wrapping of existance of key. ?key ?-key