npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jupyter-histree

v0.1.1

Published

Histree: An experimental tree-based history tracking tool for JupyterLab

Downloads

9

Readme

Histree

A history tracking tool for JupyterLab, based on Verdant by Mary Beth Kery. The purpose of Histree is to provide a JupyterLab extension that does tree-based history tracking with branching capabilities.

[DEMO VIDEO ON YOUTUBE]

Check out our paper (preprint) for the research behind this tool.

Install

  1. Jupyterlab: Histree works with > JupyterLab 3 (latest version). To install or update your JupyterLab:
  • with pip: pip install jupyterlab -U
  • with conda: conda install -c conda-forge jupyterlab
  • to check version: jupyter lab --version
  • for windows users!: due to a bug with lab extensions in earlier 3.0 releases, be sure you have >= 3.0.7 of JupyterLab
  • tested with JupyterLab version 3.0.X
  1. NodeJs: JupyterLab needs node to configure and install extensions, not just Histree
  1. Histree:
  • with the JupyterLab extension manager: look for "jupyter-histree" in the extensions menu (the puzzle icon in the sidebar of JupyterLab) and click "Install".
  • alternatively, with the command line: jupyter labextension install jupyter-histree
  1. If the installation was successful, the Histree extension will be available in the sidebar on the left!

Develop

To build Histree from source code, execute the following commands in the source code directory:

yarn
yarn build
yarn start

After making modifications to the code, use the following commands to rebuild (this will take a while every time):

yarn build
yarn start

In case you wish to apply your changes more quickly, you can use hot-reloading:

  1. Open up a command line in the source code directory and enter jupyter lab --watch
  2. Open up a second command line in the source code directory and enter yarn watch

Now the changes will be applied automatically within seconds after saving changes within the source code.

Known Issues

This is an experimental extension not yet properly released, and may contain bugs that could cause problems with your Jupyter Notebooks. Please use at your own risk. Here are a few issues that we are currently aware of:

  • Reordering cells can sometimes cause issues with the history tracking
  • Copy/Pasting of cells can cause similar problems

Acknowledgments

This tool has been developed as part of a project supervised by Selin Aydin at the Research Group Software Construction of RWTH Aachen University.

Thank you to Mary Beth Kery for the original Verdant extension and our study participants for all the valuable feedback on earlier versions!