w7x
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
Documentation: https://dboe.pages.mpcdf.de/w7x
Source code: https://gitlab.mpcdf.mpg.de/dboe/w7x
Examples: https://gitlab.mpcdf.mpg.de/dboe/w7x/-/tree/master/examples
Bug reports: https://gitlab.mpcdf.mpg.de/dboe/w7x/-/issues/
Changelog: https://gitlab.mpcdf.mpg.de/dboe/w7x/-/blob/master/CHANGELOG.md
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.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| w7x-0.8.0.tar.gz | 1.7 MB | Without provenance | Details for w7x-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| w7x-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for w7x-0.8.0-py3-none-any.whl |
Total release size: 1.8 MB
Release files / w7x-0.8.0.tar.gz
| Download URL | w7x-0.8.0.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2f3797a3c5f097dbf965459a0cfd0f520d7c121e6089f173c0e383326fdd79bf
|
|
BLAKE2b-256 checksum How to use checksums |
d9631e06e0ef065fae1442493d9d6a93800ba033d5d80909867c210ac7c10523
|
| 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}
|
Release files / w7x-0.8.0-py3-none-any.whl
| Download URL | w7x-0.8.0-py3-none-any.whl |
|---|---|
| Size | 128.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2128e8b4dcdba270a36c6c5255442f5bf3fd5ac65ec24b6b10d069146aaee46a
|
|
BLAKE2b-256 checksum How to use checksums |
5ada85f947db0f31b7f6f42c4c4194634808cca2b57f4f495170f578034aa14b
|
| 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.8.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.