Skip to content
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

Merged
merged 1 commit into from
Jul 31, 2023
Merged

Add zipfile module #826

merged 1 commit into from
Jul 31, 2023

Conversation

dinosaursrarr
Copy link
Contributor

@dinosaursrarr dinosaursrarr commented Jul 27, 2023

  • 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 ¯_(ツ)_/¯

@netlify
Copy link

netlify bot commented Jul 27, 2023

Deploy Preview for pixlet ready!

Name Link
🔨 Latest commit 9e3e031
🔍 Latest deploy log https://app.netlify.com/sites/pixlet/deploys/64c29a941721b40008515256
😎 Deploy Preview https://deploy-preview-826--pixlet.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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 ¯\_(ツ)_/¯
Copy link
Contributor

@betterengineering betterengineering left a 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 🤞

@betterengineering betterengineering merged commit d44879b into tidbyt:main Jul 31, 2023
11 checks passed
@dinosaursrarr
Copy link
Contributor Author

dinosaursrarr commented Jul 31, 2023

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.

dinosaursrarr added a commit to dinosaursrarr/tidbyt.dev that referenced this pull request Apr 27, 2024
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
rohansingh pushed a commit to tidbyt/tidbyt.dev that referenced this pull request May 15, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants