abstract-math 0.0.0.25__py3-none-any.whl → 0.0.0.27__py3-none-any.whl

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.

Potentially problematic release.


This version of abstract-math might be problematic. Click here for more details.

@@ -15,5 +15,6 @@ from .planet_constants import (
15
15
  full_planet_surface_area, planet_volume, planet_circumference,
16
16
  planet_mass, planet_surface_g, escape_velocity,
17
17
  earth_radius, earth_diameter, full_earth_surface_area,
18
- earth_volume, earth_circumference,DEFAULT_PLANET,DEFAULT_AS_RADIUS
18
+ earth_volume, earth_circumference,DEFAULT_PLANET,DEFAULT_AS_RADIUS,
19
+ distance_per_sec_to_mps
19
20
  )
@@ -72,8 +72,8 @@ def get_planet_vars(name: str, units: str = "meters") -> Dict[str, Any]:
72
72
  d_m = body["diameter"]
73
73
 
74
74
  out = dict(body)
75
- out["radius"] = convert(r_m, "meters", units_norm)
76
- out["diameter"] = convert(d_m, "meters", units_norm)
75
+ out["radius"] = dconvert(r_m, "meters", units_norm)
76
+ out["diameter"] = dconvert(d_m, "meters", units_norm)
77
77
  out["radius_units"] = units_norm
78
78
  out["diameter_units"] = units_norm
79
79
  return out
@@ -109,7 +109,7 @@ def escape_velocity(name: str = "earth", altitude: float = 0.0, units: str = "me
109
109
  """
110
110
  mu = _BODY_BY_NAME[_normalize_name(name)]["mu"]
111
111
  r = _BODY_BY_NAME[_normalize_name(name)]["radius"] # meters
112
- h_m = convert(altitude, units, "meters")
112
+ h_m = dconvert(altitude, units, "meters")
113
113
  R = add(r, h_m)
114
114
  return math.sqrt(mul(2.0, div(mu, R)))
115
115
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: abstract_math
3
- Version: 0.0.0.25
3
+ Version: 0.0.0.27
4
4
  Author: putkoff
5
5
  Author-email: partners@abstractendeavors.com
6
6
  Classifier: Development Status :: 3 - Alpha
@@ -9,15 +9,15 @@ abstract_math/solar_math/flask_utils.py,sha256=c82LrZ0dKC3Y8LxqOs1zDR6gRy8oXSx9b
9
9
  abstract_math/solar_math/main.py,sha256=Dbwt0MKO8o5SwnkT9ejdIjf7e7PpzXTH7H9PrWAz3L0,9610
10
10
  abstract_math/solar_math/src/__init__.py,sha256=qeal73F-NLu6sO_YSmD_komVpe17f0OFy2IfBR2QU_s,70
11
11
  abstract_math/solar_math/src/imports.py,sha256=UZp2SkF8INamFVwLOIca6w9K-YKXsqhiqcf6bkWuLVo,181
12
- abstract_math/solar_math/src/constants/__init__.py,sha256=OmUwgtbnjcFC2NBLTIypQ6v-DwdOEmSu1u4h-WgifAQ,772
12
+ abstract_math/solar_math/src/constants/__init__.py,sha256=Xsb9_3DdF5HxqWOleD-6jQbv09XdDd6o8Urdqb8Af1s,801
13
13
  abstract_math/solar_math/src/constants/distance_constants.py,sha256=1TM_dzo0semwZkk5kveRljzPYN0ry5yNCmwORks4yUs,2793
14
- abstract_math/solar_math/src/constants/planet_constants.py,sha256=GcJobNn5hYEJAGtdfrAgqy-3h0HOE-HzoivCQS7mJU8,6809
14
+ abstract_math/solar_math/src/constants/planet_constants.py,sha256=oN7JPrDGoz-ZDK1ukNSnvWuq3a179gskfdXBLYz3xo0,6812
15
15
  abstract_math/solar_math/src/constants/time_constants.py,sha256=i1gMbymsAkF23YwF4KGwEPpNuwNp1n5MCb4ALHdjxnU,1890
16
16
  abstract_math/solar_math/src/utils/__init__.py,sha256=Vb2bfx1p9YSmhnbqXBjGVPt1OQZ9I7PG_fMQdFqj-3k,91
17
17
  abstract_math/solar_math/src/utils/escape_velocity.py,sha256=nngwySzxqB7JOV1RLRHKj6O3v4O45yOIkV3lVchPdGg,4926
18
18
  abstract_math/solar_math/src/utils/geometry_utils.py,sha256=Ij4mASNFp2-CWy425fxMTEuMPuAZHs-E0qvi3BjaNkk,4169
19
19
  abstract_math/solar_math/src/utils/velocity_utils.py,sha256=eiXstQ3PF0KAUamSFOHFIL1chyWweygdTyvBjQB_DXo,1888
20
- abstract_math-0.0.0.25.dist-info/METADATA,sha256=LraZOrilfTFHwpL7xHfCIp2qz4Aj0umUjTb3VKLXV1w,3081
21
- abstract_math-0.0.0.25.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
- abstract_math-0.0.0.25.dist-info/top_level.txt,sha256=b7jOgD9c0U-CGH-l7yxhMPukzD40kMEQkQRV_sGyVfE,14
23
- abstract_math-0.0.0.25.dist-info/RECORD,,
20
+ abstract_math-0.0.0.27.dist-info/METADATA,sha256=Jdaz_yukNafkVx85yYBDLSkrrmVvENb7yxVL10ntIVg,3081
21
+ abstract_math-0.0.0.27.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
+ abstract_math-0.0.0.27.dist-info/top_level.txt,sha256=b7jOgD9c0U-CGH-l7yxhMPukzD40kMEQkQRV_sGyVfE,14
23
+ abstract_math-0.0.0.27.dist-info/RECORD,,