Skip to main content
logo_3d_HR

Astrocook

A thousand recipes to cook a spectrum.

DOI

Astrocook is a Python package and graphical interface for the analysis of quasar spectra: estimate of the continuum, identification of absorption systems and fit of Voigt profiles, interactively and in a reproducible way. Every operation is a recipe with its own parameters, available from the menus, from Python scripts and from AI agents (through an MCP server); the history of the session is recorded and can be exported as a description of the methods.

Installation

Astrocook needs Python 3.12 or later (the installation downloads PySide6, about 200 MB):

pip install astrocook

Optional extras: astrocook[bayes] (MCMC and nested sampling) and astrocook[mcp] (server for AI agents). Then run astrocook. On macOS a standalone app is available from the releases page.

Documentation

User guide, tutorials and reference: https://das-oats.github.io/astrocook/. Bugs and questions: GitHub issues.

Credits

© 2017-2026 INAF – Istituto Nazionale di Astrofisica. Version: 2.9.1

Developed by Guido Cupani at INAF–Osservatorio Astronomico di Trieste.

Many thanks to (in alphabetical order): Giorgio Calderone, Stefano Cristiani, Simona Di Stefano, Valentina D'Odorico, Francesco Guarneri, Elena Marcuzzo, Stefano Alberto Russo, Andrea Trost.

The development of Astrocook was assisted by the AI models Claude (Anthropic) and Gemini (Google).

Logo and icon by Claudia Cupani.

Partly funded by the PRIN PNRR project “Next generation computing & data technologies to probe the cosmic metal content”.

If you use Astrocook in your research, please cite: Cupani et al. 2026 (Proc. SPIE 14155, 141551X). To cite the software itself, use its DOI, 10.5281/zenodo.1346736 (it always points to the latest version; the page of each version has its own DOI). The CITATION.cff file in the repository holds the same information.

License

Astrocook is free software, released under the GNU General Public License v3.0 or later (GPL-3.0-or-later).

Disclaimer

THE SOFTWARE ASTROCOOK IS PROVIDED ​“AS IS”. THE DEVELOPERS OF ASTROCOOK MAKE NO OTHER WARRANTIES, EXPRESS OR IMPLIED, AND HEREBY DISCLAIM ALL IMPLIED WARRANTIES, INCLUDING ANY WARRANTY OF MERCHANTABILITY AND WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE.

Metadata

Release files for astrocook 2.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for astrocook 2.9.1
File Size Uploaded Provenance Actions
astrocook-2.9.1.tar.gz 3.2 MB With provenance Details for astrocook-2.9.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for astrocook 2.9.1
File Interpreter ABI Platform Actions
astrocook-2.9.1-py3-none-any.whl Python 3 none any Details for astrocook-2.9.1-py3-none-any.whl

Total release size: 6.1 MB

Release files / astrocook-2.9.1.tar.gz

Download URL astrocook-2.9.1.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
2416c88cfda1f5accfba1151577a2809191754bd9cd6fd2bb60586674ea5c24e
BLAKE2b-256 checksum
How to use checksums
090c87d91f68494714b187e13b7a6760104a6ba05afeea38dc6959869d4a9102
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Release files / astrocook-2.9.1-py3-none-any.whl

Download URL astrocook-2.9.1-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
1f610194d7c18f60155eea42b56e4cec6d723b1b32db9c8f878a1f0ac6540342
BLAKE2b-256 checksum
How to use checksums
9dea00965a495e4a8d03372c8c3a61b879c7289338e6616308c47640c90f4679
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

Security for astrocook 2.9.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for astrocook-2.9.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.9.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page