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-1.0.tar.gz (27.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: beamngpy-1.0.tar.gz
  • Upload date:
  • Size: 27.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for beamngpy-1.0.tar.gz
Algorithm Hash digest
SHA256 5a8903579dc49867b9f933abd8d1867b8fd7c2e0cdb4ffebb51b4d8e6ae739c5
MD5 48386ace4bf48d0200fa9a7d2e977785
BLAKE2b-256 16d3b4d5c311e59b2489f028f8f3e2a5b2c1ecc10b3d2ef1481f1793195fcae4

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