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 = beamnpy.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.1.1.tar.gz (17.2 kB view details)

Uploaded Source

File details

Details for the file beamngpy-0.1.1.tar.gz.

File metadata

  • Download URL: beamngpy-0.1.1.tar.gz
  • Upload date:
  • Size: 17.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for beamngpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8f486dcaa927e3e75429b98c3029a1feee16989747802c05c13d1f0417b71bae
MD5 fe121ae80b9ed3b7bc99a4668c6cb1a1
BLAKE2b-256 d998df95a6e42aa39a4f1fc634adfdd55dd8817b63c1b7d39a375bb330b174ce

See more details on using hashes here.

Supported by

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