René's URL Explorer Experiment


Title: Add type stubs. by hoefling · Pull Request #404 · msgpack/msgpack-python · GitHub

Open Graph Title: Add type stubs. by hoefling · Pull Request #404 · msgpack/msgpack-python

X Title: Add type stubs. by hoefling · Pull Request #404 · msgpack/msgpack-python

Description: This PR adds PEP 561 compatibility to msgpack. I keep the type stubs from this PR for development with msgpack. The idea is to make them available to everyone by adding them to the distribution. There are no changes to the msgpack code itself, the stub is completely separated from the real code. If you are against adding type stubs, I'd still be grateful for a review that would improve the stub quality - maybe you have a good advice on how to deal with the remaining Any types.

Open Graph Description: This PR adds PEP 561 compatibility to msgpack. I keep the type stubs from this PR for development with msgpack. The idea is to make them available to everyone by adding them to the distribution. Th...

X Description: This PR adds PEP 561 compatibility to msgpack. I keep the type stubs from this PR for development with msgpack. The idea is to make them available to everyone by adding them to the distribution. Th...

Opengraph URL: https://github.com/msgpack/msgpack-python/pull/404

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:eb196574-4488-001e-fb0e-cce0a584a6ca
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id97EA:1FEF54:431B09C:5A014D2:696DF015
html-safe-nonce3a680e8f1f037f870352d7f64a674994cb95e9aed399d4dfc1c81e31b23e1a1a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5N0VBOjFGRUY1NDo0MzFCMDlDOjVBMDE0RDI6Njk2REYwMTUiLCJ2aXNpdG9yX2lkIjoiMzg4NTI4NTAyOTE2MTE2NTAxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac8c3e2a7bb61f79d427c804f2aa1fe253a28a27ef6121e2e7ab3811b7dcfb70ec
hovercard-subject-tagpull_request:372638293
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/msgpack/msgpack-python/pull/404/files
twitter:imagehttps://avatars.githubusercontent.com/u/4455652?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/4455652?s=400&v=4
og:image:altThis PR adds PEP 561 compatibility to msgpack. I keep the type stubs from this PR for development with msgpack. The idea is to make them available to everyone by adding them to the distribution. Th...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None4922b452d03cd8dbce479d866a11bc25b59ef6ee2da23aa9b0ddefa6bd4d0064
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/msgpack/msgpack-python git https://github.com/msgpack/msgpack-python.git
octolytics-dimension-user_id198264
octolytics-dimension-user_loginmsgpack
octolytics-dimension-repository_id2242705
octolytics-dimension-repository_nwomsgpack/msgpack-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2242705
octolytics-dimension-repository_network_root_nwomsgpack/msgpack-python
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7e5ae23c70136152637ceee8d6faceb35596ec46
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/msgpack/msgpack-python/pull/404/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-python%2Fpull%2F404%2Ffiles
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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-python%2Fpull%2F404%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=msgpack%2Fmsgpack-python
Reloadhttps://github.com/msgpack/msgpack-python/pull/404/files
Reloadhttps://github.com/msgpack/msgpack-python/pull/404/files
Reloadhttps://github.com/msgpack/msgpack-python/pull/404/files
msgpack https://github.com/msgpack
msgpack-pythonhttps://github.com/msgpack/msgpack-python
Notifications https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-python
Fork 238 https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-python
Star 2.1k https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-python
Code https://github.com/msgpack/msgpack-python
Issues 3 https://github.com/msgpack/msgpack-python/issues
Pull requests 3 https://github.com/msgpack/msgpack-python/pulls
Discussions https://github.com/msgpack/msgpack-python/discussions
Actions https://github.com/msgpack/msgpack-python/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/msgpack/msgpack-python/security
Please reload this pagehttps://github.com/msgpack/msgpack-python/pull/404/files
Insights https://github.com/msgpack/msgpack-python/pulse
Code https://github.com/msgpack/msgpack-python
Issues https://github.com/msgpack/msgpack-python/issues
Pull requests https://github.com/msgpack/msgpack-python/pulls
Discussions https://github.com/msgpack/msgpack-python/discussions
Actions https://github.com/msgpack/msgpack-python/actions
Security https://github.com/msgpack/msgpack-python/security
Insights https://github.com/msgpack/msgpack-python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmsgpack%2Fmsgpack-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-python%2Fissues%2Fnew%2Fchoose
hoeflinghttps://github.com/hoefling
msgpack:masterhttps://github.com/msgpack/msgpack-python/tree/master
hoefling:type-stubshttps://github.com/hoefling/msgpack-python/tree/type-stubs
Conversation 3 https://github.com/msgpack/msgpack-python/pull/404
Commits 5 https://github.com/msgpack/msgpack-python/pull/404/commits
Checks 0 https://github.com/msgpack/msgpack-python/pull/404/checks
Files changed https://github.com/msgpack/msgpack-python/pull/404/files
Please reload this pagehttps://github.com/msgpack/msgpack-python/pull/404/files
Add type stubs. https://github.com/msgpack/msgpack-python/pull/404/files#top
Show all changes 5 commits https://github.com/msgpack/msgpack-python/pull/404/files
24d01f8 add type stub for the msgpack package hoefling Feb 7, 2020 https://github.com/msgpack/msgpack-python/pull/404/commits/24d01f8a41ececa4b9fe564e0fb5607cebbc9a76
8b9e871 add py.typed marker for PEP 561 compatibility hoefling Feb 7, 2020 https://github.com/msgpack/msgpack-python/pull/404/commits/8b9e8716ad14b3467656aa0a55b254e85cb15aa1
2bba914 include type stubs in the distribution hoefling Feb 7, 2020 https://github.com/msgpack/msgpack-python/pull/404/commits/2bba914a6dbe281f436e33eb61df8ec41aedf9e5
547beb6 move the unpacker type var inside the unpacker class to ensure clean … hoefling Feb 7, 2020 https://github.com/msgpack/msgpack-python/pull/404/commits/547beb6202d4ac96c9e685cf9a7dddb065072f41
c7f6c8b updated according to signature changes in 1.0 hoefling Feb 21, 2020 https://github.com/msgpack/msgpack-python/pull/404/commits/c7f6c8b9f8bbf2dfd11fdd9997c9c741b8ab7056
Clear filters https://github.com/msgpack/msgpack-python/pull/404/files
Please reload this pagehttps://github.com/msgpack/msgpack-python/pull/404/files
Please reload this pagehttps://github.com/msgpack/msgpack-python/pull/404/files
__init__.pyi https://github.com/msgpack/msgpack-python/pull/404/files#diff-62e618cfdcf83333386c304afec1051896e4df412ea6b622fc3b99a29b0d233d
py.typed https://github.com/msgpack/msgpack-python/pull/404/files#diff-89e3e17e9338840f0eb3a94ffdbaf090bf0b89edb917a64ed9341e8deb591f04
setup.py https://github.com/msgpack/msgpack-python/pull/404/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
msgpack/__init__.pyihttps://github.com/msgpack/msgpack-python/pull/404/files#diff-62e618cfdcf83333386c304afec1051896e4df412ea6b622fc3b99a29b0d233d
View file https://github.com/hoefling/msgpack-python/blob/c7f6c8b9f8bbf2dfd11fdd9997c9c741b8ab7056/msgpack/__init__.pyi
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-python/pull/404/{{ revealButtonHref }}
msgpack/py.typedhttps://github.com/msgpack/msgpack-python/pull/404/files#diff-89e3e17e9338840f0eb3a94ffdbaf090bf0b89edb917a64ed9341e8deb591f04
View file https://github.com/hoefling/msgpack-python/blob/c7f6c8b9f8bbf2dfd11fdd9997c9c741b8ab7056/msgpack/py.typed
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-python/pull/404/{{ revealButtonHref }}
setup.pyhttps://github.com/msgpack/msgpack-python/pull/404/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
View file https://github.com/hoefling/msgpack-python/blob/c7f6c8b9f8bbf2dfd11fdd9997c9c741b8ab7056/setup.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/msgpack/msgpack-python/pull/404/{{ revealButtonHref }}
https://github.com/msgpack/msgpack-python/pull/404/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
https://github.com/msgpack/msgpack-python/pull/404/files#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7
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.