Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iyashwantsaini/jupyterlab_weather_extension

A Weather Extension for Jupyterlab Using React and Typescript.
https://github.com/iyashwantsaini/jupyterlab_weather_extension

Last synced: about 11 hours ago
JSON representation

A Weather Extension for Jupyterlab Using React and Typescript.

Awesome Lists containing this project

README

        




logo


Jlab Weather Extension | ReactJs | TypeScript


JupyterLab is the next-generation web-based user interface for Project Jupyter.

## Weather JupyterLab extension

- Extension published on npm : @meyash/labweather
- Link : https://www.npmjs.com/package/@meyash/labweather

### Installation Instructions

1) conda create -n labweather jupyterlab nodejs
2) conda activate labweather
3) jupyter labextension install @meyash/labweather
4) jupyter lab

### Ways to run an extension in JupyterLab

1) via launcher icon
2) via left side bar
3) via command palette

This extension can be accessed via Launcher Icon.

### Screenshots


![alt text](img/leftpanel.png)
![alt text](img/tab.png)
![alt text](img/launchericon.png)

## Requirements

* JupyterLab >= 1.0

## Installation

```bash
jupyter labextension install @meyash/labweather
```

## Contributing

### Install

The `jlpm` command is JupyterLab's pinned version of
[yarn](https://yarnpkg.com/) that is installed with JupyterLab. You may use
`yarn` or `npm` in lieu of `jlpm` below.

```bash
# Clone the repo to your local environment
# Move to labweather directory
# Install dependencies
jlpm
# Build Typescript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension link .
# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build
```

You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.

```bash
# Watch the source directory in another terminal tab
jlpm watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch
```

### Uninstall

```bash
jupyter labextension uninstall @meyash/labweather
```

## License

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE)

By [Yashwant](https://github.com/iyashwantsaini)

## Contributors

toofff