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.2.tar.gz (168.1 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.2-py3-none-any.whl (163.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: astrostash-0.2.2.tar.gz
  • Upload date:
  • Size: 168.1 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.2.tar.gz
Algorithm Hash digest
SHA256 01d58573aabb0b5262cd5e03d3f8eb2f8fd221748329abadc08cc5dba4bf98b1
MD5 8192d1abee4a327cc87e25a86c754714
BLAKE2b-256 4442480f3873c3fc0d648cb2ab1f984d4a1a1f88e57340660295cf62cb490387

See more details on using hashes here.

File details

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

File metadata

  • Download URL: astrostash-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 163.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ce9e294d9c9f16eeed811b7e05737a0ca6c3155cb3ee6c5334ecbdaa6c8d020c
MD5 c84f19c12fb573dc3dc4ab7258a38d3d
BLAKE2b-256 a9d170ba5cb69189a90977a14f30c972aa3d38bbe7a096fe82a79ccf34b711ab

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