Skip to main content

DOI Documentation Status Build Status Coverage Status

python-specex

Extract spectra from fits cubes

SETUP

To install the latest stable version of specex, just use pip:

$ pip install specex

Some functionalities are enabled only if some optional packages are installed, these packages can be installed by pip when installing Specex by specifing the desired configuration, for example

$ pip install specex[animation]

will install the packages required to use the command specex-cube-anim, while with the command

$ pip install specex[animation,regions]

to install packages required for animations and region file handling. To install all the optional dependencies use

$ pip install specex[all]

To install the bleeding edge version, clone the github repository then use pip:

$ git clone 'https://github.com/mauritiusdadd/python-specex.git'
$ cd python-specex
$ pip install .

DOCUMENTATION

To build the documentation, install the requirements and run sphinx:

$ pip install -r docs/requirements.txt
$ sphinx-build -b html docs/ docs/_build/html

The full documentation is also available here: [https://python-specex.readthedocs.io/en/latest/index.html]

ACKNOWLEDGMENTS

If you used this software for your research, please consider to cite the following article

https://doi.org/10.1051/0004-6361/202349060

@ARTICLE{DAddona2024,
  title     = "The powerful lens galaxy cluster {PLCK} G287.0+32.9
               ({$\vartheta$E} $\sim 43$ ′′)",
  author    = "D'Addona, M and Mercurio, A and Rosati, P and Grillo, C and
               Caminha, G and Acebron, A and Angora, G and Bergamini, P and
               Bozza, V and Granata, G and Annunziatella, M and Gargiulo, A and
               Gobat, R and Tozzi, P and Girardi, M and Lombardi, M and
               Meneghetti, M and Schipani, P and Tortorelli, L and Vanzella, E",
  journal   = "Astron. Astrophys.",
  publisher = "EDP Sciences",
  month     =  feb,
  year      =  2024,
}

Metadata

Release files for specex 1.0.0

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

Source distribution (sdist)

Source distribution for specex 1.0.0
File Size Uploaded Provenance Actions
specex-1.0.0.tar.gz 2.4 MB With provenance Details for specex-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 2.5 MB

Release files / specex-1.0.0.tar.gz

Download URL specex-1.0.0.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
a8feb26b8ae6c448e10560d1e53fcc5503a723cc5d9d499073635bb829a66f61
BLAKE2b-256 checksum
How to use checksums
555dd25f7531058e78d02d83b3a1ed2fbcc2db694a6c97211d4820fbd2561166
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 9, 2026.

Transparency log

Release files / specex-1.0.0-py3-none-any.whl

Download URL specex-1.0.0-py3-none-any.whl
Size 85.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed3f7da211fcf3b48251b049dd1cd790624eae9bf32d59430a5bc884e0d5694c
BLAKE2b-256 checksum
How to use checksums
e0ec0f95b00dc63bd351c80bfbbb1091b98c39c44184498c25103005d25ee949
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 9, 2026.

Transparency log

Security for specex 1.0.0

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 specex-1.0.0.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 9, 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.

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