Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
7e578e5
draft astroquery code for Lowell astorbdb AstInfo functionality
hhsieh00 Feb 4, 2025
8af08bb
Merge branch 'astropy:main' into 3129-add-lowell-astorbdb-query-module
hhsieh00 Feb 4, 2025
40e8902
Fixing some codestyle issues in core.py
hhsieh00 Feb 4, 2025
90d3373
Merge branch '3129-add-lowell-astorbdb-query-module' of https://githu…
hhsieh00 Feb 4, 2025
574f865
fixing more codestyle issues in core.py
hhsieh00 Feb 4, 2025
755b5c9
more codestyle issue fixes
hhsieh00 Feb 4, 2025
8100b1b
Merge branch 'astropy:main' into 3129-add-lowell-astorbdb-query-module
hhsieh00 Feb 14, 2025
6bf1254
First draft of completed astorbdb class
hhsieh00 Oct 21, 2025
d8abe1d
fixes added per comments by mkelley
hhsieh00 Oct 21, 2025
508f592
changes to documentation files
hhsieh00 Oct 21, 2025
1bb7c32
Merge remote-tracking branch 'upstream/main' into 3129-add-lowell-ast…
hhsieh00 Oct 21, 2025
9bc9811
draft astroquery code for Lowell astorbdb AstInfo functionality
hhsieh00 Feb 4, 2025
1b8be6f
Fixing some codestyle issues in core.py
hhsieh00 Feb 4, 2025
b365bf6
fixing more codestyle issues in core.py
hhsieh00 Feb 4, 2025
bf38f83
more codestyle issue fixes
hhsieh00 Feb 4, 2025
37ed7f8
First draft of completed astorbdb class
hhsieh00 Oct 21, 2025
0e3c4b7
fixes added per comments by mkelley
hhsieh00 Oct 21, 2025
995373b
changes to documentation files
hhsieh00 Oct 21, 2025
43cc70a
updated CHANGES.rst
hhsieh00 Oct 21, 2025
ce46457
draft astroquery code for Lowell astorbdb AstInfo functionality
hhsieh00 Feb 4, 2025
dcaf3b0
Fixing some codestyle issues in core.py
hhsieh00 Feb 4, 2025
87c2acb
fixing more codestyle issues in core.py
hhsieh00 Feb 4, 2025
28c6f2f
First draft of completed astorbdb class
hhsieh00 Oct 21, 2025
73e3082
fixes added per comments by mkelley
hhsieh00 Oct 21, 2025
a5ee3ae
updated CHANGES.rst
hhsieh00 Oct 21, 2025
71edd6e
Merge branch '3129-add-lowell-astorbdb-query-module' of https://githu…
hhsieh00 Oct 21, 2025
79d0858
added URL checks
hhsieh00 Oct 22, 2025
ccb2f5e
draft astroquery code for Lowell astorbdb AstInfo functionality
hhsieh00 Feb 4, 2025
cb8730c
Fixing some codestyle issues in core.py
hhsieh00 Feb 4, 2025
05c5cca
fixing more codestyle issues in core.py
hhsieh00 Feb 4, 2025
ce1ccb6
First draft of completed astorbdb class
hhsieh00 Oct 21, 2025
004a595
fixes added per comments by mkelley
hhsieh00 Oct 21, 2025
7595167
added URL checks
hhsieh00 Oct 22, 2025
d43ccf8
removed duplicate function definitions
hhsieh00 Oct 22, 2025
220a1b6
Merge branch '3129-add-lowell-astorbdb-query-module' of https://githu…
hhsieh00 Oct 22, 2025
e237ea0
fixed code style errors
hhsieh00 Oct 22, 2025
6171887
code style fixes
hhsieh00 Oct 22, 2025
956af7e
fixed mislabeled remote data doctests
hhsieh00 Oct 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
3 changes: 3 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
New Tools and Services
----------------------

astorbdb
^^^^^^^^

- module added to query the Lowell Observatory astorbdb database [#3203]

API changes
-----------
Expand Down
39 changes: 39 additions & 0 deletions astroquery/astorbdb/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Licensed under a 3-clause BSD style license - see LICENSE.rst

"""
ASTORBDB
-------------------------

:author: Henry Hsieh ([email protected])
"""

# Make the URL of the server, timeout and other items configurable
# See <http://docs.astropy.org/en/latest/config/index.html#developer-usage>
# for docs and examples on how to do this
# Below is a common use case

from astropy import config as _config


class Conf(_config.ConfigNamespace):
"""
Configuration parameters for `astroquery.astorbdb`.
"""
server = _config.ConfigItem(
['https://asteroid.lowell.edu/api/asteroids/'],
'AstorbDB')

timeout = _config.ConfigItem(
30,
'Time limit for connecting to astorbdb server.')


conf = Conf()

# Now import your public class
# Should probably have the same name as your module
from .core import AstInfo, AstInfoClass

__all__ = ['AstInfo', 'AstInfoClass',
'Conf', 'conf',
]
Loading
Loading