Skip to main content

gasdyn

Compressible inviscid flow calculator: shocks, expansions, isentropic relations. Python API, CLI, and web app.

Test PyPI Docs License Python Ruff

Install

pip install gasdyn

Quick Start

import gasdyn

Features

  • Isentropic relations: pressure, temperature, density ratios
  • Normal shocks: property jumps across shocks
  • Oblique shocks: deflection angle, wave angle relations
  • Expansion fans: Prandtl-Meyer function

Documentation

Full documentation: https://uahypersonics.github.io/gasdyn

Code Style

This project follows established Python community conventions so that contributors can focus on the physics rather than inventing formatting rules.

Convention What it covers Reference
PEP 8 Code formatting, naming, whitespace Python standard style guide
PEP 257 Docstring structure (triple-quoted, imperative mood) Python standard docstring conventions
Google style Docstring sections (Args, Returns, Raises) Google Python style guide
Ruff Automated linting and formatting Enforces PEP 8 compliance automatically
typing / TYPE_CHECKING Type hints for IDE support and static analysis Python standard library

Versioning & Releasing

This project uses Semantic Versioning (vMAJOR.MINOR.PATCH):

  • MAJOR (v1.0.0, v2.0.0): Breaking API changes
  • MINOR (v0.3.0, v0.4.0): New features, backward-compatible
  • PATCH (v0.3.1, v0.3.2): Bug fixes, minor corrections

To publish a new version to PyPI:

  1. Commit and push to main
  2. Tag and push:
    git tag -a vMAJOR.MINOR.PATCH -m "Release vMAJOR.MINOR.PATCH"
    git push origin vMAJOR.MINOR.PATCH
    

The GitHub Actions workflow will automatically build and publish to PyPI via Trusted Publishing.

License

GNU General Public License v3.0 or later. See LICENSE for the complete license terms.

Metadata

Release files for gasdyn 0.1.1

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

Source distribution (sdist)

Source distribution for gasdyn 0.1.1
File Size Uploaded Provenance
gasdyn-0.1.1.tar.gz 47.6 kB With provenance Details

Built distribution (wheel)

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

Total release size: 86.4 kB

Release files / gasdyn-0.1.1.tar.gz

Download URL gasdyn-0.1.1.tar.gz
Size 47.6 kB
Tags Source
SHA-256 checksum
How to use checksums
64b493baecbb98d2d5fbf394362f4502ab0abe0ad52f02ccb25d0d440da123f7
BLAKE2b-256 checksum
How to use checksums
c8b9def39c4580288d446ed877120b7cffe5efe5ccce21719b8eae8f1c85dcce
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 Sep 28, 2026.

Transparency log

Release files / gasdyn-0.1.1-py3-none-any.whl

Download URL gasdyn-0.1.1-py3-none-any.whl
Size 38.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0f0315e57ff0b53db8984578132b036b434868000f0300d43c83e0e17fb3118f
BLAKE2b-256 checksum
How to use checksums
bd9a5948e82e233c9d6f4de236b8fc72f0cc83c5fe250fb71741d473195d0f4f
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 Sep 28, 2026.

Transparency log

Security for gasdyn 0.1.1

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 gasdyn-0.1.1.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 Sep 28, 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.

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