René's URL Explorer Experiment


Title: Make quantities generic over `float` and `Decimal` by shsms · Pull Request #61 · frequenz-floss/frequenz-quantities-python · GitHub

Open Graph Title: Make quantities generic over `float` and `Decimal` by shsms · Pull Request #61 · frequenz-floss/frequenz-quantities-python

X Title: Make quantities generic over `float` and `Decimal` by shsms · Pull Request #61 · frequenz-floss/frequenz-quantities-python

Description: Types for holding quantities with units. Contribute to frequenz-floss/frequenz-quantities-python development by creating an account on GitHub.

Opengraph URL: https://github.com/frequenz-floss/frequenz-quantities-python/pull/61

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
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:1e816193-fc86-33be-3859-7247e1a6f978
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC608:1672EC:1477940:1AD625A:6AF88C71
html-safe-nonce27cf765138d17ad798283d99802142765f48d22238f776ddcc1bdde353f6c922
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNjA4OjE2NzJFQzoxNDc3OTQwOjFBRDYyNUE6NkFGODhDNzEiLCJ2aXNpdG9yX2lkIjoiMjcxMDkwMjAzMzgyNDEyNDAxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace445bf45bd8b6edab35a0d30471607316af82cb5c2763ab9b2ee4a2220a26a65
hovercard-subject-tagpull_request:2599276135
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/frequenz-floss/frequenz-quantities-python/61/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f03abbb9bae2b5988fe73d8dc8d95f7565f2c36a3b3e0c1486cdca20bb35e3fe/frequenz-floss/frequenz-quantities-python/pull/61
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f03abbb9bae2b5988fe73d8dc8d95f7565f2c36a3b3e0c1486cdca20bb35e3fe/frequenz-floss/frequenz-quantities-python/pull/61
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshsms
hostnamegithub.com
expected-hostnamegithub.com
None612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7
turbo-cache-controlno-cache
go-importgithub.com/frequenz-floss/frequenz-quantities-python git https://github.com/frequenz-floss/frequenz-quantities-python.git
octolytics-dimension-user_id110669031
octolytics-dimension-user_loginfrequenz-floss
octolytics-dimension-repository_id814571303
octolytics-dimension-repository_nwofrequenz-floss/frequenz-quantities-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id814571303
octolytics-dimension-repository_network_root_nwofrequenz-floss/frequenz-quantities-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
release072e34035c13c31543fba9f025cbbbda4210dae4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ffrequenz-floss%2Ffrequenz-quantities-python%2Fpull%2F61
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%2Ffrequenz-floss%2Ffrequenz-quantities-python%2Fpull%2F61
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=frequenz-floss%2Ffrequenz-quantities-python
Reloadhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
Reloadhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
Reloadhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
frequenz-flosshttps://github.com/frequenz-floss
frequenz-quantities-pythonhttps://github.com/frequenz-floss/frequenz-quantities-python
Codehttps://github.com/frequenz-floss/frequenz-quantities-python
Issues6 (6)https://github.com/frequenz-floss/frequenz-quantities-python/issues
Pull requests2 (2)https://github.com/frequenz-floss/frequenz-quantities-python/pulls
Discussionshttps://github.com/frequenz-floss/frequenz-quantities-python/discussions
Actionshttps://github.com/frequenz-floss/frequenz-quantities-python/actions
Projectshttps://github.com/frequenz-floss/frequenz-quantities-python/projects
Security and qualityhttps://github.com/frequenz-floss/frequenz-quantities-python/security
Insightshttps://github.com/frequenz-floss/frequenz-quantities-python/pulse
https://github.com/frequenz-floss/frequenz-quantities-python
shsmshttps://github.com/shsms
frequenz-floss:v1.x.xhttps://github.com/frequenz-floss/frequenz-quantities-python/tree/v1.x.x
shsms:generichttps://github.com/shsms/frequenz-quantities-python/tree/generic
Conversationhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
Commits7 (7)https://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits
Checkshttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/checks
Files changedhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/files
Make quantities generic over float and Decimalhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61#top
shsmshttps://github.com/shsms
frequenz-floss:v1.x.xhttps://github.com/frequenz-floss/frequenz-quantities-python/tree/v1.x.x
shsms:generichttps://github.com/shsms/frequenz-quantities-python/tree/generic
https://github.com/shsms
shsmshttps://github.com/shsms
Jun 17, 2025https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#issue-3154010988
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
shsmshttps://github.com/shsms
June 17, 2025 17:42https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#commits-pushed-b561633
https://github.com/shsms
Remove the special cached zero valuehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/b561633fbaf32a48dcfb18fc9cad8a79631e98f0
b561633https://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/b561633fbaf32a48dcfb18fc9cad8a79631e98f0
https://github.com/shsms
Make Quantity generic over float and Decimalhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/a94bf7cac52d448a40c0945a1b5b015e7a2d9e8c
a94bf7chttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/a94bf7cac52d448a40c0945a1b5b015e7a2d9e8c
https://github.com/shsms
Update quantity subclasses to be generic over float and Decimalhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/1ad7b198c74da8ac0189d8f02f56b956170cdf3b
1ad7b19https://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/1ad7b198c74da8ac0189d8f02f56b956170cdf3b
https://github.com/shsms
Update marshmallow to only work with float quantitieshttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/e80dd678ed876d1a938c2075fb2f86ba0e536c88
e80dd67https://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/e80dd678ed876d1a938c2075fb2f86ba0e536c88
https://github.com/shsms
Update test_quantities to be float testshttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/e8ed47d5f9dc049a5ac3124cfb7ce62476e0b682
e8ed47dhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/e8ed47d5f9dc049a5ac3124cfb7ce62476e0b682
https://github.com/shsms
Extract reusable test types into a utils filehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/397bf7b77d820f95719b623da5361fa3e2d26e6e
397bf7bhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/397bf7b77d820f95719b623da5361fa3e2d26e6e
https://github.com/shsms
Add tests for decimal quantitieshttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/180b28a0f57af96ba25f51e8a7a193446e13a072
180b28ahttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/commits/180b28a0f57af96ba25f51e8a7a193446e13a072
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
June 17, 2025 16:00https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#event-18194019845
https://github.com/shsms
shsmshttps://github.com/shsms
code ownerhttps://github.com/frequenz-floss/frequenz-quantities-python/blob/8eb6d1d4b0978d5b77240dafc8ac4ea0434fdab6/CODEOWNERS#L7
June 17, 2025 16:00https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#event-18194019995
https://github.com/shsms
shsmshttps://github.com/shsms
florian-wagner-frequenzhttps://github.com/florian-wagner-frequenz
June 17, 2025 16:00https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#event-18194020092
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
part:tests https://github.com/frequenz-floss/frequenz-quantities-python/issues?q=state%3Aopen%20label%3Apart%3Atests
part:code https://github.com/frequenz-floss/frequenz-quantities-python/issues?q=state%3Aopen%20label%3Apart%3Acode
Jun 17, 2025https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#event-18194023368
https://github.com/apps/copilot-pull-request-reviewer
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jun 17, 2025 https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#pullrequestreview-2936259085
View reviewed changes https://github.com/frequenz-floss/frequenz-quantities-python/pull/61/files/180b28a0f57af96ba25f51e8a7a193446e13a072
Copilothttps://github.com/apps/copilot-pull-request-reviewer
https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#pullrequestreview-2936259085
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
tests/utils.pyhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/files/180b28a0f57af96ba25f51e8a7a193446e13a072#diff-9e08e8c7769db7b58089fd7659d75ca96df40bb7b5d50299d3a30abd54da9ad6
Copilothttps://github.com/apps/copilot-pull-request-reviewer
Jun 17, 2025https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#discussion_r2152639450
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
Copilothttps://docs.github.com/copilot/responsible-use-of-github-copilot-features/responsible-use-of-github-copilot-code-review
https://github.com/shsms
shsmshttps://github.com/shsms
Jun 17, 2025https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#issuecomment-2980948606
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
https://github.com/llucax
llucaxhttps://github.com/llucax
scope:breaking-change https://github.com/frequenz-floss/frequenz-quantities-python/issues?q=state%3Aopen%20label%3Ascope%3Abreaking-change
Jun 18, 2025https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#event-18204416038
https://github.com/llucax
llucaxhttps://github.com/llucax
Jun 18, 2025https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#issuecomment-2983015002
#62https://github.com/frequenz-floss/frequenz-quantities-python/issues/62
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
https://github.com/llucax
llucaxhttps://github.com/llucax
Jun 18, 2025https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#issuecomment-2983017070
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
https://github.com/llucax
llucaxhttps://github.com/llucax
Jun 18, 2025 https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#pullrequestreview-2938070968
View reviewed changes https://github.com/frequenz-floss/frequenz-quantities-python/pull/61/files/180b28a0f57af96ba25f51e8a7a193446e13a072
llucaxhttps://github.com/llucax
https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#pullrequestreview-2938070968
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
tests/test_quantities_decimal.pyhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/files/180b28a0f57af96ba25f51e8a7a193446e13a072#diff-99df1d63a48cdf6ade7ad33b1a7f89c458d6e68920c9f658f46638a2794d924f
llucaxhttps://github.com/llucax
Jun 18, 2025https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#discussion_r2153870244
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
src/frequenz/quantities/_quantity.pyhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/files/180b28a0f57af96ba25f51e8a7a193446e13a072#diff-b9c52c660146dfd0f46b424fe9358511721b2d3ed5cdb04fe65e4abd611c2aaf
llucaxhttps://github.com/llucax
Jun 18, 2025https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#discussion_r2153914697
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
https://github.com/shsms
shsmshttps://github.com/shsms
Jun 18, 2025https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#issuecomment-2983193362
https://github.com/frequenz-floss/frequenz-api-common/blob/ddb3147996194ae85421a8498d7f098e878eaf78/proto/frequenz/api/common/v1/market/power.proto#L27-L30https://github.com/frequenz-floss/frequenz-api-common/blob/ddb3147996194ae85421a8498d7f098e878eaf78/proto/frequenz/api/common/v1/market/power.proto#L27-L30
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
https://github.com/ela-kotulska-frequenz
ela-kotulska-frequenzhttps://github.com/ela-kotulska-frequenz
Jun 20, 2025 https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#pullrequestreview-2946053113
View reviewed changes https://github.com/frequenz-floss/frequenz-quantities-python/pull/61/files/180b28a0f57af96ba25f51e8a7a193446e13a072
src/frequenz/quantities/_energy.pyhttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61/files/a94bf7cac52d448a40c0945a1b5b015e7a2d9e8c..1ad7b198c74da8ac0189d8f02f56b956170cdf3b#diff-adc6451146a0f443ea6f552793d71fc588afda6114a8d91a408368ae52582c27
ela-kotulska-frequenzhttps://github.com/ela-kotulska-frequenz
Jun 20, 2025https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#discussion_r2158916183
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
https://github.com/florian-wagner-frequenz
florian-wagner-frequenzhttps://github.com/florian-wagner-frequenz
August 4, 2025 10:10https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#event-18966902063
https://github.com/llucax
llucaxhttps://github.com/llucax
Sep 10, 2026https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#issuecomment-5615986748
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
https://github.com/shsms
shsmshttps://github.com/shsms
Sep 10, 2026https://github.com/frequenz-floss/frequenz-quantities-python/pull/61#issuecomment-5616069602
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
https://github.co/hiddenchars
https://github.com/frequenz-floss/frequenz-quantities-python/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%2Ffrequenz-floss%2Ffrequenz-quantities-python%2Fpull%2F61
https://github.com/llucax
llucax https://github.com/llucax
https://github.com/frequenz-floss/frequenz-quantities-python/pull/61/files/180b28a0f57af96ba25f51e8a7a193446e13a072
Copilot code review https://github.com/apps/copilot-pull-request-reviewer
Copilot https://github.com/apps/copilot-pull-request-reviewer
Learn more about Copilot code review.https://gh.io/copilot-code-review-docs
https://github.com/frequenz-floss/frequenz-quantities-python/pull/61/files/180b28a0f57af96ba25f51e8a7a193446e13a072
https://github.com/ela-kotulska-frequenz
ela-kotulska-frequenz https://github.com/ela-kotulska-frequenz
https://github.com/frequenz-floss/frequenz-quantities-python/pull/61/files/180b28a0f57af96ba25f51e8a7a193446e13a072
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
part:code https://github.com/frequenz-floss/frequenz-quantities-python/issues?q=state%3Aopen%20label%3Apart%3Acode
part:tests https://github.com/frequenz-floss/frequenz-quantities-python/issues?q=state%3Aopen%20label%3Apart%3Atests
scope:breaking-change https://github.com/frequenz-floss/frequenz-quantities-python/issues?q=state%3Aopen%20label%3Ascope%3Abreaking-change
Please reload this pagehttps://github.com/frequenz-floss/frequenz-quantities-python/pull/61
https://github.com/shsms
https://github.com/llucax
https://github.com/ela-kotulska-frequenz
https://github.com/apps/copilot-pull-request-reviewer
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.