Python wrapper for the Alpine API

Welcome to the official Python library for the Alpine API. In this first release we’ve focused on a subset of the full API that we feel users will most frequently use.

This library can be used to automate, add, or simplify functionality of Alpine.

Documentation (and examples):
Source code:
Python Package Index:


pip install alpine
Using this package requires access to an Alpine instance. For more information, see the Alpine homepage:
We use the MIT license. See the LICENSE file on GitHub for details.


Running a workflow and downloading the results:

>>> import alpine as AlpineAPI
>>> session = AlpineAPI.APIClient(host, port, username, password)
>>> process_id =
>>> session.workfile.process.wait_until_finished(workfile_id, process_id)
>>> results =, process_id)


Indices and tables