mpcq 0.2.4__tar.gz → 0.3.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.
- mpcq-0.3.0/LICENSE.md +9 -0
- {mpcq-0.2.4/mpcq.egg-info → mpcq-0.3.0}/PKG-INFO +48 -10
- mpcq-0.2.4/PKG-INFO → mpcq-0.3.0/README.md +4 -15
- mpcq-0.3.0/pyproject.toml +123 -0
- mpcq-0.3.0/src/mpcq/__init__.py +11 -0
- mpcq-0.3.0/src/mpcq/_version.py +1 -0
- mpcq-0.3.0/src/mpcq/client.py +634 -0
- mpcq-0.3.0/src/mpcq/observations.py +25 -0
- mpcq-0.3.0/src/mpcq/orbits.py +85 -0
- mpcq-0.3.0/src/mpcq/submissions.py +143 -0
- mpcq-0.3.0/src/mpcq/tests/test_imports.py +2 -0
- mpcq-0.2.4/.github/workflows/lint.yaml +0 -29
- mpcq-0.2.4/.github/workflows/publish.yaml +0 -31
- mpcq-0.2.4/.gitignore +0 -6
- mpcq-0.2.4/.pre-commit-config.yaml +0 -39
- mpcq-0.2.4/.python-version +0 -1
- mpcq-0.2.4/README.md +0 -77
- mpcq-0.2.4/mpcq/__init__.py +0 -5
- mpcq-0.2.4/mpcq/client.py +0 -221
- mpcq-0.2.4/mpcq/observation.py +0 -78
- mpcq-0.2.4/mpcq/submission.py +0 -23
- mpcq-0.2.4/mpcq/tests/test_integration.py +0 -58
- mpcq-0.2.4/mpcq/tests/test_submission.py +0 -11
- mpcq-0.2.4/mpcq/tests/test_utils.py +0 -69
- mpcq-0.2.4/mpcq/utils.py +0 -57
- mpcq-0.2.4/mpcq/version.py +0 -7
- mpcq-0.2.4/mpcq.egg-info/SOURCES.txt +0 -25
- mpcq-0.2.4/mpcq.egg-info/dependency_links.txt +0 -1
- mpcq-0.2.4/mpcq.egg-info/requires.txt +0 -10
- mpcq-0.2.4/mpcq.egg-info/top_level.txt +0 -1
- mpcq-0.2.4/pyproject.toml +0 -12
- mpcq-0.2.4/requirements.txt +0 -161
- mpcq-0.2.4/setup.cfg +0 -51
- mpcq-0.2.4/setup.py +0 -3
- {mpcq-0.2.4 → mpcq-0.3.0/src}/mpcq/tests/__init__.py +0 -0
mpcq-0.3.0/LICENSE.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2023-2024, Asteroid Institute
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
@@ -1,21 +1,59 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mpcq
|
|
3
|
-
Version: 0.
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Client library for interacting with an MPC observations database
|
|
5
|
+
Keywords: astronomy,orbital mechanics,propagation
|
|
6
|
+
Author-Email: Spencer Nelson <spencer@b612foundation.org>, Nate Tellis <nate@b612foundation.org>, Alec Koumjian <alec@b612foundation.org>, Joachim Moeyens <moeyensj@uw.edu>
|
|
7
|
+
License: The MIT License (MIT)
|
|
8
|
+
|
|
9
|
+
Copyright (c) 2023-2024, Asteroid Institute
|
|
10
|
+
|
|
11
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
16
|
+
|
|
17
|
+
Classifier: Operating System :: OS Independent
|
|
18
|
+
Classifier: Development Status :: 4 - Beta
|
|
19
|
+
Classifier: Intended Audience :: Science/Research
|
|
20
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
21
|
+
Classifier: Programming Language :: Python
|
|
22
|
+
Classifier: Programming Language :: Python :: 3
|
|
23
|
+
Classifier: Topic :: Scientific/Engineering :: Astronomy
|
|
24
|
+
Project-URL: Documentation, https://github.com/B612-Asteroid-Institute/mpcq#README.md
|
|
25
|
+
Project-URL: Issues, https://github.com/B612-Asteroid-Institute/mpcq/issues
|
|
26
|
+
Project-URL: Source, https://github.com/B612-Asteroid-Institute/mpcq
|
|
27
|
+
Requires-Python: >=3.10
|
|
28
|
+
Requires-Dist: adam_core>=0.2.5
|
|
8
29
|
Requires-Dist: astropy
|
|
30
|
+
Requires-Dist: google-cloud-bigquery
|
|
9
31
|
Requires-Dist: google-cloud-secret-manager
|
|
10
|
-
Requires-Dist:
|
|
11
|
-
Requires-Dist:
|
|
12
|
-
|
|
13
|
-
Requires-Dist:
|
|
14
|
-
|
|
32
|
+
Requires-Dist: numpy
|
|
33
|
+
Requires-Dist: quivr
|
|
34
|
+
Requires-Dist: google-cloud-bigquery-storage>=2.27.0
|
|
35
|
+
Requires-Dist: tqdm>=4.67.1
|
|
36
|
+
Provides-Extra: dev
|
|
37
|
+
Requires-Dist: black; extra == "dev"
|
|
38
|
+
Requires-Dist: ipython; extra == "dev"
|
|
39
|
+
Requires-Dist: isort; extra == "dev"
|
|
40
|
+
Requires-Dist: mypy; extra == "dev"
|
|
41
|
+
Requires-Dist: pdm; extra == "dev"
|
|
42
|
+
Requires-Dist: pytest-benchmark; extra == "dev"
|
|
43
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
44
|
+
Requires-Dist: pytest-doctestplus; extra == "dev"
|
|
45
|
+
Requires-Dist: pytest-mock; extra == "dev"
|
|
46
|
+
Requires-Dist: pytest; extra == "dev"
|
|
47
|
+
Requires-Dist: ruff; extra == "dev"
|
|
48
|
+
Description-Content-Type: text/markdown
|
|
15
49
|
|
|
16
50
|
# mpcq
|
|
17
51
|
#### A Python package by the Asteroid Institute, a program of the B612 Foundation
|
|
18
52
|
|
|
53
|
+
[](https://img.shields.io/badge/Python-3.10%2B-blue)
|
|
54
|
+
[](https://opensource.org/licenses/MIT)
|
|
55
|
+
[](https://github.com/B612-Asteroid-Institute/mpcq/actions/workflows/pip-build-lint-test-coverage.yml)
|
|
56
|
+
|
|
19
57
|
This is a client library for interacting with an MPC observations database.
|
|
20
58
|
|
|
21
59
|
## Notice
|
|
@@ -1,21 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: mpcq
|
|
3
|
-
Version: 0.2.4
|
|
4
|
-
Requires-Python: >=3.9
|
|
5
|
-
Description-Content-Type: text/markdown
|
|
6
|
-
Requires-Dist: sqlalchemy<2
|
|
7
|
-
Requires-Dist: pandas
|
|
8
|
-
Requires-Dist: astropy
|
|
9
|
-
Requires-Dist: google-cloud-secret-manager
|
|
10
|
-
Requires-Dist: cloud-sql-python-connector[pg8000]
|
|
11
|
-
Requires-Dist: pg8000
|
|
12
|
-
Provides-Extra: tests
|
|
13
|
-
Requires-Dist: pre-commit; extra == "tests"
|
|
14
|
-
Requires-Dist: pytest; extra == "tests"
|
|
15
|
-
|
|
16
1
|
# mpcq
|
|
17
2
|
#### A Python package by the Asteroid Institute, a program of the B612 Foundation
|
|
18
3
|
|
|
4
|
+
[](https://img.shields.io/badge/Python-3.10%2B-blue)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
[](https://github.com/B612-Asteroid-Institute/mpcq/actions/workflows/pip-build-lint-test-coverage.yml)
|
|
7
|
+
|
|
19
8
|
This is a client library for interacting with an MPC observations database.
|
|
20
9
|
|
|
21
10
|
## Notice
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "mpcq"
|
|
3
|
+
dynamic = []
|
|
4
|
+
authors = [
|
|
5
|
+
{ name = "Spencer Nelson", email = "spencer@b612foundation.org" },
|
|
6
|
+
{ name = "Nate Tellis", email = "nate@b612foundation.org" },
|
|
7
|
+
{ name = "Alec Koumjian", email = "alec@b612foundation.org" },
|
|
8
|
+
{ name = "Joachim Moeyens", email = "moeyensj@uw.edu" },
|
|
9
|
+
]
|
|
10
|
+
description = "Client library for interacting with an MPC observations database"
|
|
11
|
+
readme = "README.md"
|
|
12
|
+
requires-python = ">=3.10"
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Operating System :: OS Independent",
|
|
15
|
+
"Development Status :: 4 - Beta",
|
|
16
|
+
"Intended Audience :: Science/Research",
|
|
17
|
+
"License :: OSI Approved :: MIT License",
|
|
18
|
+
"Programming Language :: Python",
|
|
19
|
+
"Programming Language :: Python :: 3",
|
|
20
|
+
"Topic :: Scientific/Engineering :: Astronomy",
|
|
21
|
+
]
|
|
22
|
+
keywords = [
|
|
23
|
+
"astronomy",
|
|
24
|
+
"orbital mechanics",
|
|
25
|
+
"propagation",
|
|
26
|
+
]
|
|
27
|
+
dependencies = [
|
|
28
|
+
"adam_core>=0.2.5",
|
|
29
|
+
"astropy",
|
|
30
|
+
"google-cloud-bigquery",
|
|
31
|
+
"google-cloud-secret-manager",
|
|
32
|
+
"numpy",
|
|
33
|
+
"quivr",
|
|
34
|
+
"google-cloud-bigquery-storage>=2.27.0",
|
|
35
|
+
"tqdm>=4.67.1",
|
|
36
|
+
]
|
|
37
|
+
version = "0.3.0"
|
|
38
|
+
|
|
39
|
+
[project.license]
|
|
40
|
+
file = "LICENSE.md"
|
|
41
|
+
|
|
42
|
+
[project.urls]
|
|
43
|
+
Documentation = "https://github.com/B612-Asteroid-Institute/mpcq#README.md"
|
|
44
|
+
Issues = "https://github.com/B612-Asteroid-Institute/mpcq/issues"
|
|
45
|
+
Source = "https://github.com/B612-Asteroid-Institute/mpcq"
|
|
46
|
+
|
|
47
|
+
[project.optional-dependencies]
|
|
48
|
+
dev = [
|
|
49
|
+
"black",
|
|
50
|
+
"ipython",
|
|
51
|
+
"isort",
|
|
52
|
+
"mypy",
|
|
53
|
+
"pdm",
|
|
54
|
+
"pytest-benchmark",
|
|
55
|
+
"pytest-cov",
|
|
56
|
+
"pytest-doctestplus",
|
|
57
|
+
"pytest-mock",
|
|
58
|
+
"pytest",
|
|
59
|
+
"ruff",
|
|
60
|
+
]
|
|
61
|
+
|
|
62
|
+
[build-system]
|
|
63
|
+
requires = [
|
|
64
|
+
"pdm-backend",
|
|
65
|
+
]
|
|
66
|
+
build-backend = "pdm.backend"
|
|
67
|
+
|
|
68
|
+
[tool.pdm.build]
|
|
69
|
+
includes = [
|
|
70
|
+
"src/mpcq/",
|
|
71
|
+
]
|
|
72
|
+
|
|
73
|
+
[tool.pdm.version]
|
|
74
|
+
source = "scm"
|
|
75
|
+
write_to = "mpcq/_version.py"
|
|
76
|
+
write_template = "__version__ = '{}'"
|
|
77
|
+
|
|
78
|
+
[tool.pdm.scripts]
|
|
79
|
+
fix = "ruff ./src/mpcq --fix"
|
|
80
|
+
typecheck = "mypy --strict ./src/mpcq"
|
|
81
|
+
test = "pytest --benchmark-disable {args}"
|
|
82
|
+
doctest = "pytest --doctest-plus --doctest-only"
|
|
83
|
+
benchmark = "pytest --benchmark-only"
|
|
84
|
+
coverage = "pytest --cov=mpcq --cov-report=xml"
|
|
85
|
+
|
|
86
|
+
[tool.pdm.scripts.check]
|
|
87
|
+
composite = [
|
|
88
|
+
"lint",
|
|
89
|
+
"typecheck",
|
|
90
|
+
"test",
|
|
91
|
+
]
|
|
92
|
+
|
|
93
|
+
[tool.pdm.scripts.format]
|
|
94
|
+
composite = [
|
|
95
|
+
"black ./src/mpcq",
|
|
96
|
+
"isort ./src/mpcq",
|
|
97
|
+
]
|
|
98
|
+
|
|
99
|
+
[tool.pdm.scripts.lint]
|
|
100
|
+
composite = [
|
|
101
|
+
"ruff check ./src/mpcq",
|
|
102
|
+
"black --check ./src/mpcq",
|
|
103
|
+
"isort --check-only ./src/mpcq",
|
|
104
|
+
]
|
|
105
|
+
|
|
106
|
+
[tool.black]
|
|
107
|
+
line-length = 88
|
|
108
|
+
|
|
109
|
+
[tool.isort]
|
|
110
|
+
profile = "black"
|
|
111
|
+
|
|
112
|
+
[tool.ruff]
|
|
113
|
+
line-length = 110
|
|
114
|
+
target-version = "py311"
|
|
115
|
+
exclude = [
|
|
116
|
+
"build",
|
|
117
|
+
]
|
|
118
|
+
|
|
119
|
+
[tool.ruff.lint]
|
|
120
|
+
ignore = []
|
|
121
|
+
|
|
122
|
+
[tool.mypy]
|
|
123
|
+
ignore_missing_imports = true
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# ruff: noqa: F401
|
|
2
|
+
from ._version import __version__
|
|
3
|
+
from .client import BigQueryMPCClient, MPCClient
|
|
4
|
+
from .observations import MPCObservations
|
|
5
|
+
from .orbits import MPCOrbits
|
|
6
|
+
from .submissions import (
|
|
7
|
+
MPCSubmissionHistory,
|
|
8
|
+
MPCSubmissionResults,
|
|
9
|
+
SubmissionDetails,
|
|
10
|
+
TrksubMapping,
|
|
11
|
+
)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.3.0'
|