Skip to main content

Common runtime for YoWASP packages

Project description

YoWASP Python runtime

This package is an internal support package for the YoWASP project. It handles interfacing with the WebAssembly runtime and the supported operating systems. Do not depend on this package in your own code.

Configuration

The YoWASP runtime can be configured through environment variables:

YOWASP_CACHE_DIR

YoWASP ships application code as architecture-independent WebAssembly and compiles it to architecture-specific machine code on first run. To make subsequent runs faster, it saves the generated machine code to a cache, which by default is located at %LocalAppData%\YoWASP\Cache (on Windows), $HOME/.cache/YoWASP (on Linux), or $HOME/Library/Caches/YoWASP (on macOS). This location can be customized by setting the YOWASP_CACHE_DIR environment variable.

YOWASP_MOUNT

YoWASP isolates the applications from the underlying operating system such that only filesystem access is possible. By default, the application can access the entire filesystem and host paths can be used unmodified (however on Windows, all paths must use / as the path separator). If the environment variable YOWASP_MOUNT is set, then the application can only access the paths specified in that environment variable and their descendants. Paths above the ones specified cannot be accessed, even using extra .. segments.

The syntax for specifying mounts is YOWASP_MOUNT=<mountpoint1>=<path1>[:<mountpoint2>=<path2>[:...]]. That is, mounts are specified as <mountpoint>=<path> pairs separated by : symbols, where operating system path <path> becomes accesible by the application at <mountpoint>.

License

This package is covered by the ISC license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yowasp_runtime-1.85-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file yowasp_runtime-1.85-py3-none-any.whl.

File metadata

  • Download URL: yowasp_runtime-1.85-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for yowasp_runtime-1.85-py3-none-any.whl
Algorithm Hash digest
SHA256 47183716a6bb2623681d8319422cf490f824c1cb38b2f43d3be917294e5ef858
MD5 502722a3fd45984154a4f51df0fa4438
BLAKE2b-256 2f08e57e8a1cf4e3be6d2985db36b4a8cd3fd009da325357e72a02940ac4a63d

See more details on using hashes here.

Provenance

The following attestation bundles were made for yowasp_runtime-1.85-py3-none-any.whl:

Publisher: package.yml on YoWASP/runtime-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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