Hi! I am very new to Pants but currently trying it...
# welcome
a
Hi! I am very new to Pants but currently trying it out hoping we can use it to consolidate our code in one repository. Goal is to make it easy to bootstrap new projects and use good engineering practices by default. I am a Data Engineer at Motatos (motatos.co.uk). Today I looked into how to package a set of Python modules in a way that it can be deployed to an Azure Function. Wondering if I could use any of the available plugins (archive, files)? If you have any suggestions I am happy to hear them 😊 It's a zip-file with the py-files and dependencies installed in a sub-directory.
👋 5
👍 1
e
Can you link the docs for Azure functions? We support GCF and AWS Lambda; so should be doable if not already working out of the box with PEX files.
Perhaps best to do so in new #general thread, but no big deal either way.
h
Welcome! Even better would be a GitHub discussion (https://github.com/pantsbuild/pants/discussions), so the content doesn't fall off the Slack cliff
That would be a good place for a convo about supporting Azure functions
a
Perfect! I'll start a discussion over there with my current findings 👍
h
Post a link here? 🙏
e
Yeah, if you start the discussion I can give you an answer that works with existing
pex_binary
targets over there ... as long as you're willing to add 1 line to your main.py or custom entry point script.
🤗 1
a
One line sounds reasonable 😜
e
Alright. I've never Azured except indirectly through GitHub actions, so my answer is a guess, but it should be pretty close. Please report back on the discussion how things go.