-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Rajendra Adhikari edited this page Dec 15, 2023
·
2 revisions
A library to run AWS Athena queries against BuildStock (ResStock and ComStock) runs.
- If you already have a python environment (python >= 3.10), skip to step 3.
- Create a conda environment
conda create -n bsq_env python=3.10
- Activate the environment
conda activate bsq_env
- Install
Standard Installation:
pip install git+https://github.com/NREL/buildstock-query
Full Installation (required to get access to upgrades_visualizer)
pip install git+https://github.com/NREL/buildstock-query#egg=buildstock-query[full]
If you want to contribute back to the repo, and maybe fix bugs / add functions as you work with buildstock_query, you can do this.
- Clone the repo to your computer:
git clone https://github.com/NREL/buildstock-query
- Navigate inside the buildstock-query clone, and checkout a new branch so you can modify/fix things
git checkout -b new_branch
- Create a python environment
conda create -n bsq_env python=3.10
- Activate your project environment (your project env needs python >= 3.10)
conda activate bsq_env
- Do dev install of the buildstock_query in editable mode to your env. You should be at project root.
pip install -e .[dev]