Skip to main content

w7x

Latest release on PyPI Supported python versions MIT licensed Pipeline status Latest release tag Test coverage Documentation pre-commit

Overview

The w7x package is a simulation framework that defines interfaces for simulation codes with interchangeable backends, computation pipelines in a directed acyclic graph. It provides access to simulation codes that does not require the user to be a domain expert of the specific codes and will take care about particularities (like binary installation, sanity checks, output files/format, passing on the output to follow-on codes etc).

The package is named after the Wendelstein 7-X stellarator, but it is generic enough to be used for any magnetic confinement fusion device.

Licensed under the MIT

Resources

Installation

pip install w7x

Usage

A simulation starts from a state built of configuration parts, which codes such as VMEC then advance through interchangeable backends:

import w7x

state = w7x.State(
    w7x.config.CoilSets.Ideal(),
    w7x.config.Plasma.Vacuum(),
    w7x.config.Equilibria.InitialGuess(),
)

Metadata

Release files for w7x 0.7.0

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

Built distribution (wheel)

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

Release files / w7x-0.7.0-py3-none-any.whl

Download URL w7x-0.7.0-py3-none-any.whl
Size 127.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3638241c9d34abfc9670de47f921cc97cfc5266f201157dd6fd5335537d5b3b4
BLAKE2b-256 checksum
How to use checksums
96b1c0d73f724a3f21b9f79d60bb3c114708ca2caab6d24c7a48ca3c6acb76fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for w7x 0.7.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.

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

0.7.0 This release

1 release file 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