Skip to main content

mixprops

CI license

Mixture properties calculator.

Usage

Python

from mixprops.reference_conditions import ReferenceConditions

mixture = Mixture(
    species=[("O2", 0.21), ("N2", 0.79)],
    reference_conditions=ReferenceConditions(
        absolute_pressure_unit="Pa",
        absolute_pressure=101325,
        temperature_unit="C",
        temperature=25
    ))

print(mixture.specific_heat_capacity)
# 1011.338752

CLI

poetry run python main.py \
    -rc 101325,25 \
    -u Pa,C \
    -s O2,N2 \
    -sc 0.21,0.79
  • rc = Reference conditions -> Absolute pressure,temperature
  • u = Reference condition units -> Pressure unit,temperature unit
  • s = Comma separated list of species by name or species -> O2,N2 or Oxygen,Nitrogen
  • sc = Species molar composition as comma separated mole fractions -> 0.21,0.79

Properties

  • molecular_weight - Molecular weight (g/mol)
  • density - Density (kg/m3)
  • specific_heat_capacity - Specific heat capacity (J/kg-K)
  • viscosity - Viscosity (kg/m-s)
  • conductivity - Thermal conductivity (W/m-K)
  • speed_of_sound - Speed of sound (m/s)
  • adiabatic_index - Adiabatic index

Supported species

For the supported species, see the .csv files in the mixprops/data directory.

Metadata

Release files for mixprops 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 mixprops 0.1.1
File Size Uploaded Provenance Actions
mixprops-0.1.1.tar.gz 14.4 kB Without provenance Details for mixprops-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 31.3 kB

Release files / mixprops-0.1.1.tar.gz

Download URL mixprops-0.1.1.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
46ca5e96eee6c5ecc432cc29b3c0e9ec249fb4a2f7ec6333257b6e5c245fc0c1
BLAKE2b-256 checksum
How to use checksums
3f8bb8a888df29f91499a559e7bc1b3c7f73d9916efd8de1ed7f11e69e0569a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Darwin/22.5.0

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

Download URL mixprops-0.1.1-py3-none-any.whl
Size 16.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b792f364c0f7cb2d19fcdc4658498a1bd86bef3a696760f3e35d5b372d65e4f1
BLAKE2b-256 checksum
How to use checksums
9cb7ea83eab93679b627f338baa64bfa176114d4b09a60708443c408e1bb69d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.4.2 CPython/3.11.3 Darwin/22.5.0

Security for mixprops 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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