{"id":32208256,"url":"https://github.com/psychrometrics/psychrolib","last_synced_at":"2025-10-22T06:02:09.920Z","repository":{"id":45470110,"uuid":"68980860","full_name":"psychrometrics/psychrolib","owner":"psychrometrics","description":"📚 Library of psychrometric functions to calculate 🌡️ thermodynamic properties  of air for Python, C, C#, Fortran, R, JavaScript and VBA/Excel","archived":false,"fork":false,"pushed_at":"2023-01-06T13:31:11.000Z","size":3561,"stargazers_count":257,"open_issues_count":15,"forks_count":66,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-10-17T05:39:19.409Z","etag":null,"topics":["ashrae","c","csharp","dew-point-temperature","engineering","excel","fortran","humidity","hvac","javascript","meteorology","moist-air","net","pressure","psychrometrics","python","relative-humidity","temperature","thermodynamic-properties","vba"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psychrometrics.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.txt","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":".zenodo.json"}},"created_at":"2016-09-23T02:26:34.000Z","updated_at":"2025-10-02T08:12:31.000Z","dependencies_parsed_at":"2023-02-06T04:30:59.086Z","dependency_job_id":null,"html_url":"https://github.com/psychrometrics/psychrolib","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/psychrometrics/psychrolib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psychrometrics%2Fpsychrolib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psychrometrics%2Fpsychrolib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psychrometrics%2Fpsychrolib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psychrometrics%2Fpsychrolib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psychrometrics","download_url":"https://codeload.github.com/psychrometrics/psychrolib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psychrometrics%2Fpsychrolib/sbom","scorecard":{"id":748529,"data":{"date":"2025-08-11","repo":{"name":"github.com/psychrometrics/psychrolib","commit":"3066345dc8cf91bf59134147cf917f982c1fce13"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":6,"reason":"Found 18/30 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/psychrometrics/psychrolib/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/psychrometrics/psychrolib/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/psychrometrics/psychrolib/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/psychrometrics/psychrolib/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/psychrometrics/psychrolib/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/psychrometrics/psychrolib/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/psychrometrics/psychrolib/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/psychrometrics/psychrolib/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/psychrometrics/psychrolib/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:95: update your workflow using https://app.stepsecurity.io/secureworkflow/psychrometrics/psychrolib/ci.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:33","Warn: npmCommand not pinned by hash: .github/workflows/ci.yml:35","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:90","Info:   0 out of   7 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   2 pipCommand dependencies pinned","Info:   0 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":0,"reason":"Project has not signed or included provenance with any releases.","details":["Warn: release artifact 2.5.0 not signed: https://api.github.com/repos/psychrometrics/psychrolib/releases/25423825","Warn: release artifact 2.4.0 not signed: https://api.github.com/repos/psychrometrics/psychrolib/releases/24436752","Warn: release artifact 2.3.0 not signed: https://api.github.com/repos/psychrometrics/psychrolib/releases/21663227","Warn: release artifact 2.2.0 not signed: https://api.github.com/repos/psychrometrics/psychrolib/releases/21213525","Warn: release artifact 2.1.1 not signed: https://api.github.com/repos/psychrometrics/psychrolib/releases/19169662","Warn: release artifact 2.5.0 does not have provenance: https://api.github.com/repos/psychrometrics/psychrolib/releases/25423825","Warn: release artifact 2.4.0 does not have provenance: https://api.github.com/repos/psychrometrics/psychrolib/releases/24436752","Warn: release artifact 2.3.0 does not have provenance: https://api.github.com/repos/psychrometrics/psychrolib/releases/21663227","Warn: release artifact 2.2.0 does not have provenance: https://api.github.com/repos/psychrometrics/psychrolib/releases/21213525","Warn: release artifact 2.1.1 does not have provenance: https://api.github.com/repos/psychrometrics/psychrolib/releases/19169662"],"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T19:35:31.256Z","repository_id":45470110,"created_at":"2025-08-22T19:35:31.256Z","updated_at":"2025-08-22T19:35:31.256Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280361963,"owners_count":26317791,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ashrae","c","csharp","dew-point-temperature","engineering","excel","fortran","humidity","hvac","javascript","meteorology","moist-air","net","pressure","psychrometrics","python","relative-humidity","temperature","thermodynamic-properties","vba"],"created_at":"2025-10-22T06:00:57.943Z","updated_at":"2025-10-22T06:02:05.277Z","avatar_url":"https://github.com/psychrometrics.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"assets/psychrolib_logo.svg\" alt=\"PsychroLib Logo\" height=\"80\" width=\"80\"\u003e \n\n\u003c!-- omit in toc --\u003e\n# PsychroLib\n\n\n[![CI](https://github.com/psychrometrics/psychrolib/actions/workflows/ci.yml/badge.svg)](https://github.com/psychrometrics/psychrolib/actions/workflows/ci.yml) [![PyPI](https://img.shields.io/pypi/v/psychrolib)](https://pypi.org/project/PsychroLib) [![NuGet](https://img.shields.io/nuget/v/PsychroLib.svg?maxAge=600)](https://www.nuget.org/packages/PsychroLib) [![CRAN](https://www.r-pkg.org/badges/version/psychrolib)](https://cran.r-project.org/package=psychrolib) [![DOI](https://joss.theoj.org/papers/10.21105/joss.01137/status.svg)](https://doi.org/10.21105/joss.01137) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2537945.svg)](https://doi.org/10.5281/zenodo.2537945)\n\n[Overview](#overview) | [Documentation](#documentation) | [Installation](#installation) | [How to cite](#how-to-cite) | [Contributing](#contributing) | [Development](#development) | [Copyright and license](#copyright-and-license) | [Acknowledgements](#acknowledgements)\n\n\u003c/div\u003e\n\n\n## Overview\n\nPsychroLib is a software library to enable the calculation of psychrometric properties of moist and dry air. Versions of PsychroLib are available for Python, C, C#, Fortran, R, JavaScript, Microsoft Excel Visual Basic for Applications (VBA). PsychroLib works in both metric (SI) and imperial (IP) systems of units. For a general overview and a list of currently available functions, please see the [overview page](docs/overview.md).\n\n\n## Documentation\n\nPlease see the [Python API documentation](https://psychrometrics.github.io/psychrolib/api_docs.html) for the common API across all the supported language implementations. In Python, array support and improved runtime performance can be optionally enabled by installing [Numba](https://numba.pydata.org/). In R (1) constants, like `ZERO_FAHRENHEIT_AS_RANKINE` are not exported (i.e. not directly accessible to users), (2) functions accept a vector, not a scalar (3) bulk calculations, like `CalcPsychrometricsFromRelHum` return a list.\n\nExamples on how to use PsychroLib in all the supported languages are described in [this guide](docs/examples.md).\n\n\n## Installation\n\n- Python: from the [Python Package Index (PyPI)](https://pypi.org/project/PsychroLib/). [Numba](https://numba.pydata.org/) can be optionally installed to enable array support and faster runtime performance.\n- C# (.NET): from the [NuGet package](https://www.nuget.org/packages/PsychroLib/) manager or clone the repository, and bundle according to your requirements.\n- C, Fortran and JavaScript: clone the repository, and bundle according to your requirements.\n- VBA/Excel: download the ready-made spreadsheets from the [release tab](https://github.com/psychrometrics/psychrolib/releases).\n- R: from the [Comprehensive R Archive Network (CRAN)](https://cran.r-project.org/package=psychrolib).\n\n\n## How to cite\n\nWhen using PsychroLib, please cite the software summary paper and software version using the following Digital Object Identifiers (DOIs) to [generate citations in your preferred style](https://citation.crosscite.org/):\n\n| Software summary paper                                                                                                  | Software version*                                                                                                  |\n| ----------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |\n| [![DOI](https://joss.theoj.org/papers/10.21105/joss.01137/status.svg)](https://doi.org/10.21105/joss.01137) | [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2537945.svg)](https://doi.org/10.5281/zenodo.2537945) |\n\n*please make sure to cite the same version you are using with the correct DOI. For a list of all available versions see see [more on Zenodo]((https://doi.org/10.5281/zenodo.2537945)).\n\n\n## Contributing\n\nIf you are looking to contribute, please read our [Contributors' guide](CONTRIBUTING.md) for details.\n\n\n## Development\n\nIf you would like to know more about specific development guidelines and testing, please refer to our [development notes](DEVELOP.md).\n\n\n## Copyright and license\n\nCopyright 2018-2020 [The PsychroLib Contributors](https://github.com/psychrometrics/psychrolib/graphs/contributors) for the current library implementation.\n\nCopyright 2017 ASHRAE Handbook — Fundamentals (https://www.ashrae.org) for equations and coefficients published ASHRAE Handbook — Fundamentals Chapter 1.\n\nSoftware licensed under the [MIT License](LICENSE.txt).\n\n\n## Acknowledgements\n\nSpecial thanks to:\n- [@tom--](https://github.com/tom--) for his suggestions with the original JavaScript library implementation\n- [@DJGosnell](https://github.com/DJGosnell) for the C# port.\n- [@hongyuanjia](https://github.com/hongyuanjia) and [@banfelder](https://github.com/banfelder) for the R port.\n\nFor the full list of contributors, please see the [contributors page](https://github.com/psychrometrics/psychrolib/graphs/contributors).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsychrometrics%2Fpsychrolib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsychrometrics%2Fpsychrolib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsychrometrics%2Fpsychrolib/lists"}