UniversalFunctions 0.1.2__tar.gz → 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {universalfunctions-0.1.2/UniversalFunctions.egg-info → universalfunctions-1.0.0}/PKG-INFO +1 -1
  2. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UF/HelperFunctions.py +10 -1
  3. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UF/__init__.py +9 -1
  4. {universalfunctions-0.1.2 → universalfunctions-1.0.0/UniversalFunctions.egg-info}/PKG-INFO +1 -1
  5. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/pyproject.toml +1 -1
  6. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/LICENSE +0 -0
  7. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/README.md +0 -0
  8. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UF/ClassToDict.py +0 -0
  9. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UF/DecoratorArchive.py +0 -0
  10. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UF/GetVariable.py +0 -0
  11. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UF/StringCheck.py +0 -0
  12. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UF/Validators/QuantumFuncValidators.py +0 -0
  13. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UF/Validators/QuantumValidators.py +0 -0
  14. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UF/Validators/ValidationClasses.py +0 -0
  15. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UF/Validators/__init__.py +0 -0
  16. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UniversalFunctions.egg-info/SOURCES.txt +0 -0
  17. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UniversalFunctions.egg-info/dependency_links.txt +0 -0
  18. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/UniversalFunctions.egg-info/top_level.txt +0 -0
  19. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/setup.cfg +0 -0
  20. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/tests/__init__.py +0 -0
  21. {universalfunctions-0.1.2 → universalfunctions-1.0.0}/tests/test_ClassToDict.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: UniversalFunctions
3
- Version: 0.1.2
3
+ Version: 1.0.0
4
4
  Summary: A Python utility library providing foundational functions, validators, and infrastructure.
5
5
  Author-email: "Miah M. Sabiq" <miah.sabiq@gibs.at>
6
6
  Requires-Python: >=3.14
@@ -11,7 +11,7 @@ range_f -> acts like the conventional range function except for that this takes
11
11
 
12
12
  from typing import Any, Annotated
13
13
  from collections.abc import Generator
14
- from math import sqrt, sin, radians, cos
14
+ from math import sqrt, sin, radians, cos, asin, degrees
15
15
  from .GetVariable import get_num
16
16
  from .DecoratorArchive import cls_deco_superposition
17
17
  from .ClassToDict import classes_to_dict
@@ -107,6 +107,15 @@ def cosine(angle: Real) -> Real:
107
107
  """
108
108
  return cos(radians(angle))
109
109
 
110
+ @qtm_validation_decorator
111
+ def asine(angle: Real) -> Real:
112
+ """
113
+ Calculates the asine of a given angle
114
+ :param angle: real value
115
+ :return: asine value
116
+ """
117
+ return degrees(asin(angle))
118
+
110
119
  @qtm_validation_decorator
111
120
  def range_f(start: Real, stop: Real, step: Annotated[Real, Positive()]) -> Generator[Real,Any,None]:
112
121
  """
@@ -21,7 +21,14 @@ not be changed!
21
21
  from .ClassToDict import classes_to_dict
22
22
  from .DecoratorArchive import deco_superposition, cls_deco_superposition
23
23
  from .GetVariable import get_num
24
- from .HelperFunctions import helper, HelperFunctions, sine, cosine, range_f
24
+ from .HelperFunctions import (
25
+ helper,
26
+ HelperFunctions,
27
+ sine,
28
+ cosine,
29
+ asine,
30
+ range_f,
31
+ )
25
32
  from .StringCheck import get_str
26
33
  from .Validators.ValidationClasses import (
27
34
  TypeValidate,
@@ -47,6 +54,7 @@ __all__ = [
47
54
  "HelperFunctions",
48
55
  "sine",
49
56
  "cosine",
57
+ "asine",
50
58
  "range_f",
51
59
  "get_str",
52
60
  "TypeValidate",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: UniversalFunctions
3
- Version: 0.1.2
3
+ Version: 1.0.0
4
4
  Summary: A Python utility library providing foundational functions, validators, and infrastructure.
5
5
  Author-email: "Miah M. Sabiq" <miah.sabiq@gibs.at>
6
6
  Requires-Python: >=3.14
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "UniversalFunctions"
7
- version = "0.1.2"
7
+ version = "1.0.0"
8
8
  description = "A Python utility library providing foundational functions, validators, and infrastructure."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.14"