Release Arcade Math 1.0.0 (#300)
This commit is contained in:
parent
25c9f76ca8
commit
cd7eca306a
3 changed files with 68 additions and 2 deletions
|
|
@ -4,3 +4,4 @@ EricGustin
|
||||||
sdreyer
|
sdreyer
|
||||||
wdawson
|
wdawson
|
||||||
byrro
|
byrro
|
||||||
|
torresmateo
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,65 @@
|
||||||
|
from arcade_math.tools.arithmetic import (
|
||||||
|
add,
|
||||||
|
divide,
|
||||||
|
mod,
|
||||||
|
multiply,
|
||||||
|
subtract,
|
||||||
|
sum_list,
|
||||||
|
sum_range,
|
||||||
|
)
|
||||||
|
from arcade_math.tools.exponents import (
|
||||||
|
log,
|
||||||
|
power,
|
||||||
|
)
|
||||||
|
from arcade_math.tools.miscellaneous import (
|
||||||
|
abs_val,
|
||||||
|
factorial,
|
||||||
|
sqrt,
|
||||||
|
)
|
||||||
|
from arcade_math.tools.random import (
|
||||||
|
generate_random_float,
|
||||||
|
generate_random_int,
|
||||||
|
)
|
||||||
|
from arcade_math.tools.rational import (
|
||||||
|
gcd,
|
||||||
|
lcm,
|
||||||
|
)
|
||||||
|
from arcade_math.tools.rounding import (
|
||||||
|
ceil,
|
||||||
|
floor,
|
||||||
|
round_num,
|
||||||
|
)
|
||||||
|
from arcade_math.tools.statistics import (
|
||||||
|
avg,
|
||||||
|
median,
|
||||||
|
)
|
||||||
|
from arcade_math.tools.trigonometry import (
|
||||||
|
deg_to_rad,
|
||||||
|
rad_to_deg,
|
||||||
|
)
|
||||||
|
|
||||||
|
__all__ = [
|
||||||
|
"add",
|
||||||
|
"subtract",
|
||||||
|
"multiply",
|
||||||
|
"divide",
|
||||||
|
"sum_list",
|
||||||
|
"sum_range",
|
||||||
|
"mod",
|
||||||
|
"log",
|
||||||
|
"power",
|
||||||
|
"abs_val",
|
||||||
|
"factorial",
|
||||||
|
"sqrt",
|
||||||
|
"generate_random_float",
|
||||||
|
"generate_random_int",
|
||||||
|
"gcd",
|
||||||
|
"lcm",
|
||||||
|
"ceil",
|
||||||
|
"floor",
|
||||||
|
"round_num",
|
||||||
|
"avg",
|
||||||
|
"median",
|
||||||
|
"deg_to_rad",
|
||||||
|
"rad_to_deg",
|
||||||
|
]
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
[tool.poetry]
|
[tool.poetry]
|
||||||
name = "arcade_math"
|
name = "arcade_math"
|
||||||
version = "0.1.9"
|
version = "1.0.0"
|
||||||
description = "Math toolkit for Arcade"
|
description = "Math toolkit for Arcade"
|
||||||
authors = ["Arcade <dev@arcade.dev>"]
|
authors = ["Arcade <dev@arcade.dev>"]
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.10"
|
python = "^3.10"
|
||||||
arcade-ai = ">=0.1,<2.0"
|
arcade-ai = ">=1.0.5,<2.0"
|
||||||
|
|
||||||
[tool.poetry.dev-dependencies]
|
[tool.poetry.dev-dependencies]
|
||||||
pytest = "^8.3.0"
|
pytest = "^8.3.0"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue