Skip to main content
https://raw.githubusercontent.com/unalmis/DESC/master/docs/_static/images/logo_med_clear.png

Stellarator Optimization Package

License DOI GitHub issues Pypi

Documentation UnitTests RegressionTests

Improvements

Like the original package, but with bounce integrals as well as all the improvements in this fork.

A list of papers which feature DESC can be found here.

Quick Start

The easiest way to install DESC is from PyPI: pip install desc-v2

For more detailed instructions on installing DESC and its dependencies, see Installation.

The best place to start learning about DESC is our tutorials:

For details on the various objectives, constraints, optimizable objects and more, see the full api documentation.

If all you need is an equilibrium solution, the simplest method is through the command line by giving an input file specifying the equilibrium and solver options, this way can also can also accept VMEC input files.

The code is run using the syntax desc <path/to/inputfile> and the full list of command line options are given in Command Line Interface. (Note that you may have to prepend the command with python -m)

Refer to Inputs for documentation on how to format the input file.

The equilibrium solution is output in a HDF5 binary file, whose format is detailed in Outputs.

Repository Contents

  • desc contains the source code including the main script and supplemental files. Refer to the API documentation for details on all of the available functions and classes.

  • docs contains the documentation files.

  • tests contains routines for automatic testing.

  • publications contains PDFs of publications by the DESC group, as well as scripts and data to reproduce the results of these papers.

Contribute

Metadata

Release files for desc-v2 1.18.2

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

Source distribution (sdist)

Source distribution for desc-v2 1.18.2
File Size Uploaded
desc_v2-1.18.2.tar.gz 2.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for desc-v2 1.18.2
File Interpreter ABI Platform
desc_v2-1.18.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 MB

Release files / desc_v2-1.18.2.tar.gz

Download URL desc_v2-1.18.2.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
081391980f728d6f0c61589777975531a1bfd567042c1805a2bd4fed1dc861db
BLAKE2b-256 checksum
How to use checksums
54336d6f196103b90edf7ac50d6937ee4cbf5274ead3f140716c6738c119182b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 31, 2026.

Transparency log

Release files / desc_v2-1.18.2-py3-none-any.whl

Download URL desc_v2-1.18.2-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9fa8fd2774afca1fab1613d682a82ff30063ad10488bbf46c0a733c2d7960da1
BLAKE2b-256 checksum
How to use checksums
b8bc1e9087d837d476882dd3cd980f7eb92d8675e03e598775990340b5ecce66
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 31, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.18.2 This release

2 release files

1.18.1

2 release files

1.18

2 release files

1.17.5

2 release files

1.17.4

2 release files

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