Skip to main content

phyjax2d

A jax-based 2d physics library, mainly intended to use for reinforcement learning research.

License

Apache LICENSE 2.0 holds unless otherwise noted.

vec2d.py is copied from PyMunk with the license-header as-is.

Benchmark videos

Install development and visualization dependencies with uv sync --extra vis, then record a benchmark without opening a window:

uv run python benchmark/bench_phyjax2d.py --counts 100 --n-iter 1000 --videopath simulation.mp4

--videopath is also supported by bench_phyjax2d_xpbd.py and bench_pymunk.py. Add --debug-vis to display the simulation while recording. Videos use H.264 at 900 × 600, with one frame per simulation step and playback matching simulated time. For multiple --counts, filenames include the count (for example, simulation_100.mp4). Recording timings include rendering and encoding overhead.

Metadata

Release files for phyjax2d 0.5.0

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

Source distribution (sdist)

Source distribution for phyjax2d 0.5.0
File Size Uploaded Provenance Actions
phyjax2d-0.5.0.tar.gz 41.7 kB With provenance Details for phyjax2d-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for phyjax2d 0.5.0
File Interpreter ABI Platform Actions
phyjax2d-0.5.0-py3-none-any.whl Python 3 none any Details for phyjax2d-0.5.0-py3-none-any.whl

Total release size: 75.9 kB

Release files / phyjax2d-0.5.0.tar.gz

Download URL phyjax2d-0.5.0.tar.gz
Size 41.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ccb4232c4f678258ab14a2ed6bcac7b0e5b00b94f90560d51f49ef6d6864ffd6
BLAKE2b-256 checksum
How to use checksums
dc7794683bd04eb413f39fd663516b3df88d16f528a90cbd26aacbcfff5913cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / phyjax2d-0.5.0-py3-none-any.whl

Download URL phyjax2d-0.5.0-py3-none-any.whl
Size 34.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d07fc888fed408b6f1cf98246e1af3f14208ba7727f3a04a3ae224f3bcbccfd4
BLAKE2b-256 checksum
How to use checksums
487eb6247f6270fd9fe006003214b0f1187992a9b357b8049ca37fd0de742192
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Security for phyjax2d 0.5.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for phyjax2d-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

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.

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