Skip to main content

About pyQIC

pyQIC is a python package for generating quasi-isodynamic stellarator configurations using an expansion about magnetic axis. pyQIC is written in pure python. This makes pyQIC user-friendly, with no need for compilation. though it is slower.

This code implements the equations derived by Garren and Boozer (1991) for MHD equilibrium near the magnetic axis. It is similar to pyQSC but does not assume quasisymmetry.

Requirements

pyQIC has minimal dependencies - it requires only python3, numpy, scipy, matplotlib. If you don't already have numpy, scipy and matplotlib, they will be installed automatically by the pip install step in the Run the Code section.

USEFUL LINKS

If you need more help regarding near-axis stellarators, you can check the documentation for the quasi-symmetric version of pyQIC: click here

INSTALLATION

Installation from pypi can be done via

pip install qicna

To install the code locally, you can run

First of all you need to copy the folders and the files with the "git clone" command, followed by the GitHub repository's link. Example:

git clone https://github.com/rogeriojorge/pyQIC.git

Then, install the package in your local Python environment with:

cd pyQIC
pip install -e .

Then you also need to install the libraries below:
numpy
scipy
matplotlib

Example:

pip install numpy scipy matplotlib

RUN THE CODE

To run this code, you will need to use Python and insert the following command:

from qic import Qic
stel = Qic.from_paper('r2 section 5.2')

Metadata

Release files for qicna 0.3.6

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

Source distribution (sdist)

Source distribution for qicna 0.3.6
File Size Uploaded Provenance Actions
qicna-0.3.6.tar.gz 84.1 kB With provenance Details for qicna-0.3.6.tar.gz

Built distribution (wheel)

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

Total release size: 176.5 kB

Release files / qicna-0.3.6.tar.gz

Download URL qicna-0.3.6.tar.gz
Size 84.1 kB
Tags Source
SHA-256 checksum
How to use checksums
66289a36ce33905cbc3f6ef06d6e6024ac3b92f6d7069bb375eb7551c2cd3e6a
BLAKE2b-256 checksum
How to use checksums
175d8af9edb7f63bfd81efc281b663beb6b9de646b182e61d892639fbbd81900
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 Jan 30, 2026.

Transparency log

Release files / qicna-0.3.6-py3-none-any.whl

Download URL qicna-0.3.6-py3-none-any.whl
Size 92.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c51e99b4f7770ed0d074cbce401a900b8bcbfb9470e716d9d1284576e997794a
BLAKE2b-256 checksum
How to use checksums
1cd5fbb651dfae784a04735e8eab40e883bdc557923128035b1daad96d0e6cfd
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 Jan 30, 2026.

Transparency log

Security for qicna 0.3.6

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.

Select from 2 files

Attestation for qicna-0.3.6.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 Jan 30, 2026.

Transparency log

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.

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