Skip to content

Examples

Example What it shows
Quickstart notebook A Jupyter walkthrough with saved outputs: metrics, live NASA data, Monte Carlo for one planet and the whole catalogue, plots and ML features
Full tour script One script that runs and checks every public function, saves three plots, and ends with a pass/fail summary
Installation self-check A short check of your installation against published values

Run the full tour

pip install "exohab[all]"
curl -o full_tour.py https://raw.githubusercontent.com/kailash9342/exohab/main/examples/full_tour.py
python full_tour.py

It should end with:

[PASS] every public name exercised (28/28)

   26 passed, 0 failed, 0 skipped

Open the notebook

pip install "exohab[all]" notebook
curl -o quickstart.ipynb https://raw.githubusercontent.com/kailash9342/exohab/main/examples/quickstart.ipynb
jupyter notebook quickstart.ipynb

You can also read the notebook with all its outputs directly on GitHub.