A Cosmic Data Story about Hubble's Law
hubbleds
requires the base cosmicds
to be installed.pip
if you don't already have it.$ pip install solara
$ pip install python-dotenv
$ pip install -e .
$ pip install -e .
Inside the hubbleds folder in your terminal,
$ CDS_API_KEY="<your api key>" solara run hubbleds.pages --theme-variant dark
If you update .css, you have to force refresh your browser (shift-command-r
on a mac) for the changes to register.
As of 4/30/2024, the voila-based code has been moved to the legacy branch.
To run the legacy code, you also need the legacy branch of the cosmicds repo.
$ pip install -e .
$ pip install -e .
node.js
to a Long Term Support (LTS) version (14.x or 16.x).src/hubbleds/HubbleDS.ipynb
or
$ cosmicds hubble
This project has been set up using PyScaffold 4.5. For details and usage information on PyScaffold see https://pyscaffold.org/.