{"id":70,"date":"2026-04-17T08:44:05","date_gmt":"2026-04-17T06:44:05","guid":{"rendered":"https:\/\/euclide-production.fr\/index.php\/2026\/04\/17\/claude-usage-widget\/"},"modified":"2026-04-17T08:44:05","modified_gmt":"2026-04-17T06:44:05","slug":"claude-usage-widget","status":"publish","type":"post","link":"https:\/\/euclide-production.fr\/index.php\/2026\/04\/17\/claude-usage-widget\/","title":{"rendered":"Claude Usage Widget"},"content":{"rendered":"\n<figure class=\"wp-block-image aligncenter\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/euclide-production.fr\/wp-content\/uploads\/claude-usage-widget.png\" alt=\"Claude Usage Widget \u2013 aper\u00e7u\" style=\"max-width:240px;border:1px solid #b44fd455;border-radius:4px;display:block;margin:0 auto 1.5rem\"\/><\/figure>\n\n\n\n<p>Petit widget Python qui se pose sur le Bureau et affiche en temps r\u00e9el l&rsquo;etat de ton forfait Claude.ai, sans ouvrir le navigateur.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Pourquoi ce widget ?<\/h2>\n\n\n\n<p>Claude.ai (plan Pro) limite l&rsquo;usage sur deux fenetres glissantes : 5 heures et 7 jours. Impossible de savoir ou on en est sans aller fouiller dans les reglages. Ce widget regle ca d&rsquo;un coup d&rsquo;oeil.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Ce qu&rsquo;il affiche<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>Plan<\/strong> : Pro \/ Max \/ Team<\/li><li><strong>5H<\/strong> : usage sur la fenetre glissante de 5 heures<\/li><li><strong>7 JOURS<\/strong> : usage hebdomadaire<\/li><li><strong>Reset<\/strong> : heure locale de reinitialisation de chaque compteur<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Stack technique<\/h2>\n\n\n\n<p>Python 3.10+ \u00b7 tkinter \u00b7 customtkinter \u00b7 curl_cffi \u00b7 pystray \u00b7 Pillow \u00b7 API interne claude.ai (endpoint \/api\/organizations\/{uuid}\/usage)<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Code source<\/h2>\n\n\n\n<p>Disponible sur GitHub : <a href=https:\/\/github.com\/JamesInvaderbdx\/claude-usage-widget>JamesInvaderbdx\/claude-usage-widget<\/a><\/p>\n\n\n\n<div style=\"margin-top:2rem;padding-top:1.5rem;border-top:1px solid #b44fd455;text-align:center\">\n  <a href=\"https:\/\/ko-fi.com\/eklid\" target=\"_blank\" rel=\"noopener\" style=\"display:inline-block;background:#e91e8c;color:#fff;padding:0.6em 1.4em;border-radius:4px;text-decoration:none;font-size:0.95rem;letter-spacing:1px\">&#9749; Offrez-moi un caf\u00e9<\/a>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Petit widget Python qui se pose sur le Bureau et affiche en temps r\u00e9el l&rsquo;etat de ton forfait Claude.ai, sans [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[5],"tags":[],"class_list":["post-70","post","type-post","status-publish","format-standard","hentry","category-applications"],"_links":{"self":[{"href":"https:\/\/euclide-production.fr\/index.php\/wp-json\/wp\/v2\/posts\/70","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/euclide-production.fr\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/euclide-production.fr\/index.php\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/euclide-production.fr\/index.php\/wp-json\/wp\/v2\/comments?post=70"}],"version-history":[{"count":0,"href":"https:\/\/euclide-production.fr\/index.php\/wp-json\/wp\/v2\/posts\/70\/revisions"}],"wp:attachment":[{"href":"https:\/\/euclide-production.fr\/index.php\/wp-json\/wp\/v2\/media?parent=70"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/euclide-production.fr\/index.php\/wp-json\/wp\/v2\/categories?post=70"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/euclide-production.fr\/index.php\/wp-json\/wp\/v2\/tags?post=70"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}