jtpio / ipyp5 Goto Github PK
View Code? Open in Web Editor NEWp5.js Jupyter Widget
License: BSD 3-Clause "New" or "Revised" License
p5.js Jupyter Widget
License: BSD 3-Clause "New" or "Revised" License
Hi, I'd really like to try this project out. However I run into some problem when trying to install it.
When running pip install -e .
there seems to be a file missing: ipyp5/ipyp5/nbextension/static/index.js
.
raise ValueError(("missing files: %s" % missing))
ValueError: missing files: ['/home/user/GitHub/ipyp5/ipyp5/nbextension/static/index.js', '/home/user/GitHub/ipyp5/lib/plugin.js']
----------------------------------------
Command "/home/user/anaconda3/envs/ipyp5/bin/python -c "import setuptools, tokenize;__file__='/home/user/GitHub/ipyp5/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" develop --no-deps" failed with error code 1 in /home/user/GitHub/ipyp5/
I noticed that the file is blocked from uploading in .gitignore.
Thanks for any help!
The readme.md
states that
The ideal goal (disclaimer: not implemented yet) would be to write code like this in a notebook cell
looks like pyp5js just might be the ticket?
Is there a specific version of Python needed for this package to run? I'm trying to add this package to a new environment in Jupyter Notebooks but it's not working very well. I'd love to utilize this package to make a P5 tutorial for my college course. When I tried to download the ipyp5 package locally I kept getting the error: no module found. Is there a workaround for this or has this project kind of gone by the wayside? Any information is greatly appreciated.
I just got ipyp5 and am trying out the example you give in JupyterLab (I'm brand new to JupyterLab/Jupyter Notebook). I'm getting an ImportError: cannot import name 'Sketch' from 'ipyp5' (unknown location). Where should it be?
There's a p5.js kernel for Jyve that may also be useful for this project? Jyve is JupyterLab compiled to run in a browser without any backend.
Src: https://github.com/deathbeds/jyve
Demo: https://deathbeds.github.io/jyve/lab/
p5.js JupyterLab NPM package: https://github.com/deathbeds/jyve/tree/master/packages/jyve-kyrnel-p5-unsafe
This seems to work in the demo:
// restart and run all
function setup() { createCanvas(100, 100) }
function draw() { rect(10, 20, 55, 55) }
A number of things are not yet implemented in Jyve; including:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.