Skip to main content

AVLWrapper

Python interface for MIT AVL (Athena Vortex Lattice)

Description

Currently implemented:

  • Geometry definition
  • Case definition
  • Mass distribution definition
  • Running operating-point run cases
  • Eigen-mode analysis
  • Results parsing

Installation

AVLWrapper can be installed from PyPI:

$ pip install avlwrapper

Or can be installed from Git:

$ pip install git+https://github.com/renoelmendorp/AVLWrapper.git@master

Requirements

AVL (link) should be installed. If installed on a location in $PATH or in the module directory, the wrapper will locate it with the default configuration. See Changing settings how to change the executable path to a custom location.

(optional) Ghostscript is required to convert and save plots as pdf, jpeg, or png. Ghostscript can be installed on Linux/MacOS with a package manager:

Linux:

$ apt-get install ghostscript

MacOS:

$ brew install ghostscript

For Windows, Ghostscript can be found on the website.

Usage

For usage examples, see the example.ipynb notebook.

Changing settings

To change settings, make a local copy of the settings file:

from avlwrapper import default_config
default_config.local_copy()

By default the wrapper will look for a configuration file in the working directory and module directory. If you would like to use a different configuration file, you need to give the path to the session:

from avlwrapper import Configuration
my_config = Configuration(path_to_file)
session = Session(..., config=my_config)

Error handling

All errors raised by the wrapper derive from avlwrapper.AvlError:

  • InputError: invalid geometry, case or mass input
  • AvlExecutionError: AVL did not produce the expected results. The AVL output is available in the output attribute
  • OutputError: an AVL output file could not be parsed

Development

Tests

To run tests in development, first install the development requirement into your environment:

pip install -r requirements-dev.txt

Then, from the source directory of the repo:

pytest -vv tests

Metadata

Release files for avlwrapper 0.4.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 avlwrapper 0.4.2
File Size Uploaded
avlwrapper-0.4.2.tar.gz 39.8 kB Details

Built distribution (wheel)

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

Total release size: 77.6 kB

Release files / avlwrapper-0.4.2.tar.gz

Download URL avlwrapper-0.4.2.tar.gz
Size 39.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d1e5afccda08e6cfb98133b62e03986ff25590998b2a0b78579ab87ee53c3382
BLAKE2b-256 checksum
How to use checksums
3991194d5f0bb197b8f8d1a4acc2a47d12023137bae338e795810558d578b508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Oct 3, 2026.

Transparency log

Release files / avlwrapper-0.4.2-py3-none-any.whl

Download URL avlwrapper-0.4.2-py3-none-any.whl
Size 37.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bbf78fe570c02bd16b84cac298387ba2401de7129855bf34ffcbc2bfa50d10ec
BLAKE2b-256 checksum
How to use checksums
8cd6332c4fab257ef0b7387a0fef3387fc327bf1d4aff7ec3d7426e04fe86526
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.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 Oct 3, 2026.

Transparency log

Release history Release notifications | RSS feed

0.6.0

2 release files

0.5.0

2 release files

This release

0.4.2 This release

2 release files

0.4.0

2 release files

0.3.5

2 release files

0.3.4

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.5

3 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