Skip to content

Commit

Permalink
💄 ui(quantity): make AbstractQuantity available from the unxt namespa…
Browse files Browse the repository at this point in the history
…ce (#371)

Signed-off-by: Nathaniel Starkman <[email protected]>
  • Loading branch information
nstarman authored Jan 22, 2025
1 parent c7ae4f5 commit 9b6b495
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/unxt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
# quantities
"quantity", # module
"Quantity", # main class
"AbstractQuantity", # base class
"uconvert", # convert units
"ustrip", # strip units
"is_unit_convertible", # check if units can be converted
Expand All @@ -51,7 +52,13 @@
from . import dims, quantity, units, unitsystems
from ._version import version as __version__
from .dims import dimension, dimension_of
from .quantity import Quantity, is_unit_convertible, uconvert, ustrip
from .quantity import (
AbstractQuantity,
Quantity,
is_unit_convertible,
uconvert,
ustrip,
)
from .units import unit, unit_of
from .unitsystems import AbstractUnitSystem, unitsystem, unitsystem_of

Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9b6b495

Please sign in to comment.