resokit 1.0.1__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.
- resokit-1.0.1/.github/workflows/CI.yml +13 -0
- resokit-1.0.1/.github/workflows/tests.yml +55 -0
- resokit-1.0.1/.gitignore +119 -0
- resokit-1.0.1/.readthedocs.yaml +28 -0
- resokit-1.0.1/LICENSE +21 -0
- resokit-1.0.1/MANIFEST.in +12 -0
- resokit-1.0.1/PKG-INFO +118 -0
- resokit-1.0.1/README.md +81 -0
- resokit-1.0.1/pyproject.toml +59 -0
- resokit-1.0.1/resokit/__init__.py +51 -0
- resokit-1.0.1/resokit/core.py +4562 -0
- resokit-1.0.1/resokit/datasets/__init__.py +54 -0
- resokit-1.0.1/resokit/datasets/databases.py +2735 -0
- resokit-1.0.1/resokit/datasets/utils.py +1406 -0
- resokit-1.0.1/resokit/load/__init__.py +32 -0
- resokit-1.0.1/resokit/load/load.py +862 -0
- resokit-1.0.1/resokit/query/__init__.py +31 -0
- resokit-1.0.1/resokit/query/query.py +364 -0
- resokit-1.0.1/resokit/units/__init__.py +24 -0
- resokit-1.0.1/resokit/units/units.py +176 -0
- resokit-1.0.1/resokit/utils/__init__.py +38 -0
- resokit-1.0.1/resokit/utils/mass_radius/__init__.py +30 -0
- resokit-1.0.1/resokit/utils/mass_radius/models.py +1310 -0
- resokit-1.0.1/resokit/utils/mmr/__init__.py +38 -0
- resokit-1.0.1/resokit/utils/mmr/mmrs.py +763 -0
- resokit-1.0.1/resokit/utils/parser.py +585 -0
- resokit-1.0.1/resokit/utils/utils.py +665 -0
- resokit-1.0.1/resokit.egg-info/PKG-INFO +118 -0
- resokit-1.0.1/resokit.egg-info/SOURCES.txt +31 -0
- resokit-1.0.1/resokit.egg-info/dependency_links.txt +1 -0
- resokit-1.0.1/resokit.egg-info/requires.txt +17 -0
- resokit-1.0.1/resokit.egg-info/top_level.txt +1 -0
- resokit-1.0.1/setup.cfg +4 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# ==============================================================
|
|
2
|
+
# CI with GitHub Actions
|
|
3
|
+
# ==============================================================
|
|
4
|
+
|
|
5
|
+
name: ResoKit CI
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
- push
|
|
9
|
+
- pull_request
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
testing:
|
|
13
|
+
uses: Gianuzzi/ResoKit/.github/workflows/tests.yml@main
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# ==============================================================
|
|
2
|
+
# CI with GitHub Actions
|
|
3
|
+
# ==============================================================
|
|
4
|
+
|
|
5
|
+
name: Testing
|
|
6
|
+
|
|
7
|
+
on:
|
|
8
|
+
workflow_call:
|
|
9
|
+
|
|
10
|
+
jobs:
|
|
11
|
+
test:
|
|
12
|
+
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
strategy:
|
|
15
|
+
# continue even if an enviroment fails
|
|
16
|
+
fail-fast: false
|
|
17
|
+
|
|
18
|
+
matrix:
|
|
19
|
+
python-version: ['3.10']
|
|
20
|
+
tox_env:
|
|
21
|
+
- style
|
|
22
|
+
- docstyle
|
|
23
|
+
- check-manifest
|
|
24
|
+
- coverage
|
|
25
|
+
- make-docs
|
|
26
|
+
|
|
27
|
+
# check version by version
|
|
28
|
+
include:
|
|
29
|
+
- py_version: 3.10
|
|
30
|
+
tox_env: python3.10
|
|
31
|
+
- py_version: 3.11
|
|
32
|
+
tox_env: python3.11
|
|
33
|
+
- py_version: 3.12
|
|
34
|
+
tox_env: python3.12
|
|
35
|
+
|
|
36
|
+
steps:
|
|
37
|
+
- uses: actions/checkout@main
|
|
38
|
+
|
|
39
|
+
# Necessary
|
|
40
|
+
- name: Install pandoc
|
|
41
|
+
if: ${{ matrix.tox_env == 'make-docs'}}
|
|
42
|
+
run: sudo apt-get install pandoc
|
|
43
|
+
|
|
44
|
+
- name: Set up Python ${{ matrix.python-version }}
|
|
45
|
+
uses: actions/setup-python@v3
|
|
46
|
+
with:
|
|
47
|
+
python-version: ${{ matrix.python-version }}
|
|
48
|
+
|
|
49
|
+
- name: Install tox
|
|
50
|
+
run: |
|
|
51
|
+
python -m pip install --upgrade pip
|
|
52
|
+
python -m pip install tox
|
|
53
|
+
|
|
54
|
+
- name: tox -e ${{ matrix.tox_env }}
|
|
55
|
+
run: tox -re ${{ matrix.tox_env }}
|
resokit-1.0.1/.gitignore
ADDED
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
.vscode/
|
|
2
|
+
# Byte-compiled / optimized / DLL files
|
|
3
|
+
__pycache__/
|
|
4
|
+
*.py[cod]
|
|
5
|
+
*$py.class
|
|
6
|
+
tests/__pycache__/
|
|
7
|
+
# C extensions
|
|
8
|
+
*.so
|
|
9
|
+
|
|
10
|
+
# autogenerated by setuptools_scm
|
|
11
|
+
resokit/_version.py
|
|
12
|
+
|
|
13
|
+
# Distribution / packaging
|
|
14
|
+
.Python
|
|
15
|
+
build/
|
|
16
|
+
develop-eggs/
|
|
17
|
+
dist/
|
|
18
|
+
downloads/
|
|
19
|
+
eggs/
|
|
20
|
+
.eggs/
|
|
21
|
+
lib/
|
|
22
|
+
lib64/
|
|
23
|
+
parts/
|
|
24
|
+
sdist/
|
|
25
|
+
var/
|
|
26
|
+
wheels/
|
|
27
|
+
*.egg-info/
|
|
28
|
+
.installed.cfg
|
|
29
|
+
*.egg
|
|
30
|
+
MANIFEST
|
|
31
|
+
|
|
32
|
+
# PyInstaller
|
|
33
|
+
# Usually these files are written by a python script from a template
|
|
34
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
35
|
+
*.manifest
|
|
36
|
+
*.spec
|
|
37
|
+
|
|
38
|
+
# Installer logs
|
|
39
|
+
pip-log.txt
|
|
40
|
+
pip-delete-this-directory.txt
|
|
41
|
+
|
|
42
|
+
# Unit test / coverage reports
|
|
43
|
+
htmlcov/
|
|
44
|
+
.tox/
|
|
45
|
+
.coverage
|
|
46
|
+
.coverage.*
|
|
47
|
+
.cache
|
|
48
|
+
nosetests.xml
|
|
49
|
+
coverage.xml
|
|
50
|
+
*.cover
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.pytest_cache/
|
|
53
|
+
|
|
54
|
+
# Translations
|
|
55
|
+
*.mo
|
|
56
|
+
*.pot
|
|
57
|
+
|
|
58
|
+
# Django stuff:
|
|
59
|
+
*.log
|
|
60
|
+
local_settings.py
|
|
61
|
+
db.sqlite3
|
|
62
|
+
|
|
63
|
+
# Flask stuff:
|
|
64
|
+
instance/
|
|
65
|
+
.webassets-cache
|
|
66
|
+
|
|
67
|
+
# Scrapy stuff:
|
|
68
|
+
.scrapy
|
|
69
|
+
|
|
70
|
+
# Sphinx documentation
|
|
71
|
+
docs/_build/
|
|
72
|
+
|
|
73
|
+
# Ignore Sphinx build output
|
|
74
|
+
docs/build/
|
|
75
|
+
|
|
76
|
+
# Ignore LaTeX and PDF build artifacts
|
|
77
|
+
docs/source/tutorials/*.aux
|
|
78
|
+
docs/source/tutorials/*.log
|
|
79
|
+
docs/source/tutorials/*.out
|
|
80
|
+
docs/source/tutorials/*.pdf
|
|
81
|
+
docs/source/tutorials/*.tex
|
|
82
|
+
docs/source/tutorials/tutorial_files/
|
|
83
|
+
|
|
84
|
+
# PyBuilder
|
|
85
|
+
target/
|
|
86
|
+
|
|
87
|
+
# Jupyter Notebook
|
|
88
|
+
.ipynb_checkpoints
|
|
89
|
+
|
|
90
|
+
# pyenv
|
|
91
|
+
.python-version
|
|
92
|
+
|
|
93
|
+
# celery beat schedule file
|
|
94
|
+
celerybeat-schedule
|
|
95
|
+
|
|
96
|
+
# SageMath parsed files
|
|
97
|
+
*.sage.py
|
|
98
|
+
|
|
99
|
+
# Environments
|
|
100
|
+
.env
|
|
101
|
+
.venv
|
|
102
|
+
env/
|
|
103
|
+
venv/
|
|
104
|
+
ENV/
|
|
105
|
+
env.bak/
|
|
106
|
+
venv.bak/
|
|
107
|
+
|
|
108
|
+
# Spyder project settings
|
|
109
|
+
.spyderproject
|
|
110
|
+
.spyproject
|
|
111
|
+
|
|
112
|
+
# Rope project settings
|
|
113
|
+
.ropeproject
|
|
114
|
+
|
|
115
|
+
# mkdocs documentation
|
|
116
|
+
/site
|
|
117
|
+
|
|
118
|
+
# mypy
|
|
119
|
+
.mypy_cache/
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Read the Docs configuration file
|
|
2
|
+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
|
|
3
|
+
|
|
4
|
+
# Required
|
|
5
|
+
version: 2
|
|
6
|
+
|
|
7
|
+
# Set the OS, Python version, and other tools you might need
|
|
8
|
+
build:
|
|
9
|
+
os: ubuntu-24.04
|
|
10
|
+
tools:
|
|
11
|
+
python: "3.10"
|
|
12
|
+
|
|
13
|
+
# Build documentation in the "docs/" directory with Sphinx
|
|
14
|
+
sphinx:
|
|
15
|
+
configuration: docs/source/conf.py
|
|
16
|
+
|
|
17
|
+
# If using Sphinx, optionally build your docs in additional formats such as PDF
|
|
18
|
+
formats:
|
|
19
|
+
- pdf
|
|
20
|
+
|
|
21
|
+
# Optionally, but recommended,
|
|
22
|
+
# declare the Python requirements required to build your documentation
|
|
23
|
+
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
|
|
24
|
+
python:
|
|
25
|
+
install:
|
|
26
|
+
- method: pip
|
|
27
|
+
path: .
|
|
28
|
+
- requirements: docs/requirements.txt
|
resokit-1.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Emmanuel
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
resokit-1.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: resokit
|
|
3
|
+
Version: 1.0.1
|
|
4
|
+
Summary: Miscellaneous tools for the analysis of planetary systems.
|
|
5
|
+
Author-email: Emmanuel Gianuzzi <egianuzzi@unc.edu.ar>, Matías Cerioni <matias.cerioni@unc.edu.ar>
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/Gianuzzi/resokit
|
|
8
|
+
Keywords: resokit,planetary systems,resonances,databases
|
|
9
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
10
|
+
Classifier: Intended Audience :: Education
|
|
11
|
+
Classifier: Intended Audience :: Science/Research
|
|
12
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
License-File: LICENSE
|
|
22
|
+
Requires-Dist: attrs
|
|
23
|
+
Requires-Dist: numpy
|
|
24
|
+
Requires-Dist: matplotlib
|
|
25
|
+
Requires-Dist: pandas
|
|
26
|
+
Requires-Dist: scipy
|
|
27
|
+
Requires-Dist: requests
|
|
28
|
+
Requires-Dist: beautifulsoup4
|
|
29
|
+
Provides-Extra: query
|
|
30
|
+
Requires-Dist: astropy; extra == "query"
|
|
31
|
+
Provides-Extra: reb
|
|
32
|
+
Requires-Dist: rebound; extra == "reb"
|
|
33
|
+
Provides-Extra: all
|
|
34
|
+
Requires-Dist: astropy; extra == "all"
|
|
35
|
+
Requires-Dist: rebound; extra == "all"
|
|
36
|
+
Dynamic: license-file
|
|
37
|
+
|
|
38
|
+
# Welcome to **ResoKit**
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+
|
|
42
|
+
<!-- BODY -->
|
|
43
|
+
|
|
44
|
+
[](https://badge.fury.io/py/uttrs)
|
|
45
|
+
[](https://github.com/Gianuzzi/ResoKit/actions/workflows/CI.yml)
|
|
46
|
+
[](https://resokit.readthedocs.io/en/latest/?badge=latest)
|
|
47
|
+
[](https://tldrlegal.com/license/mit-license)
|
|
48
|
+
[](https://github.com/leliel12/diseno_sci_sfw)
|
|
49
|
+
|
|
50
|
+
**ResoKit** is a toolkit package for easy exoplanetary databases access, and the analysis and diagnostics of resonances in n-body planetary systems.
|
|
51
|
+
|
|
52
|
+
## Motivation
|
|
53
|
+
Given the vast number of exoplanetary systems surveyed, and the expectation of many more to come, we believe it is essential to have a tool capable of processing and providing valuable insights from such a large volume of observational data. Two prominent sources of this data are the [NASA Exoplanet Archive](https://exoplanetarchive.ipac.caltech.edu/) and the [Encyclopaedia of exoplanetary systems](https://exoplanet.eu/home/).
|
|
54
|
+
|
|
55
|
+
## Features
|
|
56
|
+
The two main currently ResoKit applications involve the manipulation of data:
|
|
57
|
+
|
|
58
|
+
- Exoplaneteary Datasets (including downloading, re-loading and updating) obtained from [NASA Exoplanet Archive](https://exoplanetarchive.ipac.caltech.edu/) or the [Encyclopaedia of exoplanetary systems](https://exoplanet.eu/home/).
|
|
59
|
+
|
|
60
|
+
- Exoplanetary Systems created within the context of the datasets.
|
|
61
|
+
|
|
62
|
+
## Examples
|
|
63
|
+
Some `notebook` format tutorials can be found at in the [tutorials](./docs/source/tutorials/) directory.
|
|
64
|
+
|
|
65
|
+
More information available in the [documentation](https://resokit.readthedocs.io/en/latest/).
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
## Future
|
|
69
|
+
|
|
70
|
+
The implementation of tools for analizyng standard n-body simulations output
|
|
71
|
+
(and the Mean Movement Resonacnes involved) is still under development, but will be the next feature of ResoKit.
|
|
72
|
+
|
|
73
|
+
Stay tuned for updates!
|
|
74
|
+
|
|
75
|
+
-------------------------------------------------------------------------------
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
## Requirements
|
|
79
|
+
|
|
80
|
+
You need Python `3.10`, or greater to run ResoKit.
|
|
81
|
+
|
|
82
|
+
### Standard Installation
|
|
83
|
+
|
|
84
|
+
You could find **ResoKit** at PyPI. The standard installation via pip:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
$ python -m pip install resokit
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
#### Extra dependencies
|
|
91
|
+
|
|
92
|
+
If query online database features will be used with the [Encyclopaedia of exoplanetary systems](https://exoplanet.eu/home/) dataset, package [astropy](https://pypi.org/project/astropy/) is needed.
|
|
93
|
+
|
|
94
|
+
You can install all extra ResoKit requirements via pip:
|
|
95
|
+
|
|
96
|
+
```bash
|
|
97
|
+
$ python -m pip install resokit[all]
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
### Development Install
|
|
101
|
+
|
|
102
|
+
Clone this repo and then inside the local directory execute
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
$ git clone https://github.com/gianuzzi/resokit.git
|
|
106
|
+
$ cd resokit
|
|
107
|
+
$ python -m pip install -e .
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
## Authors
|
|
111
|
+
- Emmanuel Gianuzzi [egianuzzi@unc.edu.ar](egianuzzi@unc.edu.ar) ([IATE-OAC-CONICET][], [FaMAF-UNC][]).
|
|
112
|
+
- Matías Cerioni [matias.cerioni@unc.edu.ar](matias.cerioni@unc.edu.ar) ([IATE-OAC-CONICET][]).
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
[IATE-OAC-CONICET]: http://iate.oac.uncor.edu/
|
|
117
|
+
[OAC-CONICET]: https://oac.unc.edu.ar/
|
|
118
|
+
[FaMAF-UNC]: https://www.famaf.unc.edu.ar/
|
resokit-1.0.1/README.md
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# Welcome to **ResoKit**
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+
|
|
5
|
+
<!-- BODY -->
|
|
6
|
+
|
|
7
|
+
[](https://badge.fury.io/py/uttrs)
|
|
8
|
+
[](https://github.com/Gianuzzi/ResoKit/actions/workflows/CI.yml)
|
|
9
|
+
[](https://resokit.readthedocs.io/en/latest/?badge=latest)
|
|
10
|
+
[](https://tldrlegal.com/license/mit-license)
|
|
11
|
+
[](https://github.com/leliel12/diseno_sci_sfw)
|
|
12
|
+
|
|
13
|
+
**ResoKit** is a toolkit package for easy exoplanetary databases access, and the analysis and diagnostics of resonances in n-body planetary systems.
|
|
14
|
+
|
|
15
|
+
## Motivation
|
|
16
|
+
Given the vast number of exoplanetary systems surveyed, and the expectation of many more to come, we believe it is essential to have a tool capable of processing and providing valuable insights from such a large volume of observational data. Two prominent sources of this data are the [NASA Exoplanet Archive](https://exoplanetarchive.ipac.caltech.edu/) and the [Encyclopaedia of exoplanetary systems](https://exoplanet.eu/home/).
|
|
17
|
+
|
|
18
|
+
## Features
|
|
19
|
+
The two main currently ResoKit applications involve the manipulation of data:
|
|
20
|
+
|
|
21
|
+
- Exoplaneteary Datasets (including downloading, re-loading and updating) obtained from [NASA Exoplanet Archive](https://exoplanetarchive.ipac.caltech.edu/) or the [Encyclopaedia of exoplanetary systems](https://exoplanet.eu/home/).
|
|
22
|
+
|
|
23
|
+
- Exoplanetary Systems created within the context of the datasets.
|
|
24
|
+
|
|
25
|
+
## Examples
|
|
26
|
+
Some `notebook` format tutorials can be found at in the [tutorials](./docs/source/tutorials/) directory.
|
|
27
|
+
|
|
28
|
+
More information available in the [documentation](https://resokit.readthedocs.io/en/latest/).
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
## Future
|
|
32
|
+
|
|
33
|
+
The implementation of tools for analizyng standard n-body simulations output
|
|
34
|
+
(and the Mean Movement Resonacnes involved) is still under development, but will be the next feature of ResoKit.
|
|
35
|
+
|
|
36
|
+
Stay tuned for updates!
|
|
37
|
+
|
|
38
|
+
-------------------------------------------------------------------------------
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## Requirements
|
|
42
|
+
|
|
43
|
+
You need Python `3.10`, or greater to run ResoKit.
|
|
44
|
+
|
|
45
|
+
### Standard Installation
|
|
46
|
+
|
|
47
|
+
You could find **ResoKit** at PyPI. The standard installation via pip:
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
$ python -m pip install resokit
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
#### Extra dependencies
|
|
54
|
+
|
|
55
|
+
If query online database features will be used with the [Encyclopaedia of exoplanetary systems](https://exoplanet.eu/home/) dataset, package [astropy](https://pypi.org/project/astropy/) is needed.
|
|
56
|
+
|
|
57
|
+
You can install all extra ResoKit requirements via pip:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
$ python -m pip install resokit[all]
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### Development Install
|
|
64
|
+
|
|
65
|
+
Clone this repo and then inside the local directory execute
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
$ git clone https://github.com/gianuzzi/resokit.git
|
|
69
|
+
$ cd resokit
|
|
70
|
+
$ python -m pip install -e .
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Authors
|
|
74
|
+
- Emmanuel Gianuzzi [egianuzzi@unc.edu.ar](egianuzzi@unc.edu.ar) ([IATE-OAC-CONICET][], [FaMAF-UNC][]).
|
|
75
|
+
- Matías Cerioni [matias.cerioni@unc.edu.ar](matias.cerioni@unc.edu.ar) ([IATE-OAC-CONICET][]).
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
[IATE-OAC-CONICET]: http://iate.oac.uncor.edu/
|
|
80
|
+
[OAC-CONICET]: https://oac.unc.edu.ar/
|
|
81
|
+
[FaMAF-UNC]: https://www.famaf.unc.edu.ar/
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=61", "setuptools_scm"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "resokit"
|
|
7
|
+
dynamic = ["version"]
|
|
8
|
+
authors = [
|
|
9
|
+
{name = "Emmanuel Gianuzzi", email = "egianuzzi@unc.edu.ar"},
|
|
10
|
+
{name = "Matías Cerioni", email = "matias.cerioni@unc.edu.ar"}
|
|
11
|
+
]
|
|
12
|
+
license = {text = "MIT"}
|
|
13
|
+
readme = "README.md"
|
|
14
|
+
description = "Miscellaneous tools for the analysis of planetary systems."
|
|
15
|
+
keywords = ["resokit", "planetary systems", "resonances", "databases"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 2 - Pre-Alpha",
|
|
18
|
+
"Intended Audience :: Education",
|
|
19
|
+
"Intended Audience :: Science/Research",
|
|
20
|
+
"License :: OSI Approved :: MIT License",
|
|
21
|
+
"Operating System :: OS Independent",
|
|
22
|
+
"Programming Language :: Python",
|
|
23
|
+
"Programming Language :: Python :: 3.10",
|
|
24
|
+
"Programming Language :: Python :: 3.11",
|
|
25
|
+
"Programming Language :: Python :: 3.12",
|
|
26
|
+
"Programming Language :: Python :: 3.13",
|
|
27
|
+
"Topic :: Scientific/Engineering",
|
|
28
|
+
]
|
|
29
|
+
urls = {Homepage = "https://github.com/Gianuzzi/resokit"}
|
|
30
|
+
dependencies = [
|
|
31
|
+
"attrs",
|
|
32
|
+
"numpy",
|
|
33
|
+
"matplotlib",
|
|
34
|
+
"pandas",
|
|
35
|
+
"scipy",
|
|
36
|
+
"requests",
|
|
37
|
+
"beautifulsoup4",
|
|
38
|
+
]
|
|
39
|
+
|
|
40
|
+
[project.optional-dependencies]
|
|
41
|
+
query = ["astropy"]
|
|
42
|
+
reb = ["rebound"]
|
|
43
|
+
all = ["astropy", "rebound"]
|
|
44
|
+
|
|
45
|
+
[tool.setuptools]
|
|
46
|
+
include-package-data = true
|
|
47
|
+
|
|
48
|
+
[tool.setuptools.packages.find]
|
|
49
|
+
include = ["resokit", "resokit.*"]
|
|
50
|
+
namespaces = false
|
|
51
|
+
|
|
52
|
+
[tool.setuptools_scm]
|
|
53
|
+
write_to = "resokit/_version.py"
|
|
54
|
+
version_scheme = "guess-next-dev"
|
|
55
|
+
local_scheme = "no-local-version"
|
|
56
|
+
|
|
57
|
+
[tool.black]
|
|
58
|
+
line-length = 79
|
|
59
|
+
target-version = ['py310', 'py311', 'py312', 'py313']
|
|
@@ -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
|
+
]
|