SDK Installation

Download the SDK

If you haven't already downloaded the SDK, click the Download link to the left, or go to GitHub and get the SDK and all it's contents.

Python Demo File or Jupyter Notebook

Under the main SDK folder, you'll see the AerisWeatherPythonDemo folder. This folder contains:

  • aeris_demo.py
  • aeris_demo_notebook.ipynb

The first, aeris_demo.py is a simple Python file. The other is a Jupyter notebook. Both of these resources contain pretty much the same sample code, so you can choose to use either or both to learn more about how the aerisweather Python library works.

Be aware that whichever path you choose to follow, you will need to install the aerisweather package to the Python environment that supports that resource. We used PyCharm during the creation of the SDK, and used it to run the aeris_demo.py project. For the notebook, we configured the kernel to point to PyCharm's Python venv and ran it from a command line (Yeah, some of us still use Windows).

Install the aerisweather Package

Next, let's get the aerisweather package installed to your Python environment.

To use pip for the installation:

    pip install -U --index-url https://pypi.org/simple/ aerisweather==#.#.#

Using PyCharm:

If you're using PyCharm as your IDE, go to Settings | Project Interpreter and click the green "+" in the upper right. Search for aerisweather and choose to install the package to your Python environment*.

 

*Note: If you're also initializing the Jupyter Kernel from PyCharm, this step will cover that too.

Last modified: July 30, 2020