René's URL Explorer Experiment


Title: Update cli.py to addresss crash on year/month calls and improve output formatting by BuongiornoTexas · Pull Request #103 · python-kasa/python-kasa · GitHub

Open Graph Title: Update cli.py to addresss crash on year/month calls and improve output formatting by BuongiornoTexas · Pull Request #103 · python-kasa/python-kasa

X Title: Update cli.py to addresss crash on year/month calls and improve output formatting by BuongiornoTexas · Pull Request #103 · python-kasa/python-kasa

Description: Fix crash when kasa cli is called with --month or --year arguments. Per discussions in #102.

Open Graph Description: Fix crash when kasa cli is called with --month or --year arguments. Per discussions in #102.

X Description: Fix crash when kasa cli is called with --month or --year arguments. Per discussions in #102.

Opengraph URL: https://github.com/python-kasa/python-kasa/pull/103

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:51279953-e59b-6aa3-eb1e-9e5399ea2b72
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEBDA:85A47:02B9:0420:698208EC
html-safe-nonce727a2f14faa0683b43c203c13e096811c871af70709a70670255ab442a2eb1ae
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkRBOjg1QTQ3OjAyQjk6MDQyMDo2OTgyMDhFQyIsInZpc2l0b3JfaWQiOiI0MjI5NTc2NzgxNDY1NzgyNTA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace5b6b4bdeb3536571d89f4e31f9f3a3f88ef8ce9d254c69855ec6a4700475260
hovercard-subject-tagpull_request:486070675
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-kasa/python-kasa/103/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6523a776ba650051ecddf5aec8129a34e84b1e983c0cd367a1b7474dc938f143/python-kasa/python-kasa/pull/103
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6523a776ba650051ecddf5aec8129a34e84b1e983c0cd367a1b7474dc938f143/python-kasa/python-kasa/pull/103
og:image:altFix crash when kasa cli is called with --month or --year arguments. Per discussions in #102.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameBuongiornoTexas
hostnamegithub.com
expected-hostnamegithub.com
Nonef4cb77e7923981a0a29ff46912061418d80b11552a75801d8d7c2ee8194cdf49
turbo-cache-controlno-preview
go-importgithub.com/python-kasa/python-kasa git https://github.com/python-kasa/python-kasa.git
octolytics-dimension-user_id57733869
octolytics-dimension-user_loginpython-kasa
octolytics-dimension-repository_id221571611
octolytics-dimension-repository_nwopython-kasa/python-kasa
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id221571611
octolytics-dimension-repository_network_root_nwopython-kasa/python-kasa
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
releasec1e70b4927b942b903c1a0c1413d4c4f701459ad
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-kasa/python-kasa/pull/103#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-kasa%2Fpython-kasa%2Fpull%2F103
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-kasa%2Fpython-kasa%2Fpull%2F103
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-kasa%2Fpython-kasa
Reloadhttps://github.com/python-kasa/python-kasa/pull/103
Reloadhttps://github.com/python-kasa/python-kasa/pull/103
Reloadhttps://github.com/python-kasa/python-kasa/pull/103
python-kasa https://github.com/python-kasa
python-kasahttps://github.com/python-kasa/python-kasa
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
Notifications https://github.com/login?return_to=%2Fpython-kasa%2Fpython-kasa
Fork 246 https://github.com/login?return_to=%2Fpython-kasa%2Fpython-kasa
Star 1.6k https://github.com/login?return_to=%2Fpython-kasa%2Fpython-kasa
Code https://github.com/python-kasa/python-kasa
Issues 51 https://github.com/python-kasa/python-kasa/issues
Pull requests 36 https://github.com/python-kasa/python-kasa/pulls
Discussions https://github.com/python-kasa/python-kasa/discussions
Actions https://github.com/python-kasa/python-kasa/actions
Projects 0 https://github.com/python-kasa/python-kasa/projects
Security 0 https://github.com/python-kasa/python-kasa/security
Insights https://github.com/python-kasa/python-kasa/pulse
Code https://github.com/python-kasa/python-kasa
Issues https://github.com/python-kasa/python-kasa/issues
Pull requests https://github.com/python-kasa/python-kasa/pulls
Discussions https://github.com/python-kasa/python-kasa/discussions
Actions https://github.com/python-kasa/python-kasa/actions
Projects https://github.com/python-kasa/python-kasa/projects
Security https://github.com/python-kasa/python-kasa/security
Insights https://github.com/python-kasa/python-kasa/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython-kasa%2Fpython-kasa%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython-kasa%2Fpython-kasa%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python-kasa/python-kasa/pull/103#issue-comment-box
rytilahtihttps://github.com/rytilahti
python-kasa:masterhttps://github.com/python-kasa/python-kasa/tree/master
Update cli.py to addresss crash on year/month calls and improve output formatting https://github.com/python-kasa/python-kasa/pull/103#top
rytilahtihttps://github.com/rytilahti
python-kasa:masterhttps://github.com/python-kasa/python-kasa/tree/master
Conversation 12 https://github.com/python-kasa/python-kasa/pull/103
Commits 4 https://github.com/python-kasa/python-kasa/pull/103/commits
Checks 0 https://github.com/python-kasa/python-kasa/pull/103/checks
Files changed https://github.com/python-kasa/python-kasa/pull/103/files
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.co/hiddenchars
https://github.com/python-kasa/python-kasa/pull/{{ revealButtonHref }}
https://github.com/BuongiornoTexas
BuongiornoTexashttps://github.com/BuongiornoTexas
Sep 13, 2020https://github.com/python-kasa/python-kasa/pull/103#issue-700430652
#102https://github.com/python-kasa/python-kasa/issues/102
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.com/BuongiornoTexas
Update cli.pyhttps://github.com/python-kasa/python-kasa/pull/103/commits/9e6a29b1b42d472b838dceebc237155f67d57e74
9e6a29bhttps://github.com/python-kasa/python-kasa/pull/103/commits/9e6a29b1b42d472b838dceebc237155f67d57e74
https://github.com/kirichkov
kirichkovhttps://github.com/kirichkov
Sep 16, 2020 https://github.com/python-kasa/python-kasa/pull/103#pullrequestreview-489620962
View reviewed changes https://github.com/python-kasa/python-kasa/pull/103/files/9e6a29b1b42d472b838dceebc237155f67d57e74
kirichkovhttps://github.com/kirichkov
https://github.com/python-kasa/python-kasa/pull/103#pullrequestreview-489620962
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
python-kasa/kasa/cli.pyhttps://github.com/python-kasa/python-kasa/blob/c59b748a069cbbb6f10cce1424d1c894f7701764/kasa/cli.py#L333
c59b748https://github.com/python-kasa/python-kasa/commit/c59b748a069cbbb6f10cce1424d1c894f7701764
python-kasa/kasa/cli.pyhttps://github.com/python-kasa/python-kasa/blob/c59b748a069cbbb6f10cce1424d1c894f7701764/kasa/cli.py#L324
c59b748https://github.com/python-kasa/python-kasa/commit/c59b748a069cbbb6f10cce1424d1c894f7701764
python-kasa/kasa/cli.pyhttps://github.com/python-kasa/python-kasa/blob/c59b748a069cbbb6f10cce1424d1c894f7701764/kasa/cli.py#L327
c59b748https://github.com/python-kasa/python-kasa/commit/c59b748a069cbbb6f10cce1424d1c894f7701764
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
kasa/cli.pyhttps://github.com/python-kasa/python-kasa/pull/103/files/9e6a29b1b42d472b838dceebc237155f67d57e74#diff-ce37fd5b06d95b6dc9779490e58dec2b249e68f87885b67987573dfd6de8e2f0
kirichkovhttps://github.com/kirichkov
Sep 16, 2020https://github.com/python-kasa/python-kasa/pull/103#discussion_r489434056
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
BuongiornoTexashttps://github.com/BuongiornoTexas
Sep 17, 2020https://github.com/python-kasa/python-kasa/pull/103#discussion_r489831898
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
rytilahtihttps://github.com/rytilahti
Sep 17, 2020https://github.com/python-kasa/python-kasa/pull/103#discussion_r490493855
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.com/BuongiornoTexas
Update cli.pyhttps://github.com/python-kasa/python-kasa/pull/103/commits/4b73dfcb8070c349f265d2fec79085fc71e5b688
4b73dfchttps://github.com/python-kasa/python-kasa/pull/103/commits/4b73dfcb8070c349f265d2fec79085fc71e5b688
https://github.com/BuongiornoTexas
BuongiornoTexashttps://github.com/BuongiornoTexas
Sep 17, 2020https://github.com/python-kasa/python-kasa/pull/103#issuecomment-693743582
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.com/kirichkov
kirichkovhttps://github.com/kirichkov
Sep 17, 2020https://github.com/python-kasa/python-kasa/pull/103#issuecomment-693951734
@rytilahtihttps://github.com/rytilahti
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.com/rytilahti
rytilahtihttps://github.com/rytilahti
Sep 17, 2020https://github.com/python-kasa/python-kasa/pull/103#issuecomment-694441719
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.com/BuongiornoTexas
BuongiornoTexashttps://github.com/BuongiornoTexas
Sep 18, 2020https://github.com/python-kasa/python-kasa/pull/103#issuecomment-694780906
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.com/kirichkov
kirichkovhttps://github.com/kirichkov
Sep 18, 2020https://github.com/python-kasa/python-kasa/pull/103#issuecomment-695048500
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.com/BuongiornoTexas
Fix crash on emeter monthly, yearly cli callshttps://github.com/python-kasa/python-kasa/pull/103/commits/5212e0ce5b13e6b46c7e2004bd198f23f36ee642
5212e0chttps://github.com/python-kasa/python-kasa/pull/103/commits/5212e0ce5b13e6b46c7e2004bd198f23f36ee642
https://github.com/BuongiornoTexas
BuongiornoTexashttps://github.com/BuongiornoTexas
Sep 19, 2020https://github.com/python-kasa/python-kasa/pull/103#event-3784585128
https://github.com/BuongiornoTexas
Formatting fix.https://github.com/python-kasa/python-kasa/pull/103/commits/2fc484c3c9bdada142355c30bc93e2f0d58278dc
2fc484chttps://github.com/python-kasa/python-kasa/pull/103/commits/2fc484c3c9bdada142355c30bc93e2f0d58278dc
https://github.com/BuongiornoTexas
BuongiornoTexashttps://github.com/BuongiornoTexas
Sep 19, 2020https://github.com/python-kasa/python-kasa/pull/103#issuecomment-695138526
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.com/kirichkov
kirichkovhttps://github.com/kirichkov
Sep 19, 2020https://github.com/python-kasa/python-kasa/pull/103#issuecomment-695198323
@rytilahtihttps://github.com/rytilahti
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.com/rytilahti
rytilahtihttps://github.com/rytilahti
Oct 3, 2020https://github.com/python-kasa/python-kasa/pull/103#issuecomment-703145963
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.com/rytilahti
rytilahtihttps://github.com/rytilahti
70061cbhttps://github.com/python-kasa/python-kasa/commit/70061cbe671bbf8183db784a5f8551e245b9e068
Oct 3, 2020https://github.com/python-kasa/python-kasa/pull/103#event-3836847632
https://github.com/rytilahti
rytilahtihttps://github.com/rytilahti
Oct 3, 2020 https://github.com/python-kasa/python-kasa/pull/103#ref-issue-690615514
cli emeter year and month functions fail #102 https://github.com/python-kasa/python-kasa/issues/102
https://github.com/rytilahti
rytilahtihttps://github.com/rytilahti
bug https://github.com/python-kasa/python-kasa/issues?q=state%3Aopen%20label%3Abug
Nov 21, 2020https://github.com/python-kasa/python-kasa/pull/103#event-4024229893
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-kasa%2Fpython-kasa%2Fpull%2F103
https://github.com/kirichkov
kirichkov https://github.com/kirichkov
https://github.com/python-kasa/python-kasa/pull/103/files/9e6a29b1b42d472b838dceebc237155f67d57e74
https://github.com/rytilahti
rytilahti https://github.com/rytilahti
https://github.com/python-kasa/python-kasa/pull/103/files/4b73dfcb8070c349f265d2fec79085fc71e5b688
bug https://github.com/python-kasa/python-kasa/issues?q=state%3Aopen%20label%3Abug
Please reload this pagehttps://github.com/python-kasa/python-kasa/pull/103
https://github.com/BuongiornoTexas
https://github.com/kirichkov
https://github.com/rytilahti
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.