René's URL Explorer Experiment


Title: Suggestion: Use getpass() instead of input() for password and TOTP entry in example test client [low priority] · Issue #79 · gboudreau/ws-api-python · GitHub

Open Graph Title: Suggestion: Use getpass() instead of input() for password and TOTP entry in example test client [low priority] · Issue #79 · gboudreau/ws-api-python

X Title: Suggestion: Use getpass() instead of input() for password and TOTP entry in example test client [low priority] · Issue #79 · gboudreau/ws-api-python

Description: A relatively minor point, but it would be nice to change the example client code in "test_full_example.py" to use getpass.getpass() instead of input() when prompting user for the password and TOTP value. This would be on lines 45 and 53 ...

Open Graph Description: A relatively minor point, but it would be nice to change the example client code in "test_full_example.py" to use getpass.getpass() instead of input() when prompting user for the password and TOTP ...

X Description: A relatively minor point, but it would be nice to change the example client code in "test_full_example.py" to use getpass.getpass() instead of input() when prompting user for the password...

Opengraph URL: https://github.com/gboudreau/ws-api-python/issues/79

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Suggestion: Use getpass() instead of input() for password and TOTP entry in example test client [low priority]","articleBody":"A relatively minor point, but it would be nice to change the example client code in \"test_full_example.py\" to use getpass.getpass() instead of input() when prompting user for the password and TOTP value.  This would be on lines 45 and 53 of \"test_full_example.py\" in v0.41.0. Would require importing getpass module (https://docs.python.org/3/library/getpass.html).\n\nThe advantage is that the password and TOTP code characters typed in by the user are not displayed (or are replaced by echo character if supplied as a parameter to getpass() invocation - but note that echo_char parameter is only available beginning with python version 3.14 or later).\n\nCompletely understand if you think this is nitpicking and not worth the time, since the code is just an example...\n\n```\n\nfrom datetime import datetime\n... snip ...\n\nimport getpass\n\nclass WSApiTest:\n    def main(self):\n\n         \u003c... snip ...>\n\n                    if not password:\n                        password = getpass.getpass(\"Password: \")\n                    WealthsimpleAPI.login(username, password, otp_answer, persist_session_fct=persist_session_fct,\n                                          approval_callback=lambda: print(\"Approve the login in the Wealthsimple mobile app.\"))\n         \u003c... snip ...>\n\n                except OTPRequiredException:\n                    otp_answer = getpass.getpass(\"TOTP code: \")\n\n         \u003c... snip ...>     \n\n        accounts = ws.get_accounts()\n```\n\n","author":{"url":"https://github.com/aGrimRepoMan","@type":"Person","name":"aGrimRepoMan"},"datePublished":"2026-11-17T19:19:27Z","url":"https://github.com/gboudreau/ws-api-python/issues/79"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:528f6c21-d7ce-bbbf-644c-37067b18f624
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE6C2:2F4C21:5D6B3B:801FC6:6B05E56A
html-safe-noncedd3f993a3a39c17bf5d31b2d2483c460f5600c397ed1c914e40cba9fd0b3ceef
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkMyOjJGNEMyMTo1RDZCM0I6ODAxRkM2OjZCMDVFNTZBIiwidmlzaXRvcl9pZCI6IjE2OTkzOTE0MjEyMDA4NTIzMzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4d73a6f94996956b15db90f0d79b01a3ecb7f541406a9400fc0ea1aa943b52d1
hovercard-subject-tagissue:6452274328
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gboudreau/ws-api-python/79/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4ef93a5b4fd00e2f3cdb04345b369668c77e8aaebbc21d65c9f267cb3fb206c8/gboudreau/ws-api-python/issues/79
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4ef93a5b4fd00e2f3cdb04345b369668c77e8aaebbc21d65c9f267cb3fb206c8/gboudreau/ws-api-python/issues/79
og:image:altA relatively minor point, but it would be nice to change the example client code in "test_full_example.py" to use getpass.getpass() instead of input() when prompting user for the password and TOTP ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaGrimRepoMan
hostnamegithub.com
expected-hostnamegithub.com
None9e6b0e6e5a9a8e0ddb968297ede4e2eac72d30ea174a0970eb8f22d6958e91e3
turbo-cache-controlno-preview
go-importgithub.com/gboudreau/ws-api-python git https://github.com/gboudreau/ws-api-python.git
octolytics-dimension-user_id370329
octolytics-dimension-user_logingboudreau
octolytics-dimension-repository_id908686613
octolytics-dimension-repository_nwogboudreau/ws-api-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id908686613
octolytics-dimension-repository_network_root_nwogboudreau/ws-api-python
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
release023691d14ad20c90d3ee61b0a0977b17dc6b6361
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/gboudreau/ws-api-python/issues/79#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgboudreau%2Fws-api-python%2Fissues%2F79
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgboudreau%2Fws-api-python%2Fissues%2F79
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=gboudreau%2Fws-api-python
Reloadhttps://github.com/gboudreau/ws-api-python/issues/79
Reloadhttps://github.com/gboudreau/ws-api-python/issues/79
Reloadhttps://github.com/gboudreau/ws-api-python/issues/79
gboudreauhttps://github.com/gboudreau
ws-api-pythonhttps://github.com/gboudreau/ws-api-python
Codehttps://github.com/gboudreau/ws-api-python
Issues5 (5)https://github.com/gboudreau/ws-api-python/issues
Pull requestshttps://github.com/gboudreau/ws-api-python/pulls
Actionshttps://github.com/gboudreau/ws-api-python/actions
Security and qualityhttps://github.com/gboudreau/ws-api-python/security
Insightshttps://github.com/gboudreau/ws-api-python/pulse
https://github.com/gboudreau/ws-api-python
New issuehttps://github.com/login?return_to=https://github.com/gboudreau/ws-api-python/issues/79
New issuehttps://github.com/login?return_to=https://github.com/gboudreau/ws-api-python/issues/79
Suggestion: Use getpass() instead of input() for password and TOTP entry in example test client [low priority]https://github.com/gboudreau/ws-api-python/issues/79#top
https://github.com/aGrimRepoMan
aGrimRepoManhttps://github.com/aGrimRepoMan
on Nov 17, 2026https://github.com/gboudreau/ws-api-python/issues/79#issue-6452274328
https://docs.python.org/3/library/getpass.htmlhttps://docs.python.org/3/library/getpass.html
gboudreauhttps://github.com/gboudreau
completedhttps://github.com/gboudreau/ws-api-python/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
d27ba68https://github.com/gboudreau/ws-api-python/commit/d27ba68546732084d32c262f9ff68de7393ee2be
on Nov 17, 2026https://github.com/gboudreau/ws-api-python/issues/79#event-36451412735
Sign up for freehttps://github.com/signup?return_to=https://github.com/gboudreau/ws-api-python/issues/79
Sign in to commenthttps://github.com/login?return_to=https://github.com/gboudreau/ws-api-python/issues/79
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.