René's URL Explorer Experiment


Title: feat(python-sdk): record_usage() and budget_check() (GOV-38) by Shaivpidadi · Pull Request #7 · Governs-AI/python-sdk · GitHub

Open Graph Title: feat(python-sdk): record_usage() and budget_check() (GOV-38) by Shaivpidadi · Pull Request #7 · Governs-AI/python-sdk

X Title: feat(python-sdk): record_usage() and budget_check() (GOV-38) by Shaivpidadi · Pull Request #7 · Governs-AI/python-sdk

Description: Contribute to Governs-AI/python-sdk development by creating an account on GitHub.

Open Graph Description: Summary GovernsAIClient.record_usage(org_id, user_id, tokens, model) → None GovernsAIClient.async_record_usage() — async variant GovernsAIClient.budget_check(org_id, user_id, estimated_tokens) → B...

X Description: Summary GovernsAIClient.record_usage(org_id, user_id, tokens, model) → None GovernsAIClient.async_record_usage() — async variant GovernsAIClient.budget_check(org_id, user_id, estimated_tokens) → B...

Opengraph URL: https://github.com/Governs-AI/python-sdk/pull/7

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:64f6475c-32d0-e3cf-b393-d544ec7c34ee
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9396:10F0C1:803FE8:BBD456:6A4E1675
html-safe-nonce33d625da94bcc54186f8c9a1e483e0dc3d917bd651ffb2b782e9281fb2431cc0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Mzk2OjEwRjBDMTo4MDNGRTg6QkJENDU2OjZBNEUxNjc1IiwidmlzaXRvcl9pZCI6IjEwNTY5NjE0MjI5MTc3Njg4MjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac72d938b7fca9408cb7fab6a49dde95dad58c0cf7c5c6cb761a9f445271871986
hovercard-subject-tagpull_request:3547567160
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/Governs-AI/python-sdk/7/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/6939a610827d751f4ea3a845f522275496b2849d0eab811d63d6e46278cb3aa9/Governs-AI/python-sdk/pull/7
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/6939a610827d751f4ea3a845f522275496b2849d0eab811d63d6e46278cb3aa9/Governs-AI/python-sdk/pull/7
og:image:altSummary GovernsAIClient.record_usage(org_id, user_id, tokens, model) → None GovernsAIClient.async_record_usage() — async variant GovernsAIClient.budget_check(org_id, user_id, estimated_tokens) → B...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameShaivpidadi
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-cache
go-importgithub.com/Governs-AI/python-sdk git https://github.com/Governs-AI/python-sdk.git
octolytics-dimension-user_id234007827
octolytics-dimension-user_loginGoverns-AI
octolytics-dimension-repository_id1062664510
octolytics-dimension-repository_nwoGoverns-AI/python-sdk
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1062664510
octolytics-dimension-repository_network_root_nwoGoverns-AI/python-sdk
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
releaseea9187571e3edc5f2780f750631138669441ca50
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Governs-AI/python-sdk/pull/7#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FGoverns-AI%2Fpython-sdk%2Fpull%2F7
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2FGoverns-AI%2Fpython-sdk%2Fpull%2F7
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=Governs-AI%2Fpython-sdk
Reloadhttps://github.com/Governs-AI/python-sdk/pull/7
Reloadhttps://github.com/Governs-AI/python-sdk/pull/7
Reloadhttps://github.com/Governs-AI/python-sdk/pull/7
Please reload this pagehttps://github.com/Governs-AI/python-sdk/pull/7
Governs-AI https://github.com/Governs-AI
python-sdkhttps://github.com/Governs-AI/python-sdk
Notifications https://github.com/login?return_to=%2FGoverns-AI%2Fpython-sdk
Fork 0 https://github.com/login?return_to=%2FGoverns-AI%2Fpython-sdk
Star 1 https://github.com/login?return_to=%2FGoverns-AI%2Fpython-sdk
Code https://github.com/Governs-AI/python-sdk
Issues 0 https://github.com/Governs-AI/python-sdk/issues
Pull requests 0 https://github.com/Governs-AI/python-sdk/pulls
Actions https://github.com/Governs-AI/python-sdk/actions
Projects https://github.com/Governs-AI/python-sdk/projects
Security and quality 0 https://github.com/Governs-AI/python-sdk/security
Insights https://github.com/Governs-AI/python-sdk/pulse
Code https://github.com/Governs-AI/python-sdk
Issues https://github.com/Governs-AI/python-sdk/issues
Pull requests https://github.com/Governs-AI/python-sdk/pulls
Actions https://github.com/Governs-AI/python-sdk/actions
Projects https://github.com/Governs-AI/python-sdk/projects
Security and quality https://github.com/Governs-AI/python-sdk/security
Insights https://github.com/Governs-AI/python-sdk/pulse
Shaivpidadihttps://github.com/Shaivpidadi
feat/1.4b-precheck-integration-testhttps://github.com/Governs-AI/python-sdk/tree/feat/1.4b-precheck-integration-test
feat/1.4c-usage-budgethttps://github.com/Governs-AI/python-sdk/tree/feat/1.4c-usage-budget
Conversationhttps://github.com/Governs-AI/python-sdk/pull/7
Commits3 (3)https://github.com/Governs-AI/python-sdk/pull/7/commits
Checkshttps://github.com/Governs-AI/python-sdk/pull/7/checks
Files changedhttps://github.com/Governs-AI/python-sdk/pull/7/files
feat(python-sdk): record_usage() and budget_check() (GOV-38)https://github.com/Governs-AI/python-sdk/pull/7#top
Shaivpidadihttps://github.com/Shaivpidadi
feat/1.4b-precheck-integration-testhttps://github.com/Governs-AI/python-sdk/tree/feat/1.4b-precheck-integration-test
feat/1.4c-usage-budgethttps://github.com/Governs-AI/python-sdk/tree/feat/1.4c-usage-budget
https://github.com/Shaivpidadi
Shaivpidadihttps://github.com/Shaivpidadi
Apr 17, 2026https://github.com/Governs-AI/python-sdk/pull/7#issue-4285361716
Please reload this pagehttps://github.com/Governs-AI/python-sdk/pull/7
Shaivpidadihttps://github.com/Shaivpidadi
April 17, 2026 15:30https://github.com/Governs-AI/python-sdk/pull/7#commits-pushed-88eda2d
https://github.com/Shaivpidadi
feat(1.4a): Python SDK scaffolding — precheck, async_precheck, budget…https://github.com/Governs-AI/python-sdk/pull/7/commits/88eda2d0af3bb6e2b4c767c7b7fb32a88473f1bc
88eda2dhttps://github.com/Governs-AI/python-sdk/pull/7/commits/88eda2d0af3bb6e2b4c767c7b7fb32a88473f1bc
https://github.com/Shaivpidadi
test(python-sdk): add pytest integration tests for precheck()https://github.com/Governs-AI/python-sdk/pull/7/commits/c8f346615df7bdbe1f5ca73fb2740d166b5edce2
c8f3466https://github.com/Governs-AI/python-sdk/pull/7/commits/c8f346615df7bdbe1f5ca73fb2740d166b5edce2
https://github.com/Shaivpidadi
feat(python-sdk): add record_usage() and budget_check() (GOV-38)https://github.com/Governs-AI/python-sdk/pull/7/commits/47d34fbd663578f4ed3bd52d70fcf5893cdb8e76
47d34fbhttps://github.com/Governs-AI/python-sdk/pull/7/commits/47d34fbd663578f4ed3bd52d70fcf5893cdb8e76
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
area/backend https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fbackend
area/sdk https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fsdk
kind/tests https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Akind%2Ftests
Apr 17, 2026https://github.com/Governs-AI/python-sdk/pull/7#event-24623744121
https://github.com/Shaivpidadi
Shaivpidadihttps://github.com/Shaivpidadi
Apr 20, 2026 https://github.com/Governs-AI/python-sdk/pull/7#ref-pullrequest-4285340148
feat(python-sdk): budget_check() + BudgetResult model — GOV-38 #5 https://github.com/Governs-AI/python-sdk/pull/5
https://github.com/Shaivpidadi
Shaivpidadihttps://github.com/Shaivpidadi
force-pushedhttps://github.com/Governs-AI/python-sdk/compare/c8f346615df7bdbe1f5ca73fb2740d166b5edce2..a23738444bb67cc2e2d3eb8c1aaffac119fda6a1
c8f3466https://github.com/Governs-AI/python-sdk/commit/c8f346615df7bdbe1f5ca73fb2740d166b5edce2
a237384https://github.com/Governs-AI/python-sdk/commit/a23738444bb67cc2e2d3eb8c1aaffac119fda6a1
Compare https://github.com/Governs-AI/python-sdk/compare/c8f346615df7bdbe1f5ca73fb2740d166b5edce2..a23738444bb67cc2e2d3eb8c1aaffac119fda6a1
April 20, 2026 17:00https://github.com/Governs-AI/python-sdk/pull/7#event-24686959562
https://github.com/Shaivpidadi
Shaivpidadihttps://github.com/Shaivpidadi
April 20, 2026 17:01https://github.com/Governs-AI/python-sdk/pull/7#event-24686999127
https://github.com/Shaivpidadi
Shaivpidadihttps://github.com/Shaivpidadi
Apr 20, 2026https://github.com/Governs-AI/python-sdk/pull/7#event-24686999279
https://github.com/Shaivpidadi
Shaivpidadihttps://github.com/Shaivpidadi
Apr 20, 2026 https://github.com/Governs-AI/python-sdk/pull/7#ref-pullrequest-4297364728
feat(python-sdk): record_usage() and budget_check() #10 https://github.com/Governs-AI/python-sdk/pull/10
https://github.com/Shaivpidadi
Shaivpidadihttps://github.com/Shaivpidadi
April 20, 2026 17:03https://github.com/Governs-AI/python-sdk/pull/7#event-24687060545
https://github.co/hiddenchars
https://github.com/Governs-AI/python-sdk/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%2FGoverns-AI%2Fpython-sdk%2Fpull%2F7
area/backend https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fbackend
area/sdk https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Aarea%2Fsdk
kind/tests https://github.com/Governs-AI/python-sdk/issues?q=state%3Aopen%20label%3Akind%2Ftests
Please reload this pagehttps://github.com/Governs-AI/python-sdk/pull/7
https://github.com/Shaivpidadi
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.