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

BSD-3-Clause. See LICENSE for details.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gasdyn-0.1.0.tar.gz (35.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gasdyn-0.1.0-py3-none-any.whl (27.5 kB view details)

Uploaded Python 3

File details

Details for the file gasdyn-0.1.0.tar.gz.

File metadata

  • Download URL: gasdyn-0.1.0.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gasdyn-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f63a7e4acb7c28455a3137385b181689e63693089a8b061c7402fbeb5e9e05a1
MD5 5024ad27b13498b53586b2cad09952cf
BLAKE2b-256 0425a4f0e2b45863c4b64edd7414e20fdb23ff18d05218a618a571dc2ca9c4a0

See more details on using hashes here.

Provenance

The following attestation bundles were made for gasdyn-0.1.0.tar.gz:

Publisher: publish.yml on uahypersonics/gasdyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gasdyn-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: gasdyn-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 27.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for gasdyn-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5bb480a1964a267195f5c2117996c3adfe9d50c72c000b012f0696a5e2430673
MD5 1d7f34c08d1ac8a08d7c1099713f5f29
BLAKE2b-256 c9175b4932393f8ef18d1c0453b18a8cff96bf6070aef06ecd85989434e80b2a

See more details on using hashes here.

Provenance

The following attestation bundles were made for gasdyn-0.1.0-py3-none-any.whl:

Publisher: publish.yml on uahypersonics/gasdyn

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

0.0.1

2 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