Skip to content

Commit 8ad40e4

Browse files
committed
Merge branch 'develop' of https://github.com/building-physics/airflownetwork-python into develop
2 parents f82c030 + 7a85454 commit 8ad40e4

2 files changed

Lines changed: 66 additions & 1 deletion

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
# This workflow will upload a Python Package using Twine when a release is created
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python#publishing-to-package-registries
3+
4+
# This workflow uses actions that are not certified by GitHub.
5+
# They are provided by a third-party and are governed by
6+
# separate terms of service, privacy policy, and support
7+
# documentation.
8+
9+
name: Upload Python Package
10+
11+
on:
12+
release:
13+
types: [published]
14+
15+
permissions:
16+
contents: read
17+
18+
jobs:
19+
deploy:
20+
21+
runs-on: ubuntu-latest
22+
23+
steps:
24+
- uses: actions/checkout@v3
25+
- name: Set up Python
26+
uses: actions/setup-python@v3
27+
with:
28+
python-version: '3.x'
29+
- name: Install dependencies
30+
run: |
31+
python -m pip install --upgrade pip
32+
pip install build
33+
- name: Build package
34+
run: python -m build
35+
- name: Publish package
36+
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
37+
with:
38+
user: __token__
39+
password: ${{ secrets.PYPI_API_TOKEN }}

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# airflownetwork
1+
# AirflowNetwork
22

33
[![PyPI - Version](https://img.shields.io/pypi/v/airflownetwork.svg)](https://pypi.org/project/airflownetwork)
44
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/airflownetwork.svg)](https://pypi.org/project/airflownetwork)
@@ -7,9 +7,35 @@
77

88
**Table of Contents**
99

10+
- [About](#about)
1011
- [Installation](#installation)
1112
- [License](#license)
1213

14+
## About
15+
This is a small library of functions and classes to examine EnergyPlus AirflowNetwork models. A driver program is provided to analyze models in the epJSON format. To summarize the model contents:
16+
17+
```
18+
airflownetwork summarize my_model.epJSON
19+
```
20+
21+
To create a graph of the model in the DOT format:
22+
23+
```
24+
airflownetwork graph my_model.epJSON
25+
```
26+
27+
To generate an audit of the model:
28+
29+
```
30+
airflownetwork audit my_model.epJSON
31+
```
32+
33+
Further help is available on the command line:
34+
35+
```
36+
airflownetwork --help
37+
```
38+
1339
## Installation
1440

1541
```console

0 commit comments

Comments
 (0)