diff --git a/src/ragged/common/_const.py b/src/ragged/common/_const.py new file mode 100644 index 0000000..362ee71 --- /dev/null +++ b/src/ragged/common/_const.py @@ -0,0 +1,11 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/ragged/blob/main/LICENSE + +""" +https://data-apis.org/array-api/latest/API_specification/constants.html +""" + +from __future__ import annotations + +from numpy import e, inf, nan, newaxis, pi + +__all__ = ["e", "inf", "nan", "newaxis", "pi"] diff --git a/src/ragged/v202212/_const.py b/src/ragged/v202212/_const.py new file mode 100644 index 0000000..d55ef49 --- /dev/null +++ b/src/ragged/v202212/_const.py @@ -0,0 +1,11 @@ +# BSD 3-Clause License; see https://github.com/scikit-hep/ragged/blob/main/LICENSE + +""" +https://data-apis.org/array-api/2022.12/API_specification/constants.html +""" + +from __future__ import annotations + +from ..common._const import e, inf, nan, newaxis, pi + +__all__ = ["e", "inf", "nan", "newaxis", "pi"]