Skip to main content

An astronomy/astrophysics database building and syncing library

Project description

GitHub License GitHub branch check runs

astrostash

🔭 An astronomy and astrophysics database building/syncing tool

Astrostash lets you "stash" query results from astronomy data sources into a local SQLite3 database by caching individual queries, or mirroring entire catalog tables for offline access.


Features

  • Local data storage — Retain copies of query results in a SQLite3 database.
  • Offline querying — Mirror stable catalog tables and query them with spatial filters without network access.
  • Automatic caching — Results from repeated queries are served from your local database.
  • Refresh scheduling — Set a refresh interval to keep cached data up to date.

Requirements

Python >= 3.10

📦 Dependencies

  • astroquery >= 0.4.10
  • pandas >= 2.3.0
  • SQLAlchemy >= 2.0.43

📥 Installation

pip install astrostash

Or clone and install from source:

git clone https://github.com/nkphysics/astrostash.git
cd astrostash
pip install .

For info on Getting Started see the docs linked below.


📚 Documentation

  • HEASARC — Quickstart, local mirroring workflow, spatial queries, data products, and full API reference.

Development

🚧 Current State: Alpha

Install dev dependencies:

pip install .[dev]

License

BSD 3-Clause. See LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astrostash-0.2.0.tar.gz (138.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astrostash-0.2.0-py3-none-any.whl (133.8 kB view details)

Uploaded Python 3

File details

Details for the file astrostash-0.2.0.tar.gz.

File metadata

  • Download URL: astrostash-0.2.0.tar.gz
  • Upload date:
  • Size: 138.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for astrostash-0.2.0.tar.gz
Algorithm Hash digest
SHA256 dd14a0ac6b4055127b583958dad9ae38b8ab0f78a2841043acd42443f6563d0d
MD5 ba173e9ee4fca50374b27493ab246d86
BLAKE2b-256 871ee1f6d83a8e5fcb3d36a69ece93426084de2819edaeead3da86e6d8e2da95

See more details on using hashes here.

File details

Details for the file astrostash-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: astrostash-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 133.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for astrostash-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1136383b79894d060e639d0bc449b2345d4f50b69f47183bacacb6ca85a47fff
MD5 f6702152093269fce0054b2ec80aed47
BLAKE2b-256 e00034cb540ca24312139c1fc3bd9233e0472041aa1e1a1199dccf1024821124

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page