René's URL Explorer Experiment


Title: Defer imports for faster overall import time: 5 ms -> 3 ms by hugovk · Pull Request #238 · python-humanize/humanize · GitHub

Open Graph Title: Defer imports for faster overall import time: 5 ms -> 3 ms by hugovk · Pull Request #238 · python-humanize/humanize

X Title: Defer imports for faster overall import time: 5 ms -> 3 ms by hugovk · Pull Request #238 · python-humanize/humanize

Description: Python humanize functions. Contribute to python-humanize/humanize development by creating an account on GitHub.

Open Graph Description: Follow on from #234. Before: 5 ms After: 3 ms

X Description: Follow on from #234. Before: 5 ms After: 3 ms

Opengraph URL: https://github.com/python-humanize/humanize/pull/238

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:905a5145-7b6a-90b5-747c-e475b6f0e621
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC82C:1418:3513852:4BC35B8:6A569D19
html-safe-nonce518c8267c0f0d87d124e761a239a837c69ce385854c1599b07437b0b33b85d5a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDODJDOjE0MTg6MzUxMzg1Mjo0QkMzNUI4OjZBNTY5RDE5IiwidmlzaXRvcl9pZCI6Ijg1NzMxOTc2MDg3NDI3MjI4NDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacccabbdd753285f97fb55272cd3c77982ca1d273c9387e85c2cf56d0c5ae4de29
hovercard-subject-tagpull_request:2336346014
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-humanize/humanize/238/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e502f7ef41f24d71e1bb057b70efbca3df7dc63bc2cc6a6ce7615dfeaea62bf0/python-humanize/humanize/pull/238
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e502f7ef41f24d71e1bb057b70efbca3df7dc63bc2cc6a6ce7615dfeaea62bf0/python-humanize/humanize/pull/238
og:image:altFollow on from #234. Before: 5 ms After: 3 ms
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamehugovk
hostnamegithub.com
expected-hostnamegithub.com
None647a25f437e2f54eccdd162bd007c8ae70f4235c4125dba0f4518747cc8b9615
turbo-cache-controlno-cache
go-importgithub.com/python-humanize/humanize git https://github.com/python-humanize/humanize.git
octolytics-dimension-user_id62149795
octolytics-dimension-user_loginpython-humanize
octolytics-dimension-repository_id466683324
octolytics-dimension-repository_nwopython-humanize/humanize
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id466683324
octolytics-dimension-repository_network_root_nwopython-humanize/humanize
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
release05adb86a60ce3d701e556eded3ab26300ec6bcc4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-humanize/humanize/pull/238#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-humanize%2Fhumanize%2Fpull%2F238
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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-humanize%2Fhumanize%2Fpull%2F238
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-humanize%2Fhumanize
Reloadhttps://github.com/python-humanize/humanize/pull/238
Reloadhttps://github.com/python-humanize/humanize/pull/238
Reloadhttps://github.com/python-humanize/humanize/pull/238
Please reload this pagehttps://github.com/python-humanize/humanize/pull/238
python-humanize https://github.com/python-humanize
humanizehttps://github.com/python-humanize/humanize
Please reload this pagehttps://github.com/python-humanize/humanize/pull/238
Notifications https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Fork 116 https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Star 737 https://github.com/login?return_to=%2Fpython-humanize%2Fhumanize
Code https://github.com/python-humanize/humanize
Issues 12 https://github.com/python-humanize/humanize/issues
Pull requests 13 https://github.com/python-humanize/humanize/pulls
Actions https://github.com/python-humanize/humanize/actions
Security and quality 0 https://github.com/python-humanize/humanize/security
Insights https://github.com/python-humanize/humanize/pulse
Code https://github.com/python-humanize/humanize
Issues https://github.com/python-humanize/humanize/issues
Pull requests https://github.com/python-humanize/humanize/pulls
Actions https://github.com/python-humanize/humanize/actions
Security and quality https://github.com/python-humanize/humanize/security
Insights https://github.com/python-humanize/humanize/pulse
hugovkhttps://github.com/hugovk
python-humanize:mainhttps://github.com/python-humanize/humanize/tree/main
hugovk:lazy-mathhttps://github.com/hugovk/humanize/tree/lazy-math
Conversationhttps://github.com/python-humanize/humanize/pull/238
Commits2 (2)https://github.com/python-humanize/humanize/pull/238/commits
Checkshttps://github.com/python-humanize/humanize/pull/238/checks
Files changedhttps://github.com/python-humanize/humanize/pull/238/files
Defer imports for faster overall import time: 5 ms -> 3 mshttps://github.com/python-humanize/humanize/pull/238#top
hugovkhttps://github.com/hugovk
python-humanize:mainhttps://github.com/python-humanize/humanize/tree/main
hugovk:lazy-mathhttps://github.com/hugovk/humanize/tree/lazy-math
https://github.com/hugovk
hugovkhttps://github.com/hugovk
Feb 14, 2025https://github.com/python-humanize/humanize/pull/238#issue-2853917060
#234https://github.com/python-humanize/humanize/pull/234
https://private-user-images.githubusercontent.com/1324225/413357747-29c6ed48-ea6f-466c-aac9-74e8ec67904a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQwNjE1MDksIm5iZiI6MTc4NDA2MTIwOSwicGF0aCI6Ii8xMzI0MjI1LzQxMzM1Nzc0Ny0yOWM2ZWQ0OC1lYTZmLTQ2NmMtYWFjOS03NGU4ZWM2NzkwNGEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDcxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA3MTRUMjAzMzI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NjZjOWNjMTY0NWZjNTI2MDhlZjNjOWRmZGYzMGU1YTc5ZGFhNDI4MTZiNmIxZGRlNTdjYTcyYzVlYmE3MTdhYyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.3NtJ_j8TmizD-7mDCcZtjNHLFvJ-HSUhYNexky-zip4
https://private-user-images.githubusercontent.com/1324225/413357881-e686b34d-51d3-4fbf-9d24-97d8d3f741f6.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQwNjE1MDksIm5iZiI6MTc4NDA2MTIwOSwicGF0aCI6Ii8xMzI0MjI1LzQxMzM1Nzg4MS1lNjg2YjM0ZC01MWQzLTRmYmYtOWQyNC05N2Q4ZDNmNzQxZjYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDcxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA3MTRUMjAzMzI5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZmY2NzQ1OWY3ZGE2OGY3YzE3ODBlMzYxNzdkMDkwMTUxMWUyYzEwMzlmYWY2M2U1M2ViMjFmZDkyM2ViOWQ1NyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.czpq2u8i0ngdZW0HRmZuqibf-2aqkAlNoC9hmEIE0tM
Please reload this pagehttps://github.com/python-humanize/humanize/pull/238
hugovkhttps://github.com/hugovk
February 14, 2025 16:43https://github.com/python-humanize/humanize/pull/238#commits-pushed-a85c171
https://github.com/hugovk
Defer importing math to improve startup speedhttps://github.com/python-humanize/humanize/pull/238/commits/a85c17149a379df26e717fca4edfaaa3e708573f
a85c171https://github.com/python-humanize/humanize/pull/238/commits/a85c17149a379df26e717fca4edfaaa3e708573f
https://github.com/hugovk
Defer importing datetime to improve startup speedhttps://github.com/python-humanize/humanize/pull/238/commits/aaef9641b4e1dcc797b0012a2d5c7a48538a3c29
aaef964https://github.com/python-humanize/humanize/pull/238/commits/aaef9641b4e1dcc797b0012a2d5c7a48538a3c29
https://github.com/hugovk
hugovkhttps://github.com/hugovk
changelog: Changed https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Changed%22
Feb 14, 2025https://github.com/python-humanize/humanize/pull/238#event-16312938959
https://github.com/hugovk
hugovkhttps://github.com/hugovk
February 14, 2025 14:51https://github.com/python-humanize/humanize/pull/238#event-16312944914
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Feb 14, 2025https://github.com/python-humanize/humanize/pull/238#issuecomment-2659530204
Please reload this pagehttps://github.com/python-humanize/humanize/pull/238
Codecovhttps://app.codecov.io/gh/python-humanize/humanize/pull/238?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
(4762bdd)https://app.codecov.io/gh/python-humanize/humanize/commit/4762bddf8e4ceb065f1b2899b73e83bf1023ebc4?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
(aaef964)https://app.codecov.io/gh/python-humanize/humanize/commit/aaef9641b4e1dcc797b0012a2d5c7a48538a3c29?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Flaghttps://app.codecov.io/gh/python-humanize/humanize/pull/238/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
macos-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/238/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
ubuntu-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/238/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
windows-latesthttps://app.codecov.io/gh/python-humanize/humanize/pull/238/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Click herehttps://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize#carryforward-flags-in-the-pull-request-comment
☔ View full report in Codecov by Sentryhttps://app.codecov.io/gh/python-humanize/humanize/pull/238?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Share it herehttps://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-humanize
Test Analyticshttps://docs.codecov.com/docs/test-analytics
Please reload this pagehttps://github.com/python-humanize/humanize/pull/238
https://github.com/hugovk
hugovkhttps://github.com/hugovk
a0602c7https://github.com/python-humanize/humanize/commit/a0602c70bb6e11322107b51114333bab7adab021
Feb 14, 2025https://github.com/python-humanize/humanize/pull/238#event-16312966589
https://github.com/hugovk
hugovkhttps://github.com/hugovk
February 14, 2025 14:52https://github.com/python-humanize/humanize/pull/238#event-16312966798
https://github.co/hiddenchars
https://github.com/python-humanize/humanize/pull/{{ revealButtonHref }}
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-humanize%2Fhumanize%2Fpull%2F238
changelog: Changed https://github.com/python-humanize/humanize/issues?q=state%3Aopen%20label%3A%22changelog%3A%20Changed%22
Please reload this pagehttps://github.com/python-humanize/humanize/pull/238
https://github.com/hugovk
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.