An open source Python library for yield tables.
Download the latest version of the library from PyPI:
pip install openyieldtables
Import the library and load a yield table:
from openyieldtables.yieldtables import (
get_yield_table,
get_yield_tables_meta,
)
# Get the metadata of all available yield tables
yield_tables_meta = get_yield_tables_meta()
# Get the data of a yield table by its ID
yield_table_data = get_yield_table(1)
You can find the documentation here.
We are happy about every contribution! Please follow our contribution guideline.