-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: v0.1.2 Introduces new methods to the PsychrometricCalculator class for calculating the humidity ratio from dry bulb temperature, wet bulb temperature, and partial pressure of water vapor. The methods are: - get_hr_from_db_wb - get_hr_from_pw feat: Python3.9 compatibility Add Python3.9 compatibility ci: Refactor GitHub workflows for mkdocs and release This commit includes the following changes: - Renamed .github/workflows/ci.yml to .github/workflows/mkdocs.yml and updated its configuration. - Added a new workflow .github/workflows/release.yml for handling Python package releases.
- Loading branch information
1 parent
92a1fff
commit 9faa0df
Showing
7 changed files
with
128 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
name: Upload Python Package | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
release-build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.x" | ||
|
||
- name: Build release distributions | ||
run: | | ||
python -m pip install build | ||
python -m build | ||
- name: Upload distributions | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: release-dists | ||
path: dist/ | ||
|
||
pypi-publish: | ||
runs-on: ubuntu-latest | ||
|
||
needs: | ||
- release-build | ||
|
||
permissions: | ||
id-token: write | ||
|
||
environment: | ||
name: pypi | ||
url: https://pypi.org/project/shimeri/ | ||
|
||
steps: | ||
- name: Retrieve release distributions | ||
uses: actions/download-artifact@v4 | ||
with: | ||
name: release-dists | ||
path: dist/ | ||
|
||
- name: Publish release distributions to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
3.10.14 | ||
3.9.19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[project] | ||
name = "shimeri" | ||
version = "0.1.1" | ||
version = "0.1.2" | ||
description = "A Python package for calculating psychrometric properties of moist air and plotting psychrometric charts." | ||
authors = [ | ||
{ name = "Shoji, Yutaka", email = "[email protected]" } | ||
|
@@ -11,7 +11,7 @@ dependencies = [ | |
"plotly>=5.10", | ||
] | ||
readme = "README.md" | ||
requires-python = ">= 3.10" | ||
requires-python = ">= 3.9" | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/yutaka-shoji/shimeri" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters