MAXILab
MAXI Light-curve Analysis and Browsing
MAXILab is a Python package for accessing public MAXI/GSC light curves.
Version 0.1.1 contains the data-access layer only: give MAXILab a source name and it resolves the source in the live MAXI catalogue, downloads the latest standard light curve, validates it, and returns it as a pandas.DataFrame.
MAXILab is an independent project and is not an official MAXI-team package.
Install
From PyPI, once released:
pip install maxilab
For development from a local clone:
python -m pip install -e '.[test]'
Quick start
from maxilab import MAXISource
vela = MAXISource("Vela X-1")
print(vela.data.head())
print(vela.data.tail())
print(vela.latest_mjd)
The default product is the 1-ISS-orbit MAXI/GSC light curve.
For the 1-day product:
vela = MAXISource("Vela X-1", binning="day")
The returned table contains:
mjd
flux_2_20 err_2_20
flux_2_4 err_2_4
flux_4_10 err_4_10
flux_10_20 err_10_20
Raw MAXI data and a provenance JSON file are cached locally under:
~/.cache/maxilab/
Testing
Install the test dependencies and run:
python -m pip install -e '.[test]'
pytest -m 'not live'
The test suite enforces >90% coverage. The current release has 100% statement and branch coverage in the deterministic test suite.
To additionally test a real connection to the MAXI website:
MAXILAB_RUN_LIVE=1 pytest -m live --no-cov
Current scope
Version 0.1.1 only handles source resolution, download, validation, local storage, and provenance. Analysis and plotting tools will be added in later releases.
MAXI source catalogue: https://maxi.riken.jp/top/slist.html
Metadata
Release files for maxilab 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| maxilab-0.1.1.tar.gz | 13.8 kB | With provenance | Details for maxilab-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| maxilab-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for maxilab-0.1.1-py3-none-any.whl |
Total release size: 23.1 kB
Release files / maxilab-0.1.1.tar.gz
| Download URL | maxilab-0.1.1.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66f18a18c0872f51a4a73cf361b113759071f4c5660895cb8f3537c85d97426f
|
|
BLAKE2b-256 checksum How to use checksums |
839e7776ea9b3afc8be9b89715eaff9d61771978502e52564e136c74a446074d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 1, 2026.
Transparency logRelease files / maxilab-0.1.1-py3-none-any.whl
| Download URL | maxilab-0.1.1-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3499015c2c438c403f9dc238bbc888c9f9a4d3b2728ed02952f2a5b9acf23787
|
|
BLAKE2b-256 checksum How to use checksums |
182e362ba286b6be5394d1c8b24f820f3cbe1b415022a4e1d102191a9e450fa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 1, 2026.
Transparency logSecurity for maxilab 0.1.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.
Attestation for maxilab-0.1.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 Oct 1, 2026.
Transparency logA 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.