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.3.tar.gz (168.3 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.3-py3-none-any.whl (163.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: astrostash-0.2.3.tar.gz
  • Upload date:
  • Size: 168.3 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.3.tar.gz
Algorithm Hash digest
SHA256 716f90e6c5c5ac4390a837b8ae9f18c6fdfea405338aaae6a319a0f01dc64f01
MD5 f77c0aa1bd9fc6050544b0ad9ef54580
BLAKE2b-256 f01a8a7f0b1354b3c7bb158f9af4b213a6e0c763636c45a15015cb54f774a38d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: astrostash-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 163.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8aed46e9d81ee4122711183ba1ecdbcdd8a53f2f810a278693c190676f8816e3
MD5 a2944c42a29c368c9512c91f7a7236ce
BLAKE2b-256 4238e42cb79f82c63d41a68f0e0c4543b4210a2a1152a169e22316bb0945d089

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