Python API

BeamNG.tech is also compatible with a free open-source Python library maintained over on GitHub: BeamNGpy . This library enables control over the simulator, creation of scenarios, operating vehicles, defining sensor models, and so on. BeamNGpy and BeamNG.tech are more or less developed in tandem, with most BeamNG.tech-specific features being exposed to Python and an increasing amount of the core game’s functionality also being made available in Python, allowing for a wide variety of uses for developers using BeamNG.tech.

The code is available at: https://github.com/BeamNG/BeamNGpy Packaged releases available at: https://pypi.org/project/beamngpy/ Documentation available at: https://beamngpy.readthedocs.io/en/latest/

Last modified: May 20, 2024

Any further questions?

Join our discord
Our documentation is currently incomplete and undergoing active development. If you have any questions or feedback, please visit this forum thread.