Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/librasteve/raku-physics-measure-jupyter
Jupyter workbook examples for raku Physics::Measure
https://github.com/librasteve/raku-physics-measure-jupyter
binder jupyter jupyter-notebook raku units units-of-measurement
Last synced: 11 days ago
JSON representation
Jupyter workbook examples for raku Physics::Measure
- Host: GitHub
- URL: https://github.com/librasteve/raku-physics-measure-jupyter
- Owner: librasteve
- License: artistic-2.0
- Created: 2019-07-28T08:06:54.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-10-31T09:37:27.000Z (16 days ago)
- Last Synced: 2024-10-31T10:26:45.507Z (16 days ago)
- Topics: binder, jupyter, jupyter-notebook, raku, units, units-of-measurement
- Language: Jupyter Notebook
- Homepage:
- Size: 1.35 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![License: Artistic-2.0](https://img.shields.io/badge/License-Artistic%202.0-0298c3.svg)](https://opensource.org/licenses/Artistic-2.0)
[![rpmjk -> DH](https://github.com/librasteve/raku-Physics-Measure-Jupyter/actions/workflows/rpmjk-weekly.yaml/badge.svg)](https://github.com/librasteve/raku-Physics-Measure-Jupyter/actions/workflows/rpmjk-weekly.yaml)## raku-Physics-Measure-Jupyter
Jupyter workbook examples for raku [Physics::Measure](https://github.com/librasteve/raku-Physics-Measure)A set of SI, Imperial and US Unit classes that are employed as Measure objects having value, units and error that can act as operands in most calculations. Some prefix and physical constants included where needed.
## Docker Instructions
To use on Docker:
- ```docker run -it --platform linux/amd64 -p 8888:8888 librasteve/rakudo:rpmjk-amd64```
- ```jupyter-notebook --port=8888 --no-browser --allow-root```_running on root is NOT RECOMMENDED, this is NOT SUITABLE for public facing servers_
_copy config to ~/.jupyter/jupyter_notebook_config.json to disable password (also very insecure)_
_go jupyter notebook --generate-config, then c.NotebookApp.quit_button = False to disable Quit button_
_detach gracefully with Ctrl-P, Ctrl-Q if you want the server to outlive your terminal_
_on Apple M-series silicon, Docker Desktop will run it on rosetta ([settings](https://levelup.gitconnected.com/docker-on-apple-silicon-mac-how-to-run-x86-containers-with-rosetta-2-4a679913a0d5))_
## Installation Instructions
To install on your local machine:
- ```zef install --verbose https://github.com/librasteve/raku-Physics-Measure.git```
- do the Quick Start here Brian Duggan perl6 jupyter-notebook at
- ```git clone https://github.com/librasteve/raku-Physics-Measure-Jupyter.git``` this repo on your machine and ```cd raku-Physics-Measure-Jupyter``` into the new dir
- command line ```jupyter-notebook``` - this will open a jupyter-notebook session in your browser
- in the browser, go to /eg and click Synopsis.ipynb, then Run each cell - explore & enjoy!## Inspired by
* Brian Duggan's perl6 jupyter-notebook atCopyright (c) Henley Cloud Consulting Ltd. 2021-2023