MAXILab
MAXI Light-curve Analysis and Browsing
MAXILab is a Python package for accessing public MAXI/GSC light curves.
Version 0.1.0 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.0 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.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| maxilab-0.1.0.tar.gz | 13.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maxilab-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.2 kB
Release files / maxilab-0.1.0.tar.gz
| Download URL | maxilab-0.1.0.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b1a64d471a96d6efc6d2760034a8fd1776ed92643e2ab93d36ba35029792b105
|
|
BLAKE2b-256 checksum How to use checksums |
ae9eb1d6c23dc54b77341c685521ccf28a4b066aa050d3780e08986cb6d5c986
|
| 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.0-py3-none-any.whl
| Download URL | maxilab-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c33e68621bf11981f328d2a5bda7a72cacc0800fa09d547b991cd4cfcf6e5db4
|
|
BLAKE2b-256 checksum How to use checksums |
e7b2b9b93734e6533ecd5759ca02267cf7e6844e6adca1a35163dcd8e5ddc165
|
| 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 log