Skip to content

Commit

Permalink
fix: add quantities to package root
Browse files Browse the repository at this point in the history
  • Loading branch information
unexcellent committed Nov 13, 2024
1 parent 8ff07ab commit cc206ae
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ readme = "README.md"
repository = "https://github.com/unexcellent/quantio"

[tool.poetry.dependencies]
python = ">=3.8, <3.14"
python = ">=3.10, <3.14"
numpy = "^2.1.3"

[tool.poetry.group.dev.dependencies]
mypy-extensions = "<2.0"
Expand Down
14 changes: 12 additions & 2 deletions quantio/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
"""The main quantio package."""

from .exceptions import CanNotAddTypesError, CanNotSubtractTypesError
from .quantities import Length, Time
from .quantities import Acceleration, Angle, Area, Length, Mass, Time, Velocity

__all__ = ["Length", "Time", "CanNotAddTypesError", "CanNotSubtractTypesError"]
__all__ = [
"Acceleration",
"Angle",
"Area",
"Length",
"Mass",
"Time",
"Velocity",
"CanNotAddTypesError",
"CanNotSubtractTypesError",
]

0 comments on commit cc206ae

Please sign in to comment.