René's URL Explorer Experiment


Title: feat: cache IANA TLDs for faster lookups by salty-horse · Pull Request #390 · python-validators/validators · GitHub

Open Graph Title: feat: cache IANA TLDs for faster lookups by salty-horse · Pull Request #390 · python-validators/validators

X Title: feat: cache IANA TLDs for faster lookups by salty-horse · Pull Request #390 · python-validators/validators

Description: Follow-up to the discussion in #362. I wasn't sure what was meant by using dataclass, as this isn't a data-first class. I used a regular class, instead. One thing that's obviously missing is tests....

Open Graph Description: Follow-up to the discussion in #362. I wasn't sure what was meant by using dataclass, as this isn't a data-first class. I used a regular class, instead. One thing that's obviously missi...

X Description: Follow-up to the discussion in #362. I wasn't sure what was meant by using dataclass, as this isn't a data-first class. I used a regular class, instead. One thing that's obv...

Opengraph URL: https://github.com/python-validators/validators/pull/390

X: @github

direct link

Domain: github.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:8640c584-4307-aa33-e7ed-5c45be6c8128
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDCF6:2C893:1D1CF:257E7:698DDA6E
html-safe-nonce34f69a220ccb81f60cbeda6c691f15cfec41eb898f78d9f53c470b1d14f5844c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0Y2OjJDODkzOjFEMUNGOjI1N0U3OjY5OEREQTZFIiwidmlzaXRvcl9pZCI6IjMzMTg5NjQxNTA0NDUzOTg2MzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacac4b4a84cec476911d68591c7bb7eb10d2b34c06c1c63d5a52289dec96ba1a05
hovercard-subject-tagpull_request:1971272916
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/python-validators/validators/390/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5a24bd8932cb1110505b94f74aff64d0038e734532ca9f81c40d6da108a2c0db/python-validators/validators/pull/390
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5a24bd8932cb1110505b94f74aff64d0038e734532ca9f81c40d6da108a2c0db/python-validators/validators/pull/390
og:image:altFollow-up to the discussion in #362. I wasn't sure what was meant by using dataclass, as this isn't a data-first class. I used a regular class, instead. One thing that's obviously missi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesalty-horse
hostnamegithub.com
expected-hostnamegithub.com
None51102c619bffd74bf95dcf3796f0e599d197c0206d70e9e8b5c241b1b9707ee3
turbo-cache-controlno-preview
go-importgithub.com/python-validators/validators git https://github.com/python-validators/validators.git
octolytics-dimension-user_id113113270
octolytics-dimension-user_loginpython-validators
octolytics-dimension-repository_id13642984
octolytics-dimension-repository_nwopython-validators/validators
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id13642984
octolytics-dimension-repository_network_root_nwopython-validators/validators
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
releasefcdeb213ace418f8a19d95dd6b93ba3337346169
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-validators/validators/pull/390#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-validators%2Fvalidators%2Fpull%2F390
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%2Fpython-validators%2Fvalidators%2Fpull%2F390
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python-validators%2Fvalidators
Reloadhttps://github.com/python-validators/validators/pull/390
Reloadhttps://github.com/python-validators/validators/pull/390
Reloadhttps://github.com/python-validators/validators/pull/390
python-validators https://github.com/python-validators
validatorshttps://github.com/python-validators/validators
Notifications https://github.com/login?return_to=%2Fpython-validators%2Fvalidators
Fork 169 https://github.com/login?return_to=%2Fpython-validators%2Fvalidators
Star 1.1k https://github.com/login?return_to=%2Fpython-validators%2Fvalidators
Code https://github.com/python-validators/validators
Issues 4 https://github.com/python-validators/validators/issues
Pull requests 3 https://github.com/python-validators/validators/pulls
Discussions https://github.com/python-validators/validators/discussions
Actions https://github.com/python-validators/validators/actions
Projects 0 https://github.com/python-validators/validators/projects
Wiki https://github.com/python-validators/validators/wiki
Security 0 https://github.com/python-validators/validators/security
Insights https://github.com/python-validators/validators/pulse
Code https://github.com/python-validators/validators
Issues https://github.com/python-validators/validators/issues
Pull requests https://github.com/python-validators/validators/pulls
Discussions https://github.com/python-validators/validators/discussions
Actions https://github.com/python-validators/validators/actions
Projects https://github.com/python-validators/validators/projects
Wiki https://github.com/python-validators/validators/wiki
Security https://github.com/python-validators/validators/security
Insights https://github.com/python-validators/validators/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-validators%2Fvalidators%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-validators%2Fvalidators%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python-validators/validators/pull/390#issue-comment-box
nandgatorhttps://github.com/nandgator
python-validators:masterhttps://github.com/python-validators/validators/tree/master
salty-horse:load_iana_tlds_to_memoryhttps://github.com/salty-horse/validators/tree/load_iana_tlds_to_memory
feat: cache IANA TLDs for faster lookups https://github.com/python-validators/validators/pull/390#top
nandgatorhttps://github.com/nandgator
python-validators:masterhttps://github.com/python-validators/validators/tree/master
salty-horse:load_iana_tlds_to_memoryhttps://github.com/salty-horse/validators/tree/load_iana_tlds_to_memory
Conversation 25 https://github.com/python-validators/validators/pull/390
Commits 5 https://github.com/python-validators/validators/pull/390/commits
Checks 0 https://github.com/python-validators/validators/pull/390/checks
Files changed 1 https://github.com/python-validators/validators/pull/390/files
https://github.co/hiddenchars
https://github.com/python-validators/validators/pull/{{ revealButtonHref }}
https://github.com/salty-horse
salty-horsehttps://github.com/salty-horse
Jul 16, 2024https://github.com/python-validators/validators/pull/390#issue-2410816717
#362https://github.com/python-validators/validators/pull/362
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/salty-horse
feat: add load_iana_tlds_to_memoryhttps://github.com/python-validators/validators/pull/390/commits/1c06c5bb218e626ebe10fdf3d09dfcfbd4db39ea
1c06c5bhttps://github.com/python-validators/validators/pull/390/commits/1c06c5bb218e626ebe10fdf3d09dfcfbd4db39ea
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
Jul 17, 2024https://github.com/python-validators/validators/pull/390#issuecomment-2232407492
Please reload this pagehttps://github.com/python-validators/validators/pull/390
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/salty-horse
salty-horsehttps://github.com/salty-horse
Jul 17, 2024https://github.com/python-validators/validators/pull/390#issuecomment-2232508133
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
Jul 17, 2024https://github.com/python-validators/validators/pull/390#issuecomment-2232551082
documentation showshttps://yozachar.github.io/pyvalidators/stable/install_and_use/#to-raise-validation-error
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/salty-horse
salty-horsehttps://github.com/salty-horse
Jul 17, 2024https://github.com/python-validators/validators/pull/390#issuecomment-2232965886
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/salty-horse
Updates based on discussionhttps://github.com/python-validators/validators/pull/390/commits/999dfac8859401dfa841e3758e89c0ec3ac90da3
999dfachttps://github.com/python-validators/validators/pull/390/commits/999dfac8859401dfa841e3758e89c0ec3ac90da3
https://github.com/salty-horse
salty-horsehttps://github.com/salty-horse
Jul 17, 2024https://github.com/python-validators/validators/pull/390#issuecomment-2233686025
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
Jul 18, 2024 https://github.com/python-validators/validators/pull/390#pullrequestreview-2184445645
View reviewed changes https://github.com/python-validators/validators/pull/390/files/999dfac8859401dfa841e3758e89c0ec3ac90da3
nandgatorhttps://github.com/nandgator
https://github.com/python-validators/validators/pull/390#pullrequestreview-2184445645
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-validators/validators/pull/390
src/validators/domain.pyhttps://github.com/python-validators/validators/pull/390/files/999dfac8859401dfa841e3758e89c0ec3ac90da3#diff-651b3aa3a93943662c8c3957c9cf27094d772de4e4b8a428eedb9296e57240d3
Please reload this pagehttps://github.com/python-validators/validators/pull/390
src/validators/domain.pyhttps://github.com/python-validators/validators/pull/390/files/999dfac8859401dfa841e3758e89c0ec3ac90da3#diff-651b3aa3a93943662c8c3957c9cf27094d772de4e4b8a428eedb9296e57240d3
Please reload this pagehttps://github.com/python-validators/validators/pull/390
src/validators/domain.pyhttps://github.com/python-validators/validators/pull/390/files/999dfac8859401dfa841e3758e89c0ec3ac90da3#diff-651b3aa3a93943662c8c3957c9cf27094d772de4e4b8a428eedb9296e57240d3
Please reload this pagehttps://github.com/python-validators/validators/pull/390
src/validators/domain.pyhttps://github.com/python-validators/validators/pull/390/files/999dfac8859401dfa841e3758e89c0ec3ac90da3#diff-651b3aa3a93943662c8c3957c9cf27094d772de4e4b8a428eedb9296e57240d3
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/salty-horse
More updateshttps://github.com/python-validators/validators/pull/390/commits/027319283566ce45326c3ecabad64718ed246d5f
0273192https://github.com/python-validators/validators/pull/390/commits/027319283566ce45326c3ecabad64718ed246d5f
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
Jul 19, 2024 https://github.com/python-validators/validators/pull/390#pullrequestreview-2187404379
View reviewed changes https://github.com/python-validators/validators/pull/390/files/027319283566ce45326c3ecabad64718ed246d5f
src/validators/domain.pyhttps://github.com/python-validators/validators/pull/390/files/027319283566ce45326c3ecabad64718ed246d5f#diff-651b3aa3a93943662c8c3957c9cf27094d772de4e4b8a428eedb9296e57240d3
Please reload this pagehttps://github.com/python-validators/validators/pull/390
src/validators/domain.pyhttps://github.com/python-validators/validators/pull/390/files/027319283566ce45326c3ecabad64718ed246d5f#diff-651b3aa3a93943662c8c3957c9cf27094d772de4e4b8a428eedb9296e57240d3
Please reload this pagehttps://github.com/python-validators/validators/pull/390
salty-horsehttps://github.com/salty-horse
July 19, 2024 09:43https://github.com/python-validators/validators/pull/390#commits-pushed-1fa4bb5
https://github.com/salty-horse
Update _full_cache null testhttps://github.com/python-validators/validators/pull/390/commits/1fa4bb52b27c537eb32ad1ad46bcb7d523b3cd2c
1fa4bb5https://github.com/python-validators/validators/pull/390/commits/1fa4bb52b27c537eb32ad1ad46bcb7d523b3cd2c
https://github.com/salty-horse
Simplify PYVLD_CACHE_TLD checkhttps://github.com/python-validators/validators/pull/390/commits/4618dd634f1c08650cdc63086c8ee9da1e5452a7
4618dd6https://github.com/python-validators/validators/pull/390/commits/4618dd634f1c08650cdc63086c8ee9da1e5452a7
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
Jul 19, 2024 https://github.com/python-validators/validators/pull/390#pullrequestreview-2187709325
View reviewed changes https://github.com/python-validators/validators/pull/390/files/4618dd634f1c08650cdc63086c8ee9da1e5452a7
https://github.com/salty-horse
salty-horsehttps://github.com/salty-horse
Jul 19, 2024https://github.com/python-validators/validators/pull/390#issuecomment-2238685052
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
Jul 19, 2024https://github.com/python-validators/validators/pull/390#issuecomment-2238687938
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
Jul 19, 2024https://github.com/python-validators/validators/pull/390#event-13571135905
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
2dc2a9ehttps://github.com/python-validators/validators/commit/2dc2a9e5412c92fd7f306d0b45171beb9e87a1e7
Jul 19, 2024https://github.com/python-validators/validators/pull/390#event-13571159105
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
Jul 19, 2024https://github.com/python-validators/validators/pull/390#issuecomment-2238692518
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/salty-horse
salty-horsehttps://github.com/salty-horse
Jul 19, 2024https://github.com/python-validators/validators/pull/390#issuecomment-2238700828
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
Aug 9, 2024 https://github.com/python-validators/validators/pull/390#ref-pullrequest-2454718295
feat: add extra schemes to url validation #396 https://github.com/python-validators/validators/pull/396
https://github.com/davidt99
davidt99https://github.com/davidt99
Sep 2, 2024 https://github.com/python-validators/validators/pull/390#ref-issue-2500479394
Release #398 https://github.com/python-validators/validators/issues/398
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
enhancement https://github.com/python-validators/validators/issues?q=state%3Aopen%20label%3Aenhancement
Sep 13, 2024https://github.com/python-validators/validators/pull/390#event-14241848122
https://github.com/nandgator
nandgatorhttps://github.com/nandgator
Sep 13, 2024https://github.com/python-validators/validators/pull/390#event-14241848607
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-validators%2Fvalidators%2Fpull%2F390
https://github.com/nandgator
nandgator https://github.com/nandgator
https://github.com/python-validators/validators/pull/390/files/4618dd634f1c08650cdc63086c8ee9da1e5452a7
https://github.com/nandgator
nandgator https://github.com/nandgator
enhancement https://github.com/python-validators/validators/issues?q=state%3Aopen%20label%3Aenhancement
Please reload this pagehttps://github.com/python-validators/validators/pull/390
https://github.com/salty-horse
https://github.com/nandgator
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.