-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add zipfile module #826
Add zipfile module #826
Conversation
✅ Deploy Preview for pixlet ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
- Also required for the MARTA sample app using GTFS protocol buffers as their - Basically just importing a starlib module, but wrapping slightly to make usage more consistent with other pixlet - The style that starlib used here is familiar from working with starlark at Google, but my guess is it's not familiar to most users, and it also isn't consistent with other starlib modules ¯\_(ツ)_/¯
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change @dinosaursrarr! This is fine for now, though I suspect the real issue will be folks wanting to download large zip files. We have some constraints around HTML body size in our backend though, so it shouldn't be an issue 🤞
Yeah, GTFS-realtime is the use case that keeps coming up. And it's just an infeasible amount of data to process, which is why I hadn't sent this in before. But at least this way developers can find that out for themselves (and locally), rather than feeling artificially limited by pixlet. |
Realised I had a few PRs on that updated docs on the main repo, but not here where more people will see them: - tidbyt/pixlet#826 - tidbyt/pixlet#827 - tidbyt/pixlet#853
Realised I had a few PRs on that updated docs on the main repo, but not here where more people will see them: - tidbyt/pixlet#826 - tidbyt/pixlet#827 - tidbyt/pixlet#853
Saw this requested in [Feature] Support for zip file processing #812. I did this ages ago for a project I never finished but realised it could be an easy win.
Basically just importing a starlib module, but wrapping slightly to make usage more consistent with other pixlet modules
The style that starlib used here is familiar from working with starlark at Google, but my guess is it's not familiar to most users, and it also isn't consistent with other starlib modules ¯_(ツ)_/¯