The Python RuntimeWhat’s in the Python Runtime?Libraries Available in the RuntimeUsing Third-Party LibrariesPackaging a Python Application in a Zip FileUsing virtualenvHow Virtualenv and Pip WorkAutomating the Virtual EnvironmentUsing the yattag LibraryBuilding the Virtualenv, Including a LibraryUsing the OpenWhisk REST APIAuthenticationConnecting to the API with curlUsing the OpenWhisk REST API in PythonInvocations, Activations, and Triggers in PythonBlocking Action InvocationNonblocking Trigger InvocationRetrieving the Result of an InvocationTesting Python ActionsRecreating the Python Runtime Environment LocallyUnit Test ExamplesInvoking the OpenWhisk API LocallyMocking RequestsSummary