René's URL Explorer Experiment


Title: Add `usethis show license` command by Copilot · Pull Request #1663 · usethis-python/usethis-python · GitHub

Open Graph Title: Add `usethis show license` command by Copilot · Pull Request #1663 · usethis-python/usethis-python

X Title: Add `usethis show license` command by Copilot · Pull Request #1663 · usethis-python/usethis-python

Description: Add identify[license] as a project dependency Add license detection error class to src/usethis/_integrations/project/errors.py Create src/usethis/_integrations/project/license.py with license detection logic (heuristics: identify package → pyproject.toml license field → classifiers) Add show_license() to src/usethis/_core/show.py Add license CLI command to src/usethis/_ui/interface/show.py Write unit tests for license detection logic (27 tests) Write CLI integration tests for usethis show license (4 tests) Run static checks and update auto-generated docs (prek ✓, basedpyright ✓) Run code review and address feedback (narrowed exception handling, single backticks in docstrings) Run CodeQL checks (0 alerts) Resolves #1670 Skills used usethis-qa-static-checks — for running prek and basedpyright

Open Graph Description: Add identify[license] as a project dependency Add license detection error class to src/usethis/_integrations/project/errors.py Create src/usethis/_integrations/project/license.py with license det...

X Description: Add identify[license] as a project dependency Add license detection error class to src/usethis/_integrations/project/errors.py Create src/usethis/_integrations/project/license.py with license det...

Opengraph URL: https://github.com/usethis-python/usethis-python/pull/1663

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:24d6010b-de1e-25c7-5772-b03f6c627656
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA4DE:383777:70E98CB:9F292A4:6A500294
html-safe-noncef85f8fd5d1e178575dce329d046cd58295469e836993e42d8bc9a4ffc3254b10
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNERFOjM4Mzc3Nzo3MEU5OENCOjlGMjkyQTQ6NkE1MDAyOTQiLCJ2aXNpdG9yX2lkIjoiMzY1MDI3NTQxNTExNTY5NDc0MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4853f3f2d762e3ed44fffba5b034941a4ec98d356b96861fe459ac4e7c58132b
hovercard-subject-tagpull_request:3469202470
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/usethis-python/usethis-python/pull/1663/files
twitter:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/in/1143301?s=400&v=4
og:image:altAdd identify[license] as a project dependency Add license detection error class to src/usethis/_integrations/project/errors.py Create src/usethis/_integrations/project/license.py with license det...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None56eec25a3430492dd6ec2a480eb33256a0da5192d5714b0db4f5ab5f33203d94
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/usethis-python/usethis-python git https://github.com/usethis-python/usethis-python.git
octolytics-dimension-user_id216362695
octolytics-dimension-user_loginusethis-python
octolytics-dimension-repository_id842189705
octolytics-dimension-repository_nwousethis-python/usethis-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id842189705
octolytics-dimension-repository_network_root_nwousethis-python/usethis-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
releasee155b8a71f9284454f73118dfe5e634e74f7afb3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/usethis-python/usethis-python/pull/1663/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fusethis-python%2Fusethis-python%2Fpull%2F1663%2Ffiles
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%2Fusethis-python%2Fusethis-python%2Fpull%2F1663%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=usethis-python%2Fusethis-python
Reloadhttps://github.com/usethis-python/usethis-python/pull/1663/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/1663/files
Reloadhttps://github.com/usethis-python/usethis-python/pull/1663/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1663/files
usethis-python https://github.com/usethis-python
usethis-pythonhttps://github.com/usethis-python/usethis-python
Notifications https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Fork 5 https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Star 19 https://github.com/login?return_to=%2Fusethis-python%2Fusethis-python
Code https://github.com/usethis-python/usethis-python
Issues 163 https://github.com/usethis-python/usethis-python/issues
Pull requests 4 https://github.com/usethis-python/usethis-python/pulls
Actions https://github.com/usethis-python/usethis-python/actions
Security and quality 0 https://github.com/usethis-python/usethis-python/security
Insights https://github.com/usethis-python/usethis-python/pulse
Code https://github.com/usethis-python/usethis-python
Issues https://github.com/usethis-python/usethis-python/issues
Pull requests https://github.com/usethis-python/usethis-python/pulls
Actions https://github.com/usethis-python/usethis-python/actions
Security and quality https://github.com/usethis-python/usethis-python/security
Insights https://github.com/usethis-python/usethis-python/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fusethis-python%2Fusethis-python%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fusethis-python%2Fusethis-python%2Fissues%2Fnew%2Fchoose
nathanjmcdougallhttps://github.com/nathanjmcdougall
mainhttps://github.com/usethis-python/usethis-python/tree/main
copilot/add-usethis-show-license-commandhttps://github.com/usethis-python/usethis-python/tree/copilot/add-usethis-show-license-command
Conversation 4 https://github.com/usethis-python/usethis-python/pull/1663
Commits 7 https://github.com/usethis-python/usethis-python/pull/1663/commits
Checks 20 https://github.com/usethis-python/usethis-python/pull/1663/checks
Files changed https://github.com/usethis-python/usethis-python/pull/1663/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1663/files
Add usethis show license command https://github.com/usethis-python/usethis-python/pull/1663/files#top
Show all changes 7 commits https://github.com/usethis-python/usethis-python/pull/1663/files
5da9533 Initial plan Copilot Mar 30, 2026 https://github.com/usethis-python/usethis-python/pull/1663/commits/5da9533d1cbce48e463ab2505f902255ab282a42
1844d2f Add `usethis show license` command with heuristic license detection Copilot Mar 30, 2026 https://github.com/usethis-python/usethis-python/pull/1663/commits/1844d2f4aeb6ec13d339df5418f8e7c8d8f363cf
91f4e70 Fix Ruff PLR0911, sync AGENTS.md with auto-generated docs Copilot Mar 30, 2026 https://github.com/usethis-python/usethis-python/pull/1663/commits/91f4e7052b13f08831840b0f705e7656c2f39589
e70bdbd Narrow exception handling per code review feedback Copilot Mar 30, 2026 https://github.com/usethis-python/usethis-python/pull/1663/commits/e70bdbd3936860de6ad590bcbb7806a7935a96b7
adcba3d Merge branch 'main' into copilot/add-usethis-show-license-command nathanjmcdougall Mar 30, 2026 https://github.com/usethis-python/usethis-python/pull/1663/commits/adcba3dad371f1b06453453cefb55a48fc3a3e02
2342c8d Replace double backticks with single backticks in docstrings per #1665 Copilot Mar 31, 2026 https://github.com/usethis-python/usethis-python/pull/1663/commits/2342c8dc3807bbdc706dad4682de73964d89959d
c424095 Don't recommend license classifiers in error message nathanjmcdougall Mar 31, 2026 https://github.com/usethis-python/usethis-python/pull/1663/commits/c4240959d7679cc2ad91f55f59df2ee182df443f
Clear filters https://github.com/usethis-python/usethis-python/pull/1663/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1663/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1663/files
AGENTS.md https://github.com/usethis-python/usethis-python/pull/1663/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
functions.txt https://github.com/usethis-python/usethis-python/pull/1663/files#diff-6705114142ee332330bd7f0684141070919dbb082ecebdd765866a2a2d488f46
module-tree.txt https://github.com/usethis-python/usethis-python/pull/1663/files#diff-23247f9f520fcb1dbbf1ffde0ee9eba8f64e33b177de61811c82d88bf88718e9
pyproject.toml https://github.com/usethis-python/usethis-python/pull/1663/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
show.py https://github.com/usethis-python/usethis-python/pull/1663/files#diff-129a5170d3d8f67f2dd46b629fb34aa554320dd9199c8a71d9ea7562bce940c0
errors.py https://github.com/usethis-python/usethis-python/pull/1663/files#diff-15bd58a4008b91800fccc820012d2015f997c50485eca1cc9b7a0afc23b89905
license.py https://github.com/usethis-python/usethis-python/pull/1663/files#diff-329541e76e837242915fb90e3cf713d3560d3959e599e3ad3c525d2f456f6189
show.py https://github.com/usethis-python/usethis-python/pull/1663/files#diff-f758150e53d5f5240e8cea7c31e2273fe93cd6dcf8a2b20f50dc9b1ce2981aba
test_license.py https://github.com/usethis-python/usethis-python/pull/1663/files#diff-6eb509378f012556e6b2f44ee5a8886f45e34bed1b4a91df8c8759f7893a42e3
test_show.py https://github.com/usethis-python/usethis-python/pull/1663/files#diff-27a9fa3fbf0cefa1245acf788637ee0a5b3abcd6f856db05081914a2894d77d7
uv.lock https://github.com/usethis-python/usethis-python/pull/1663/files#diff-84321598744d84dbee2318e634c74c9aae39a1c253f1c4bd17ebf9ef2f807b11
AGENTS.mdhttps://github.com/usethis-python/usethis-python/pull/1663/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
View file https://github.com/usethis-python/usethis-python/blob/c4240959d7679cc2ad91f55f59df2ee182df443f/AGENTS.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1663/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-a54ff182c7e8acf56acfd6e4b9c3ff41e2c41a31c9b211b2deb9df75d9a478f9
docs/functions.txthttps://github.com/usethis-python/usethis-python/pull/1663/files#diff-6705114142ee332330bd7f0684141070919dbb082ecebdd765866a2a2d488f46
View file https://github.com/usethis-python/usethis-python/blob/c4240959d7679cc2ad91f55f59df2ee182df443f/docs/functions.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1663/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-6705114142ee332330bd7f0684141070919dbb082ecebdd765866a2a2d488f46
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-6705114142ee332330bd7f0684141070919dbb082ecebdd765866a2a2d488f46
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-6705114142ee332330bd7f0684141070919dbb082ecebdd765866a2a2d488f46
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-6705114142ee332330bd7f0684141070919dbb082ecebdd765866a2a2d488f46
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-6705114142ee332330bd7f0684141070919dbb082ecebdd765866a2a2d488f46
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-6705114142ee332330bd7f0684141070919dbb082ecebdd765866a2a2d488f46
docs/module-tree.txthttps://github.com/usethis-python/usethis-python/pull/1663/files#diff-23247f9f520fcb1dbbf1ffde0ee9eba8f64e33b177de61811c82d88bf88718e9
View file https://github.com/usethis-python/usethis-python/blob/c4240959d7679cc2ad91f55f59df2ee182df443f/docs/module-tree.txt
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1663/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-23247f9f520fcb1dbbf1ffde0ee9eba8f64e33b177de61811c82d88bf88718e9
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-23247f9f520fcb1dbbf1ffde0ee9eba8f64e33b177de61811c82d88bf88718e9
pyproject.tomlhttps://github.com/usethis-python/usethis-python/pull/1663/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
View file https://github.com/usethis-python/usethis-python/blob/c4240959d7679cc2ad91f55f59df2ee182df443f/pyproject.toml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1663/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-50c86b7ed8ac2cf95bd48334961bf0530cdc77b5a56f852c5c61b89d735fd711
src/usethis/_core/show.pyhttps://github.com/usethis-python/usethis-python/pull/1663/files#diff-129a5170d3d8f67f2dd46b629fb34aa554320dd9199c8a71d9ea7562bce940c0
View file https://github.com/usethis-python/usethis-python/blob/c4240959d7679cc2ad91f55f59df2ee182df443f/src/usethis/_core/show.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1663/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-129a5170d3d8f67f2dd46b629fb34aa554320dd9199c8a71d9ea7562bce940c0
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-129a5170d3d8f67f2dd46b629fb34aa554320dd9199c8a71d9ea7562bce940c0
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-129a5170d3d8f67f2dd46b629fb34aa554320dd9199c8a71d9ea7562bce940c0
src/usethis/_integrations/project/errors.pyhttps://github.com/usethis-python/usethis-python/pull/1663/files#diff-15bd58a4008b91800fccc820012d2015f997c50485eca1cc9b7a0afc23b89905
View file https://github.com/usethis-python/usethis-python/blob/c4240959d7679cc2ad91f55f59df2ee182df443f/src/usethis/_integrations/project/errors.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1663/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-15bd58a4008b91800fccc820012d2015f997c50485eca1cc9b7a0afc23b89905
src/usethis/_integrations/project/license.pyhttps://github.com/usethis-python/usethis-python/pull/1663/files#diff-329541e76e837242915fb90e3cf713d3560d3959e599e3ad3c525d2f456f6189
View file https://github.com/usethis-python/usethis-python/blob/c4240959d7679cc2ad91f55f59df2ee182df443f/src/usethis/_integrations/project/license.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1663/{{ revealButtonHref }}
src/usethis/_ui/interface/show.pyhttps://github.com/usethis-python/usethis-python/pull/1663/files#diff-f758150e53d5f5240e8cea7c31e2273fe93cd6dcf8a2b20f50dc9b1ce2981aba
View file https://github.com/usethis-python/usethis-python/blob/c4240959d7679cc2ad91f55f59df2ee182df443f/src/usethis/_ui/interface/show.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/usethis-python/usethis-python/pull/1663/{{ revealButtonHref }}
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-f758150e53d5f5240e8cea7c31e2273fe93cd6dcf8a2b20f50dc9b1ce2981aba
https://github.com/usethis-python/usethis-python/pull/1663/files#diff-f758150e53d5f5240e8cea7c31e2273fe93cd6dcf8a2b20f50dc9b1ce2981aba
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1663/files
Please reload this pagehttps://github.com/usethis-python/usethis-python/pull/1663/files
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.