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.1.tar.gz (139.9 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.1-py3-none-any.whl (134.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: astrostash-0.2.1.tar.gz
  • Upload date:
  • Size: 139.9 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.1.tar.gz
Algorithm Hash digest
SHA256 4876c0ae9bf6c679ee5566aaf39885bb8d8d865186c7ca77069d18ef6aef620d
MD5 bf77af157b6fe92692bfb271574b055d
BLAKE2b-256 1531cb50f175f32528ad91ecb154b5dce966670a50a2c9be684d2203fb85b6fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: astrostash-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 134.9 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 348e19418c75780c1e854e749625b96365ceb9cecd19203bd996fb02fd7f664c
MD5 e3ceb4de0dc66623a6c32edac3e15e7c
BLAKE2b-256 a5dc372ec55f58abec8b3ca0d6fbf69d3658577ac90ed7661c3dd32c3e015720

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