RDFLib / prez

Prez is a data-configurable Linked Data API framework that delivers profiles of Knowledge Graph data according to the Content Negotiation by Profile standard.
BSD 3-Clause "New" or "Revised" License
22 stars 8 forks source link

Azure function #230

Closed ashleysommer closed 3 months ago

ashleysommer commented 4 months ago

Not sure if this should be merged into Main or kept in a feature branch or just moved to docs. This contains the changes needed to turn prez into an Azure function app. It is based on the Azure Function App Python Runtime Container, the build is similar to the regular Prez Docker build, but with a couple of extra steps to make the installation directory and virtualenv directory compatible with Function Apps Python Runtime.

recalcitrantsupplant commented 3 months ago

Discussed with Ashley that we will merge this to main as the Azure function code/files are in addition to Prez's "regular" files so do not otherwise impact running prez directly via Python or in the uvicorn Docker image.