A JupyterLab extension for DSGE modeling.
- With micromamba:
micromamba install -c https://repo.prefix.dev/econforge jupyterlab_dyno
- With pixi:
pixi add jupyterlab_dyno
A conda-forge release of jupyterlab_dyno
is in the works so the above command should work for you. If it doesn't then add the "https://repo.prefix.dev/econforge"
to the list of channels in your pixi project and try to run it again.
- Pixi: a reproducible package management tool
pixi install
pixi run lab
pixi run watch
This runs jlpm watch
and jupyter lab
in parallel.
Every saved change will be rebuilt automatically — just refresh JupyterLab to load it.
pixi.toml
contains the development environment dependencies and scriptssrc/index.ts
contains all of the extension's code and logicschema/plugin.json
defines the user-facing extension settingspackage.json
contains the core JupyterLab nodejs dependencies and their versionsrecipe.yaml
contains a conda-build recipe for the extension
A conda-build
/ rattler-build
v1 recipe can be found in the recipe
folder.
You can test it out by installing rattler-build
if you don't have it already with
pixi global install rattler-build
and then by running the build command:
rattler-build build -r recipe
The version that is built with this command is not the version available locally, but rather a github release that can be modified by publishing a new release on the EconForge repo and then editing the context of the recipe.yaml
file to reflect the new version tag.
If you just want a .conda
file in order to publish the extension on a custom conda channel (like https://prefix.dev/channels/econforge), this recipe is not needed, and you only need to run the following command in the project root.
pixi build