Skip to main content

Python Worker Extension

Project description

# Python worker extension for running OL engine function

More details about the Python worker extension: [azure function doc](https://docs.microsoft.com/en-au/azure/azure-functions/functions-reference-python?tabs=asgi%2Cazurecli-linux%2Capplication-level#python-worker-extensions)

## Using this extension This extension process that runs in Azure Functions lets us do some setup in our [engine function app](https://github.com/OpenLearningNet/OpenLearningEngine):

  • django.setup()

  • copy hosts alias to the function running vm

To use this extension, you only need to from engine_function_extension import AppExtension to your function script file, see [this example](https://github.com/OpenLearningNet/OpenLearningEngine/blob/master/AZ_TaskHandler/main.py).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

engine-function-extension-1.0.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

engine_function_extension-1.0.2-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file engine-function-extension-1.0.2.tar.gz.

File metadata

File hashes

Hashes for engine-function-extension-1.0.2.tar.gz
Algorithm Hash digest
SHA256 86c54a73cc4267ffe1894f3f62ed655956a02b073c7e5b7b29256e238fa3da7d
MD5 cd99e86adbae85b0a9b5139889298d56
BLAKE2b-256 52f79e65578b5204d404825062ea3e1d00dfb717fa0915e673660e13964bb245

See more details on using hashes here.

File details

Details for the file engine_function_extension-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for engine_function_extension-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aa7c4857d4aa24559eb89fe52136fad68e497f8cf10c384d16b9d86da5bb4d51
MD5 9190a70a8d139ed80b6b2c9d6f6a1285
BLAKE2b-256 514b83f267b37da3b8a353920a8b5044448f6ae0cdf52952174ad5c37547cb35

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page