A import export script which translates models defined in Brian2 (http://briansimulator.org/) to and from the simulator independent language LEMS (http://lems.github.io/LEMS)
The code can be found here - https://github.com/LEMS/pylems
pip install pylems