Skip to main content

Python API to interact with BeamNG.research.

Project description

Python API for BeamNG.research.

Installation

This API requires a copy of BeamNG.research, which is available for download here:

https://beamng.gmbh/research/

Once obtained, make sure to add the BeamNG.research binaries to your PATH such that BeamNG.research.x64 is callable from command line.

With that done, issue the following to install this library

pip install beamngpy

It’s recommended to do this inside a VirtualEnv.

Usage

After installaton, the package can be imported with:

import beamngpy

The main class that exposes the API is BeamNGPy which can be instantiated with:

bpy = beamngpy.BeamNGPy('localhost', 64256)

Where host and port are your choice, of course. More details on the methods of this class can be found in the API reference.

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

beamngpy-0.3.3.tar.gz (19.0 kB view hashes)

Uploaded Source

Supported by

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