René's URL Explorer Experiment


Title: Streaming input by kouk · Pull Request #2 · allanlei/python-zipstream · GitHub

Open Graph Title: Streaming input by kouk · Pull Request #2 · allanlei/python-zipstream

X Title: Streaming input by kouk · Pull Request #2 · allanlei/python-zipstream

Description: this PR provides support for using data from file-like objects (e.g. streams, sockets, etc) as the contents of the zip entries.

Open Graph Description: this PR provides support for using data from file-like objects (e.g. streams, sockets, etc) as the contents of the zip entries.

X Description: this PR provides support for using data from file-like objects (e.g. streams, sockets, etc) as the contents of the zip entries.

Opengraph URL: https://github.com/allanlei/python-zipstream/pull/2

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:1b0f8adf-24c9-add8-9c39-6d456224bb32
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC07A:7E226:13EDCE7:1AB5BA6:6973306A
html-safe-noncea53d5d32978a4814e5a5c5b22588fbd6b94c299a6f0418f618d56e22463da051
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMDdBOjdFMjI2OjEzRURDRTc6MUFCNUJBNjo2OTczMzA2QSIsInZpc2l0b3JfaWQiOiI4NjUyNDU5NjM2NzQyNjMxNTMwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca6c55c0130a52c94b96940dabfc89805dd252719b54ef5860c8283f0950e9427
hovercard-subject-tagpull_request:14274657
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/allanlei/python-zipstream/2/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/2a0aee092e424b54c37696223c2163665dbb40c71147d79ca575161e53296e2c/allanlei/python-zipstream/pull/2
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2a0aee092e424b54c37696223c2163665dbb40c71147d79ca575161e53296e2c/allanlei/python-zipstream/pull/2
og:image:altthis PR provides support for using data from file-like objects (e.g. streams, sockets, etc) as the contents of the zip entries.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekouk
hostnamegithub.com
expected-hostnamegithub.com
None44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4
turbo-cache-controlno-preview
go-importgithub.com/allanlei/python-zipstream git https://github.com/allanlei/python-zipstream.git
octolytics-dimension-user_id391251
octolytics-dimension-user_loginallanlei
octolytics-dimension-repository_id14192463
octolytics-dimension-repository_nwoallanlei/python-zipstream
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id9252540
octolytics-dimension-repository_parent_nwoSpiderOak/ZipStream
octolytics-dimension-repository_network_root_id9252540
octolytics-dimension-repository_network_root_nwoSpiderOak/ZipStream
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea5e2b48bd1260476599758f5d253b5d24092ab84
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallanlei%2Fpython-zipstream%2Fpull%2F2
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallanlei%2Fpython-zipstream%2Fpull%2F2
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=allanlei%2Fpython-zipstream
Reloadhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2
Reloadhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2
Reloadhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2
allanlei https://patch-diff.githubusercontent.com/allanlei
python-zipstreamhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream
SpiderOak/ZipStreamhttps://patch-diff.githubusercontent.com/SpiderOak/ZipStream
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fallanlei%2Fpython-zipstream
Fork 33 https://patch-diff.githubusercontent.com/login?return_to=%2Fallanlei%2Fpython-zipstream
Star 132 https://patch-diff.githubusercontent.com/login?return_to=%2Fallanlei%2Fpython-zipstream
Code https://patch-diff.githubusercontent.com/allanlei/python-zipstream
Issues 7 https://patch-diff.githubusercontent.com/allanlei/python-zipstream/issues
Pull requests 6 https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pulls
Actions https://patch-diff.githubusercontent.com/allanlei/python-zipstream/actions
Projects 0 https://patch-diff.githubusercontent.com/allanlei/python-zipstream/projects
Security 0 https://patch-diff.githubusercontent.com/allanlei/python-zipstream/security
Insights https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pulse
Code https://patch-diff.githubusercontent.com/allanlei/python-zipstream
Issues https://patch-diff.githubusercontent.com/allanlei/python-zipstream/issues
Pull requests https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pulls
Actions https://patch-diff.githubusercontent.com/allanlei/python-zipstream/actions
Projects https://patch-diff.githubusercontent.com/allanlei/python-zipstream/projects
Security https://patch-diff.githubusercontent.com/allanlei/python-zipstream/security
Insights https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fallanlei%2Fpython-zipstream%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fallanlei%2Fpython-zipstream%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2#issue-comment-box
koukhttps://patch-diff.githubusercontent.com/kouk
allanlei:masterhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/tree/master
longaccess:streaminputhttps://patch-diff.githubusercontent.com/longaccess/python-zipstream/tree/streaminput
Streaming input https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2#top
koukhttps://patch-diff.githubusercontent.com/kouk
allanlei:masterhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/tree/master
longaccess:streaminputhttps://patch-diff.githubusercontent.com/longaccess/python-zipstream/tree/streaminput
Conversation 2 https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2
Commits 13 https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits
Checks 0 https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/checks
Files changed https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/files
Please reload this pagehttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/kouk
koukhttps://patch-diff.githubusercontent.com/kouk
Apr 2, 2014https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2#issue-30680998
Please reload this pagehttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2
koukhttps://patch-diff.githubusercontent.com/kouk
March 10, 2014 15:33https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2#commits-pushed-522fa8a
https://patch-diff.githubusercontent.com/kouk
add unit tests for taking input from file-like objectshttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/522fa8a8dcba1bf0db4e2e1ad6757819ea478bca
522fa8ahttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/522fa8a8dcba1bf0db4e2e1ad6757819ea478bca
https://patch-diff.githubusercontent.com/kouk
support file-like objects as well as pathnameshttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/27ea172688ec7e0841ec3a0bb29da4395ed1d7d8
27ea172https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/27ea172688ec7e0841ec3a0bb29da4395ed1d7d8
https://patch-diff.githubusercontent.com/kouk
make sure no file has an unsupported mtimehttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/cd9f4618875b1d3e2350602811c9b3351af12361
cd9f461https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/cd9f4618875b1d3e2350602811c9b3351af12361
https://patch-diff.githubusercontent.com/kouk
support pseudo-files that don't have filenohttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/e0152aa06a8d4dd86b1be98129bc2f882b3d1704
e0152aahttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/e0152aa06a8d4dd86b1be98129bc2f882b3d1704
https://patch-diff.githubusercontent.com/allanlei
allanleihttps://patch-diff.githubusercontent.com/allanlei
Apr 7, 2014https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2#issuecomment-39690793
@koukhttps://github.com/kouk
Please reload this pagehttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2
https://patch-diff.githubusercontent.com/kouk
koukhttps://patch-diff.githubusercontent.com/kouk
Apr 7, 2014https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2#issuecomment-39702650
Please reload this pagehttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2
koukhttps://patch-diff.githubusercontent.com/kouk
May 20, 2014 15:09https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2#commits-pushed-aee13e0
https://patch-diff.githubusercontent.com/kouk
be more resilient when stating pseudo fileshttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/aee13e0b617b433b2fb4453e19c883f32cac1b53
aee13e0https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/aee13e0b617b433b2fb4453e19c883f32cac1b53
https://patch-diff.githubusercontent.com/kouk
encode string to bytes for py3https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/b5719152418303e9b8f8b10368ef3a1794815fa2
b571915https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/b5719152418303e9b8f8b10368ef3a1794815fa2
https://patch-diff.githubusercontent.com/kouk
don't use unittest.skipUnlesshttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/24805fb4b1e39e8fa8fe8d18edc136effd2f5a16
24805fbhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/24805fb4b1e39e8fa8fe8d18edc136effd2f5a16
https://patch-diff.githubusercontent.com/kouk
more python3 bytes fixinghttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/c1e73278733c7acd70b97af901abb8f0273109c2
c1e7327https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/c1e73278733c7acd70b97af901abb8f0273109c2
https://patch-diff.githubusercontent.com/kouk
better fix for python 3 string encoding problemshttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/bf0ff4d3a4b4ca49c20e8f6132c45b1a030f4bc4
bf0ff4dhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/bf0ff4d3a4b4ca49c20e8f6132c45b1a030f4bc4
https://patch-diff.githubusercontent.com/kouk
Support specifying file size before handhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/189e0e58225238d249aee78e0beeb59e7a7eca04
189e0e5https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/189e0e58225238d249aee78e0beeb59e7a7eca04
https://patch-diff.githubusercontent.com/kouk
no need to overwrite file_size if specifiedhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/bf4fd2082cd1daf90d0359841a5e3368fb61a233
bf4fd20https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/bf4fd2082cd1daf90d0359841a5e3368fb61a233
https://patch-diff.githubusercontent.com/kouk
change mode b to rb for pypy compatibilityhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/213abba20b282676bcc152bba31601f42ee76513
213abbahttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/213abba20b282676bcc152bba31601f42ee76513
https://patch-diff.githubusercontent.com/kouk
refactor stream input method, create separate APIhttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/452c5da041f376239b5c7b5bc911af6c3f39e8e3
452c5dahttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2/commits/452c5da041f376239b5c7b5bc911af6c3f39e8e3
https://patch-diff.githubusercontent.com/vstoykov
vstoykovhttps://patch-diff.githubusercontent.com/vstoykov
Apr 19, 2017 https://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2#ref-issue-109332225
Add file objects rather than paths? #14 https://patch-diff.githubusercontent.com/allanlei/python-zipstream/issues/14
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fallanlei%2Fpython-zipstream%2Fpull%2F2
Please reload this pagehttps://patch-diff.githubusercontent.com/allanlei/python-zipstream/pull/2
https://patch-diff.githubusercontent.com/kouk
https://patch-diff.githubusercontent.com/allanlei
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.