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.2

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.2

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.2
File Size Uploaded Provenance Actions
astrocook-2.9.2.tar.gz 3.2 MB With provenance Details for astrocook-2.9.2.tar.gz

Built distribution (wheel)

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

Total release size: 6.1 MB

Release files / astrocook-2.9.2.tar.gz

Download URL astrocook-2.9.2.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
4349a0a4f5f8532f6f3ab210d88d840a9f3a3c2475f858bf96e564dc106c4d2b
BLAKE2b-256 checksum
How to use checksums
27d756f4f21e0eb691e1af93f6ab329ea8ce89484a13f6e524f84d08ef8727ce
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 Dec 3, 2026.

Transparency log

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

Download URL astrocook-2.9.2-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
c1766c12dace9075e0a65fcfe2605f368949fcd708bae21770d7ed85ae23e61a
BLAKE2b-256 checksum
How to use checksums
44ca1a87d6f2b9547bbe720cbcab629f16e0d3ef6a9d0ce0c05ff07de1c0714f
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 Dec 3, 2026.

Transparency log

Security for astrocook 2.9.2

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.2.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 Dec 3, 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.2 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