gasdyn
Compressible inviscid flow calculator: shocks, expansions, isentropic relations. Python API, CLI, and web app.
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:
- Commit and push to
main - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f63a7e4acb7c28455a3137385b181689e63693089a8b061c7402fbeb5e9e05a1
|
|
| MD5 |
5024ad27b13498b53586b2cad09952cf
|
|
| BLAKE2b-256 |
0425a4f0e2b45863c4b64edd7414e20fdb23ff18d05218a618a571dc2ca9c4a0
|
Provenance
The following attestation bundles were made for gasdyn-0.1.0.tar.gz:
Publisher:
publish.yml on uahypersonics/gasdyn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gasdyn-0.1.0.tar.gz -
Subject digest:
f63a7e4acb7c28455a3137385b181689e63693089a8b061c7402fbeb5e9e05a1 - Sigstore transparency entry: 2338021200
- Sigstore integration time:
-
Permalink:
uahypersonics/gasdyn@05a4b99f573356775965e9471ecf0357254b9f6f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/uahypersonics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@05a4b99f573356775965e9471ecf0357254b9f6f -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5bb480a1964a267195f5c2117996c3adfe9d50c72c000b012f0696a5e2430673
|
|
| MD5 |
1d7f34c08d1ac8a08d7c1099713f5f29
|
|
| BLAKE2b-256 |
c9175b4932393f8ef18d1c0453b18a8cff96bf6070aef06ecd85989434e80b2a
|
Provenance
The following attestation bundles were made for gasdyn-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on uahypersonics/gasdyn
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
gasdyn-0.1.0-py3-none-any.whl -
Subject digest:
5bb480a1964a267195f5c2117996c3adfe9d50c72c000b012f0696a5e2430673 - Sigstore transparency entry: 2338021207
- Sigstore integration time:
-
Permalink:
uahypersonics/gasdyn@05a4b99f573356775965e9471ecf0357254b9f6f -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/uahypersonics
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@05a4b99f573356775965e9471ecf0357254b9f6f -
Trigger Event:
push
-
Statement type: