Metadata-Version: 2.1
Name: energyplus-api-helpers
Version: 0.2
Summary: A set of helper classes, functions and demos, for interacting with the EnergyPlus Python API
Home-page: https://github.com/Myoldmopar/EnergyPlusAPIDemos
Author: Edwin Lee
Author-email: a@a.a
License: UnlicensedForNow
Description: # EnergyPlus API Helper Scripts
        
        This project is a small library of helper functionality and, more importantly, demo scripts, for interacting with the EnergyPlus API.
        The EnergyPlus Python API is not on PyPi (as of now), it simply comes with the EnergyPlus installation.
        This library makes that process a bit easier, and also offers a set of demos in the `eplus_api_helpers/demos` folder.
        
        A super minimal example using the helper class here:
        
        ```python
        from pathlib import Path
        from eplus_api_helpers.import_helper import EPlusAPIHelper
        
        helper = EPlusAPIHelper(Path('/path/to/EnergyPlus-22-2-0'))
        api = helper.get_api_instance()
        state = api.state_manager.new_state()
        return_value = api.runtime.run_energyplus(state, ['-D', helper.path_to_test_file('5ZoneAirCooled.idf')])
        ```
        
        In this example, the helper class is constructed simply by pointing it to a valid EnergyPlus install path (or build/Products directory for developers).
        The helper class is then used to get an EnergyPlus API instance, which is in turn used to create a new EnergyPlus "state".
        Finally, EnergyPlus is executed with some basic command line arguments passed into the `run_energyplus` function of the main EnergyPlus API.
        
        ## Code Quality
        
        [![Flake8](https://github.com/Myoldmopar/EnergyPlusAPIDemos/actions/workflows/flake8.yml/badge.svg)](https://github.com/Myoldmopar/EnergyPlusAPIDemos/actions/workflows/flake8.yml)
        
        Code is checked for style using GitHub Actions.
        
        ## Releases
        
        [![PyPIRelease](https://github.com/Myoldmopar/EnergyPlusAPIDemos/actions/workflows/release.yml/badge.svg)](https://github.com/Myoldmopar/EnergyPlusAPIDemos/actions/workflows/release.yml)
        
        When a release is tagged, a GitHub Action workflow will create a Python wheel and upload it to the PyPi server.
        
        To install into an existing Python environment, execute `pip install energyplus_api_helpers`
        
Platform: UNKNOWN
Description-Content-Type: text/markdown
