resokit 1.0.1__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.
- resokit/__init__.py +51 -0
- resokit/_version.py +34 -0
- resokit/core.py +4562 -0
- resokit/datasets/__init__.py +54 -0
- resokit/datasets/databases.py +2735 -0
- resokit/datasets/utils.py +1406 -0
- resokit/load/__init__.py +32 -0
- resokit/load/load.py +862 -0
- resokit/query/__init__.py +31 -0
- resokit/query/query.py +364 -0
- resokit/units/__init__.py +24 -0
- resokit/units/units.py +176 -0
- resokit/utils/__init__.py +38 -0
- resokit/utils/mass_radius/__init__.py +30 -0
- resokit/utils/mass_radius/models.py +1310 -0
- resokit/utils/mmr/__init__.py +38 -0
- resokit/utils/mmr/mmrs.py +763 -0
- resokit/utils/parser.py +585 -0
- resokit/utils/utils.py +665 -0
- resokit-1.0.1.dist-info/METADATA +118 -0
- resokit-1.0.1.dist-info/RECORD +24 -0
- resokit-1.0.1.dist-info/WHEEL +5 -0
- resokit-1.0.1.dist-info/licenses/LICENSE +21 -0
- resokit-1.0.1.dist-info/top_level.txt +1 -0
resokit/__init__.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
|
|
4
|
+
# This file is part of the
|
|
5
|
+
# ResoKit Project (https://github.com/Gianuzzi/resokit).
|
|
6
|
+
# Copyright (c) 2025, Emmanuel Gianuzzi
|
|
7
|
+
# License: MIT
|
|
8
|
+
# Full Text: https://github.com/Gianuzzi/resokit/blob/master/LICENSE
|
|
9
|
+
|
|
10
|
+
# This file indicates that the directory should be treated as a package.
|
|
11
|
+
|
|
12
|
+
# ============================================================================
|
|
13
|
+
# DOCS
|
|
14
|
+
# ============================================================================
|
|
15
|
+
"""ResoKit.
|
|
16
|
+
|
|
17
|
+
ResoKit addresses the need for diagnosing and analyzing mean motion
|
|
18
|
+
resonances (MMR) in coplanar planetary systems.
|
|
19
|
+
"""
|
|
20
|
+
|
|
21
|
+
try:
|
|
22
|
+
from ._version import version as __version__
|
|
23
|
+
except ImportError:
|
|
24
|
+
__version__ = "unknown"
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# =============================================================================
|
|
28
|
+
# IMPORTS
|
|
29
|
+
# =============================================================================
|
|
30
|
+
|
|
31
|
+
from . import core # noqa
|
|
32
|
+
from . import datasets # noqa
|
|
33
|
+
from . import load # noqa
|
|
34
|
+
from . import query # noqa
|
|
35
|
+
from . import utils # noqa
|
|
36
|
+
from . import units # noqa
|
|
37
|
+
from .utils import mmr # noqa
|
|
38
|
+
from .utils import mass_radius # noqa
|
|
39
|
+
|
|
40
|
+
# Make the core classes available directly from the package.
|
|
41
|
+
|
|
42
|
+
__all__ = [
|
|
43
|
+
"core",
|
|
44
|
+
"datasets",
|
|
45
|
+
"load",
|
|
46
|
+
"query",
|
|
47
|
+
"units",
|
|
48
|
+
"utils",
|
|
49
|
+
"mmr",
|
|
50
|
+
"mass_radius",
|
|
51
|
+
]
|
resokit/_version.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# file generated by setuptools-scm
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
|
|
4
|
+
__all__ = [
|
|
5
|
+
"__version__",
|
|
6
|
+
"__version_tuple__",
|
|
7
|
+
"version",
|
|
8
|
+
"version_tuple",
|
|
9
|
+
"__commit_id__",
|
|
10
|
+
"commit_id",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
TYPE_CHECKING = False
|
|
14
|
+
if TYPE_CHECKING:
|
|
15
|
+
from typing import Tuple
|
|
16
|
+
from typing import Union
|
|
17
|
+
|
|
18
|
+
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
19
|
+
COMMIT_ID = Union[str, None]
|
|
20
|
+
else:
|
|
21
|
+
VERSION_TUPLE = object
|
|
22
|
+
COMMIT_ID = object
|
|
23
|
+
|
|
24
|
+
version: str
|
|
25
|
+
__version__: str
|
|
26
|
+
__version_tuple__: VERSION_TUPLE
|
|
27
|
+
version_tuple: VERSION_TUPLE
|
|
28
|
+
commit_id: COMMIT_ID
|
|
29
|
+
__commit_id__: COMMIT_ID
|
|
30
|
+
|
|
31
|
+
__version__ = version = '1.0.1'
|
|
32
|
+
__version_tuple__ = version_tuple = (1, 0, 1)
|
|
33
|
+
|
|
34
|
+
__commit_id__ = commit_id = None
|