CoMSES Net Discourse Forums

Controlling NetLogo via Python with NL4Py

Hello everyone,

I thought I’d share a Python controller for NetLogo that I just released on the Python Package Index last month, NL4Py.

You can get started with a simple: pip install nl4py

Also, there are some examples of using DEAP for calibration on multiple processors and SALib for sensitivity analysis via NL4Py here:

It uses a different architecture from PyNetLogo, pushing the parallelization of headless workspaces to the JVM instead of leaving it to the Python application developer. Please feel free to post any issues on the GitHub repository any arise!