Skip to main content

pystdatm

Python Package for Standard Atmosphere

The set of functions that follow International Standard Atmosphere model.

Note: Only SI units are supported.

Sample Code:

from pystdatm import (density, geometric_altitude, pressure,
                      speed_of_sound, temperature, viscosity)

alt = 14000.0 # metres above sea level
print(f'Altitude = {alt:.0f} m\n')

altz = geometric_altitude(alt)
print(f'Geometric Altitude = {altz:.0f} m\n')

temp = temperature(alt)
print(f'Air Temperature = {temp:.2f} K\n')

pres = pressure(alt)
print(f'Air Pressure = {pres:.6g} Pa\n')

rho = density(alt)
print(f'Air Density = {rho:.4f} kg/m**3\n')

mu = viscosity(alt)
print(f'Air Viscosity = {mu:.5g} Pa.s\n')

a = speed_of_sound(alt)
print(f'Speed of Sound = {a:.1f} m/s\n')

# Example of ISA Properties at Altitude with Temperature Deviation
deviation = 10.0 # K

rho_dev = density(alt, deviation=deviation)
print(f'Density ISA+{deviation:.0f} = {rho_dev:.4f} kg/m**3\n')

Sample Output:

Altitude = 14000 m

Geometric Altitude = 14031 m

Air Temperature = 216.65 K

Air Pressure = 14101.8 Pa

Air Density = 0.2268 kg/m**3

Air Viscosity = 1.7826e-05 Pa.s

Speed of Sound = 339.5 m/s

Density ISA+10 = 0.2167 kg/m**3

Metadata

Release files for pystdatm 0.2.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 pystdatm 0.2.2
File Size Uploaded Provenance
pystdatm-0.2.2.tar.gz 6.8 kB With provenance Details

Built distribution (wheel)

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

Total release size: 14.2 kB

Release files / pystdatm-0.2.2.tar.gz

Download URL pystdatm-0.2.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
52dbcd657f4dafe1a290af3b53773ba48ba2f0340e110a7d23adc19822987c18
BLAKE2b-256 checksum
How to use checksums
dc5a9deb1b10c47d5ce5781af93a5c342bd4972c54baae540d0f7b6463b97ca7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Release files / pystdatm-0.2.2-py3-none-any.whl

Download URL pystdatm-0.2.2-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e0df204b3c50d95fdfed31f6bcd9ba2aa4db8bebf221b910f41e1c2ba10e8f3
BLAKE2b-256 checksum
How to use checksums
985ed6eae6d2fc48ce8a2e5217f4e0572c05e81793b02e6ef7800f258f3a0032
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 24, 2026.

Transparency log

Security for pystdatm 0.2.2

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 pystdatm-0.2.2.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 Oct 24, 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