Functions Python Runtime | DigitalOcean Documentation
Some more complex example Python functions are available on GitHubAdd Packages With a Virtual Environment. Python functions with external dependencies not provided by the runtime can be deployed with a build script and a requirements.txt file.