Skip to main content

phyelds-vmas

VMAS integration for phyelds.

Installation

pip install phyelds-vmas

phyelds-vmas installs compatible phyelds and phyelds-simulator releases, and VMAS.

Usage

from phyelds.simulator import Simulator
from phyelds.simulator.runner import schedule_program_for_all
from phyelds.calculus import aggregate
from phyelds.vmas import VmasEnvironment, action, vmas_runner

@aggregate
def move_right():
    action.send([1, 0])

The extension requires phyelds >=8.0.0,<9.0.0.

Programs share the typed sensors observations, rewards, dones, infos and agent, and the actuator action, with the host. Existing string names such as sense("observations") and store("action", [1, 0]) remain supported. An action has the meaning assigned by the VMAS scenario (for example a force or a discrete choice).

Readings and positions select environment 0; agent exposes the VMAS agent with its full batched state. observations is a tensor, rewards a scalar tensor (initially zero), dones a Python bool (initially false), and infos a dictionary of tensors sliced to environment 0 (initially empty). The runner repeats actions across all VMAS environments.

Each program must send an action every round. If it has not run yet or sent no action, vmas_runner raises a ValueError naming the node before stepping VMAS.

Release

phyelds-vmas follows the same version as phyelds. The root semantic-release workflow calculates the release version, writes it to both package manifests, and publishes both distributions together.

Metadata

Release files for phyelds-vmas 8.13.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for phyelds-vmas 8.13.1
File Size Uploaded Provenance Actions
phyelds_vmas-8.13.1.tar.gz 3.5 kB Without provenance Details for phyelds_vmas-8.13.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for phyelds-vmas 8.13.1
File Interpreter ABI Platform Actions
phyelds_vmas-8.13.1-py3-none-any.whl Python 3 none any Details for phyelds_vmas-8.13.1-py3-none-any.whl

Total release size: 8.3 kB

Release files / phyelds_vmas-8.13.1.tar.gz

Download URL phyelds_vmas-8.13.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7a8a592c3895ab02b0136b6f8bc4d063b152a9eb95930405deb24ddd9baf4a6a
BLAKE2b-256 checksum
How to use checksums
af768c38f692a07ba55da996e408302d4b663230c11be39bfe51324f5a1f7d09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.0 CPython/3.13.16 Linux/6.17.0-1022-azure

Release files / phyelds_vmas-8.13.1-py3-none-any.whl

Download URL phyelds_vmas-8.13.1-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a9b5ef7fe61bc8e2074406475bd3052dd92b88f549ab83e5de9e4aa257fea12
BLAKE2b-256 checksum
How to use checksums
760fd146646b202f0fd552ae37c34f16a6cbb7b74c857a1a132d57a5e4c0e047
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.0 CPython/3.13.16 Linux/6.17.0-1022-azure

Security for phyelds-vmas 8.13.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

8.13.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page