Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
python-quantities
/
python-quantities
Public
Notifications
You must be signed in to change notification settings
Fork
76
Star
219
Code
Issues
72
Pull requests
5
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Commits
Breadcrumbs
History for
python-quantities
quantities
quantity.py
on
master
User selector
All users
Datepicker
All time
Commit history
Commits on Jan 16, 2026
Fix some problems with v0.16.3: deepcopy was not copying all necessary attributes of UnitQuantity; in-place arithmetic didn't handle multiplying by scalars
apdavison
committed
66762fd
View commit details
Copy full SHA for 66762fd
View code at this point
Browse repository at this point
Merge pull request #271 from apdavison/fix-inplace
Show description for 276789d
apdavison
authored
276789d
View commit details
Copy full SHA for 276789d
View code at this point
Browse repository at this point
avoid unecessary copies
apdavison
committed
0bb68ee
View commit details
Copy full SHA for 0bb68ee
View code at this point
Browse repository at this point
Commits on Jan 15, 2026
Merge pull request #257 from JakobKai/master
Show description for b218368
apdavison
authored
b218368
View commit details
Copy full SHA for b218368
View code at this point
Browse repository at this point
Fix for failure to handle units when performing in-place multiplication and division with NumPy 2.x
Show description for 529fce6
apdavison
committed
529fce6
View commit details
Copy full SHA for 529fce6
View code at this point
Browse repository at this point
Commits on Oct 21, 2025
fix: np.ndarray.ptp (removed) -> np.ptp
drammock
committed
ccadd7d
View commit details
Copy full SHA for ccadd7d
View code at this point
Browse repository at this point
Commits on May 13, 2025
fix: deepcopy
Show description for 993dfa9
JakobKai
committed
993dfa9
View commit details
Copy full SHA for 993dfa9
View code at this point
Browse repository at this point
Commits on Nov 19, 2024
Renamed the “plain” property
Show description for 633cf9e
wagenadl
committed
633cf9e
View commit details
Copy full SHA for 633cf9e
View code at this point
Browse repository at this point
Commits on Nov 16, 2024
Added "plain" property to quantity
Show description for f803620
wagenadl
committed
f803620
View commit details
Copy full SHA for f803620
View code at this point
Browse repository at this point
Commits on Aug 27, 2024
fix version string parsing
mscheltienne
committed
275618e
View commit details
Copy full SHA for 275618e
View code at this point
Browse repository at this point
Commits on Jul 24, 2024
full separate numpy > 2.0 array wrap
zm711
committed
b6efa33
View commit details
Copy full SHA for b6efa33
View code at this point
Browse repository at this point
fix for numpy 2.0 wrapping
zm711
committed
b367e87
View commit details
Copy full SHA for b367e87
View code at this point
Browse repository at this point
add old return quantity obj
zm711
committed
1713ff9
View commit details
Copy full SHA for 1713ff9
View code at this point
Browse repository at this point
Commits on Jun 19, 2024
Deprecate Quantities(... copy=) kwarg. Fix warnings.
bjodah
committed
6d035c6
View commit details
Copy full SHA for 6d035c6
View code at this point
Browse repository at this point
Commits on Jun 18, 2024
Add support for NumPy 2.0
bjodah
committed
ed43021
View commit details
Copy full SHA for ed43021
View code at this point
Browse repository at this point
Commits on Oct 14, 2023
np.Inf -> np.inf
zm711
authored
0533898
View commit details
Copy full SHA for 0533898
View code at this point
Browse repository at this point
Commits on Feb 17, 2023
Fix gh-215, dtype conversion in rescale
bjodah
committed
abefd96
View commit details
Copy full SHA for abefd96
View code at this point
Browse repository at this point
Commits on Jun 1, 2022
determine dtype in scale_other_units
bjodah
committed
cb09f6d
View commit details
Copy full SHA for cb09f6d
View code at this point
Browse repository at this point
Use dtype='d' as default in __setitem__ and put for backwards compat
bjodah
committed
412cdf9
View commit details
Copy full SHA for 412cdf9
View code at this point
Browse repository at this point
Commits on May 29, 2022
Add test exercising dtype preservation in astype
bjodah
committed
2f3d79e
View commit details
Copy full SHA for 2f3d79e
View code at this point
Browse repository at this point
Preserve dtype in rescale
bjodah
committed
f08a50a
View commit details
Copy full SHA for f08a50a
View code at this point
Browse repository at this point
Commits on Nov 10, 2021
docs: Fix a few typos
Show description for f754d20
timgates42
committed
f754d20
View commit details
Copy full SHA for f754d20
View code at this point
Browse repository at this point
Commits on Oct 18, 2021
Merge pull request #186 from scidash/master
Show description for 269d81e
apdavison
authored
269d81e
View commit details
Copy full SHA for 269d81e
View code at this point
Browse repository at this point
Commits on Sep 25, 2021
Drop support for EOL Python 2.7
hugovk
committed
80290b8
View commit details
Copy full SHA for 80290b8
View code at this point
Browse repository at this point
Upgrade Python syntax with pyupgrade --py36-plus
hugovk
committed
5f23864
View commit details
Copy full SHA for 5f23864
View code at this point
Browse repository at this point
Commits on May 28, 2021
Fixed non-list tolist() bug
rgerkin
committed
fcc6830
View commit details
Copy full SHA for fcc6830
View code at this point
Browse repository at this point
Commits on Feb 13, 2020
Docstring changes for rescale and rescale_preferred
rgerkin
authored
1a0dc15
View commit details
Copy full SHA for 1a0dc15
View code at this point
Browse repository at this point
Commits on Jan 28, 2020
Added preferred units support for .rescale
rgerkin
committed
fa0b684
View commit details
Copy full SHA for fa0b684
View code at this point
Browse repository at this point
Commits on Aug 20, 2019
Add a __format__ implementation for Quantity
Show description for b7d7b67
twmr
committed
b7d7b67
View commit details
Copy full SHA for b7d7b67
View code at this point
Browse repository at this point
Commits on Nov 8, 2017
Propagate keyword arguments in astype
bjodah
committed
1bd7e75
View commit details
Copy full SHA for 1bd7e75
View code at this point
Browse repository at this point
Commits on Dec 11, 2016
Merge pull request #41 from dopplershift/master
Show description for 7b45fb0
ddale
authored
7b45fb0
View commit details
Copy full SHA for 7b45fb0
View code at this point
Browse repository at this point
Merge pull request #126 from bjodah/fix-pow0
Show description for 6a5bed6
ddale
authored
6a5bed6
View commit details
Copy full SHA for 6a5bed6
View code at this point
Browse repository at this point
Commits on Nov 7, 2016
Fix power to zero with python3.5 and numpy 1.11.2
bjodah
committed
da0bd6c
View commit details
Copy full SHA for da0bd6c
View code at this point
Browse repository at this point
Commits on Sep 6, 2016
fixes issue #113
burnpanck
committed
1b25e4d
View commit details
Copy full SHA for 1b25e4d
View code at this point
Browse repository at this point
Commits on Feb 10, 2016
Wrap imag and real attributes.
Show description for 20c58f6
dopplershift
committed
20c58f6
View commit details
Copy full SHA for 20c58f6
View code at this point
Browse repository at this point
Previous
Next
You can’t perform that action at this time.