Eqdsk
An EQDSK reader and writer for GEQDSK (more soon), with COCOS identification and conversion.
There is support for writing an eqdsk to a JSON format (which is now preferred) and an IMAS database integration.
We have extended the EQDSK standard to optionally allow for the definition of a CoilSet.
Setup
We are pip installable therefore for the most recent release:
pip install eqdsk
or for the most recent commit
pip install git+https://github.com/Fusion-Power-Plant-Framework/eqdsk.git
For a developer setup please see CONTRIBUTING.md
Basic Usage
To read in an eqdsk (json or eqdsk) in its raw state:
from eqdsk import EQDSKInterface
EQDSKInterface.from_file('file.json', no_cocos=True)
To read in an eqdsk file with a known cocos format and convert it to a given cocos format:
EQDSKInterface.from_file('file.eqdsk', from_cocos=11, to_cocos=17)
Alternatively if the direction (clockwise or anticlockwise) and the units of phi (V.s or V.s/rad) are known, the cocos standard will be calculated for you:
EQDSKInterface.from_file('file.eqdsk', clockwise_phi=True, volt_seconds_per_radian=True)
CLI
This package includes a CLI tool for eqdsk exploration.
This can be accessed by running eqdsk in the terminal after installing the package (or in the Hatch cli environment, see CONTRIBUTING.md).
For more information on the CLI tool, run eqdsk --help.
Metadata
Release files for eqdsk 0.9.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 |
|---|---|---|---|---|
| eqdsk-0.9.0.tar.gz | 292.3 kB | With provenance | Details for eqdsk-0.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eqdsk-0.9.0-py3-none-any.whl | Python 3 | none | any | Details for eqdsk-0.9.0-py3-none-any.whl |
Total release size: 329.9 kB
Release files / eqdsk-0.9.0.tar.gz
| Download URL | eqdsk-0.9.0.tar.gz |
|---|---|
| Size | 292.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
429c978a3f8f024adf2457285e730174e73efa7bbf847df0267b08258a8c13a5
|
|
BLAKE2b-256 checksum How to use checksums |
89ce600439b2d9e95badada49632e0c2f5b3b148b66a71d3f107e9b5ec927358
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jun 10, 2026.
Transparency logRelease files / eqdsk-0.9.0-py3-none-any.whl
| Download URL | eqdsk-0.9.0-py3-none-any.whl |
|---|---|
| Size | 37.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c62264a873653da3c841f1963e0b9e304ddbe84799a125fb6c96b6282fe4648d
|
|
BLAKE2b-256 checksum How to use checksums |
edfa9e1b5b322121f1b7c007e4da0dead5bde0ba12a46ad470302b56305b27f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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 Jun 10, 2026.
Transparency logSecurity for eqdsk 0.9.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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for eqdsk-0.9.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 Jun 10, 2026.
Transparency logA 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.