{"id":37685700,"url":"https://github.com/fusion-power-plant-framework/eqdsk","last_synced_at":"2026-02-18T17:01:13.211Z","repository":{"id":243202054,"uuid":"580866814","full_name":"Fusion-Power-Plant-Framework/eqdsk","owner":"Fusion-Power-Plant-Framework","description":"g-eqdsk reading and writing with identification and conversion between COCOS versions","archived":false,"fork":false,"pushed_at":"2026-02-16T19:50:18.000Z","size":1777,"stargazers_count":9,"open_issues_count":9,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-02-16T22:27:29.898Z","etag":null,"topics":["eqdsk","equilibrium","file-format","nuclear-fusion","plasma-physics"],"latest_commit_sha":null,"homepage":"https://fusion-power-plant-framework.github.io/eqdsk/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Fusion-Power-Plant-Framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2022-12-21T16:46:37.000Z","updated_at":"2026-02-16T16:10:31.000Z","dependencies_parsed_at":"2026-02-18T17:00:41.880Z","dependency_job_id":null,"html_url":"https://github.com/Fusion-Power-Plant-Framework/eqdsk","commit_stats":null,"previous_names":["fusion-power-plant-framework/eqdsk"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Fusion-Power-Plant-Framework/eqdsk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fusion-Power-Plant-Framework%2Feqdsk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fusion-Power-Plant-Framework%2Feqdsk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fusion-Power-Plant-Framework%2Feqdsk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fusion-Power-Plant-Framework%2Feqdsk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fusion-Power-Plant-Framework","download_url":"https://codeload.github.com/Fusion-Power-Plant-Framework/eqdsk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fusion-Power-Plant-Framework%2Feqdsk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29587066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-18T16:55:40.614Z","status":"ssl_error","status_checked_at":"2026-02-18T16:55:37.558Z","response_time":162,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eqdsk","equilibrium","file-format","nuclear-fusion","plasma-physics"],"created_at":"2026-01-16T12:32:13.544Z","updated_at":"2026-02-18T17:01:13.188Z","avatar_url":"https://github.com/Fusion-Power-Plant-Framework.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Eqdsk\n\n[![Hatch project](https://img.shields.io/badge/%F0%9F%A5%9A-Hatch-4051b5.svg)](https://github.com/pypa/hatch)\n[![linting - Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n![Downloads](https://img.shields.io/pypi/dm/eqdsk?color=blue)\n[![Actions status](https://github.com/Fusion-Power-Plant-Framework/eqdsk/actions/workflows/main_and_pr.yml/badge.svg)](https://github.com//Fusion-Power-Plant-Framework/eqdsk/actions)\n\nAn EQDSK reader and writer for GEQDSK (more soon), with COCOS identification and conversion.\n\nThere is support for writing an eqdsk to a JSON format (which is now preferred) and an IMAS database integration.\n\nWe have extended the EQDSK standard to optionally allow for the definition of a CoilSet.\n\n## Setup\n\nWe are pip installable therefore for the most recent release:\n\n```bash\npip install eqdsk\n```\n\nor for the most recent commit\n\n```bash\npip install git+https://github.com/Fusion-Power-Plant-Framework/eqdsk.git\n```\n\nFor a developer setup please see [CONTRIBUTING.md](CONTRIBUTING.md#setup-with-hatch)\n\n## Basic Usage\n\nTo read in an eqdsk (json or eqdsk) in its raw state:\n\n```python\nfrom eqdsk import EQDSKInterface\n\nEQDSKInterface.from_file('file.json', no_cocos=True)\n```\n\nTo read in an eqdsk file with a known cocos format and convert it to a given cocos format:\n\n```python\nEQDSKInterface.from_file('file.eqdsk', from_cocos=11, to_cocos=17)\n```\n\nAlternatively if the direction (clockwise or anticlockwise) and the units of phi (V.s or V.s/rad) are known,\nthe cocos standard will be calculated for you:\n\n```python\nEQDSKInterface.from_file('file.eqdsk', clockwise_phi=True, volt_seconds_per_radian=True)\n```\n\n## CLI\n\nThis package includes a CLI tool for eqdsk exploration.\n\nThis can be accessed by running `eqdsk` in the terminal after installing the package (or in the Hatch `cli` environment, see [CONTRIBUTING.md](CONTRIBUTING.md#setup-with-hatch)).\n\nFor more information on the CLI tool, run `eqdsk --help`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusion-power-plant-framework%2Feqdsk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffusion-power-plant-framework%2Feqdsk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffusion-power-plant-framework%2Feqdsk/lists"}