Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit482b89f

Browse files
authored
Merge pull request#250 from visualpython/release
Release v3.0.0
2 parents175de5f +b195d05 commit482b89f

31 files changed

+10447
-17828
lines changed

‎README.md‎

Lines changed: 44 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[lite]:https://visualpython.github.io/visualpython-lite/lab/index.html
1212

1313
##Introduction
14-
Visual Python is a GUI-based Python code generator, developed on the**Jupyter Lab**,**Jupyter Notebook** and**Google Colab** as an extension. <br>
14+
Visual Python is a GUI-based Python code generator, developed on the**[Jupyter Lab](#getting-started-with-jupyter-lab)**,**[Jupyter Notebook](#getting-started-with-jupyter-notebook-7x)** and**[Google Colab](#getting-started-with-google-colab)** as an extension.You can also simply use Visual Python using**[Visual Python Desktop](#getting-started-with-visual-python-desktop)**.<br>
1515
Visual Python is an open source project started for students who struggle with coding during Python classes for data science.
1616

1717
<br>
@@ -30,26 +30,49 @@ Try Visual Python if you would like to: <br>
3030

3131
Visual Python is an extension to Jupyter Lab, so you must have Jupyter Lab installed already.<br>
3232
- Python version 3.x
33-
- Jupyter lab environment(<= 3.6.3)
33+
- Jupyter lab environment
3434

3535
###2. How to Install
3636

3737
**1) Install package from PyPI**
3838
```
3939
pip install jupyterlab-visualpython
4040
```
41+
- If you are using**Jupyter Lab version <= 3.x.x**, please install`jupyterlab-visualpython==2.5.0`
42+
```
43+
pip install jupyterlab-visualpython==2.5.0
44+
```
4145
4246
**2) Activate Visual Python on Jupyter Lab**
4347
44-
Click orange square button on the right side oftheJupyter Lab.
48+
Click orange square button on the right side of Jupyter Lab.
4549
46-
##Getting Started with Jupyter Notebook
50+
## Getting Started with Jupyter Notebook(>= 7.x)
4751
4852
### 1. Requirements
4953
50-
Visual Python is an extension to Jupyter Notebook, so you must have Jupyter Notebook installed already.<br>
54+
Visual Python is an extension to Jupyter Notebook, so you must have Jupyter Notebook installed already. You need latest version of Jupyter Notebook over version 7.x.x.<br>
5155
- Python version 3.x
52-
- Jupyter notebook environment
56+
- Jupyter notebook environment >= 7.x
57+
58+
### 2. How to Install
59+
60+
**1) Install package from PyPI**
61+
```
62+
pip install jupyterlab-visualpython
63+
```
64+
65+
**2) Activate Visual Python on Jupyter Notebook**
66+
67+
Click orange square button on the toolbar of Jupyter Notebook.
68+
69+
## Getting Started with Jupyter Notebook(<=6.x.x)
70+
71+
### 1. Requirements
72+
73+
Visual Python is an extension to Jupyter Notebook, so you must have Jupyter Notebook installed already. You need old version of Jupyter Notebook under version 6.x.x.<br>
74+
- Python version 3.x
75+
- Jupyter notebook environment <=6.x
5376
5477
### 2. How to Install
5578
@@ -65,7 +88,7 @@ visualpy install
6588
6689
**3) Activate Visual Python on Jupyter Notebook**
6790
68-
Click orange square button on theright sideoftheJupyter Notebook menu bar.
91+
Click orange square button on thetoolbarof Jupyter Notebook.
6992
7093
### 3. Package Control Info
7194
* Usage: visualpy **[option]** <br>
@@ -108,8 +131,8 @@ It simplifies the process of configuring an independent Python environment, inst
108131
- Minimum 10GB of disk space
109132
110133
### 3. How to Install
111-
1) DownloadtheVisual Python Desktop installer.
112-
-[Link to Visual Python Desktop installer page](https://visualpython.ai/visualpython-desktop)
134+
1) Download Visual Python Desktop installer from homepage.
135+
- [Link to Visual Python Desktop installer page](https://visualpython.ai/visualpython-desktop)
113136
114137
2) Run the installer and follow the provided instructions for the installation process.
115138
@@ -122,6 +145,18 @@ All skills from programmers, non-programmers, designers are welcomed.
122145
* Programming Guide: [Developer Documentation](https://bird-energy-733.notion.site/visualpython-docs-85c0274ff7564747bb8e8d77909fc8b7)
123146
* GUI Design Guide: [Visual Python GUI Kit 1.0](https://www.figma.com/community/file/976035035360380841)
124147
148+
### Maintainers & Contributors
149+
[<a href="https://github.com/visualpython" title="Visual Python official"><img src="https://github.com/visualpython.png" width="50px;"/></a>](https://github.com/visualpython)
150+
[<a href="https://github.com/leeraejung" title="Raejung Lee"><img src="https://github.com/leeraejung.png" width="50px;"/></a>](https://github.com/leeraejung)
151+
[<a href="https://github.com/minjk-bl" title="Minju Kim"><img src="https://github.com/minjk-bl.png" width="50px;"/></a>](https://github.com/minjk-bl)
152+
[<a href="https://github.com/llbtl" title="Hyewon Kang"><img src="https://github.com/llbtl.png" width="50px;"/></a>](https://github.com/llbtl)
153+
[<a href="https://github.com/blacklogicdev" title="Black Logic Dev"><img src="https://github.com/blacklogicdev.png" width="50px;"/></a>](https://github.com/blacklogicdev)
154+
[<a href="https://github.com/Minku-Koo" title="Minku Koo"><img src="https://github.com/Minku-Koo.png" width="50px;"/></a>](https://github.com/Minku-Koo)
155+
156+
Whoever wants to contribute or join our community, <br/>
157+
You can contact us by creating issues on [Issue page](https://github.com/visualpython/visualpython/issues) or using [Discord server](https://discord.gg/PypQrBZWZv).
158+
159+
125160
## License
126161
GNU GPLv3 with Visual Python special exception (See LICENSE file).
127162

‎build.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Set version and replace it
1313
#=============================================================================
14-
VP_ORG_VER=2.4.9
15-
VP_NEW_VER=2.5.0
14+
VP_ORG_VER=2.5.0
15+
VP_NEW_VER=3.0.0
1616

1717
# update version info
1818
grep -REil"VP_ORG_VER=.+$" colab/build.colab.sh jupyterlab/build.jupyterlab.sh jupyternotebook/build.jupyternotebook.sh| xargs sed -i"s/VP_ORG_VER=.\+$/VP_ORG_VER=${VP_ORG_VER}/g"

‎colab/build.colab.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version
1313
#=============================================================================
14-
VP_ORG_VER=2.4.9
15-
VP_NEW_VER=2.5.0
14+
VP_ORG_VER=2.5.0
15+
VP_NEW_VER=3.0.0
1616

1717
# update version info
1818
# update manifest version with new numbering for new version

‎colab/manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name":"Visual Python for Colab",
33
"description":"GUI-based Python code generator for Google Colab as an extension",
4-
"version":"2.5.0",
4+
"version":"3.0.0",
55
"manifest_version":3,
66
"icons": {
77
"48":"icon.png",

‎jupyterlab/.gitignore‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
*.bundle.*
22
node_modules/
3+
*.log
4+
.eslintcache
5+
.stylelintcache
36
*.egg-info/
47
.ipynb_checkpoints
58
*.tsbuildinfo
69
visualpython/labextension
10+
jupyterlab-visualpython/labextension
11+
# Version file is handled by hatchling
12+
jupyterlab-visualpython/_version.py
713

814
# Created by https://www.gitignore.io/api/python
915
# Edit at https://www.gitignore.io/?templates=python
@@ -54,6 +60,7 @@ htmlcov/
5460
.coverage.*
5561
.cache
5662
nosetests.xml
63+
coverage/
5764
coverage.xml
5865
*.cover
5966
.hypothesis/
@@ -108,3 +115,6 @@ dmypy.json
108115

109116
# OSX files
110117
.DS_Store
118+
119+
# Yarn cache
120+
.yarn/

‎jupyterlab/.yarnrc.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker:node-modules

‎jupyterlab/README.md‎

Lines changed: 44 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
[lite]:https://visualpython.github.io/visualpython-lite/lab/index.html
1212

1313
##Introduction
14-
Visual Python is a GUI-based Python code generator, developed on the**Jupyter Lab**,**Jupyter Notebook** and**Google Colab** as an extension. <br>
14+
Visual Python is a GUI-based Python code generator, developed on the**[Jupyter Lab](#getting-started-with-jupyter-lab)**,**[Jupyter Notebook](#getting-started-with-jupyter-notebook-7x)** and**[Google Colab](#getting-started-with-google-colab)** as an extension.You can also simply use Visual Python using**[Visual Python Desktop](#getting-started-with-visual-python-desktop)**.<br>
1515
Visual Python is an open source project started for students who struggle with coding during Python classes for data science.
1616

1717
<br>
@@ -30,26 +30,49 @@ Try Visual Python if you would like to: <br>
3030

3131
Visual Python is an extension to Jupyter Lab, so you must have Jupyter Lab installed already.<br>
3232
- Python version 3.x
33-
- Jupyter lab environment(<= 3.6.3)
33+
- Jupyter lab environment
3434

3535
###2. How to Install
3636

3737
**1) Install package from PyPI**
3838
```
3939
pip install jupyterlab-visualpython
4040
```
41+
- If you are using**Jupyter Lab version <= 3.x.x**, please install`jupyterlab-visualpython==2.5.0`
42+
```
43+
pip install jupyterlab-visualpython==2.5.0
44+
```
4145
4246
**2) Activate Visual Python on Jupyter Lab**
4347
44-
Click orange square button on the right side oftheJupyter Lab.
48+
Click orange square button on the right side of Jupyter Lab.
4549
46-
##Getting Started with Jupyter Notebook
50+
## Getting Started with Jupyter Notebook(>= 7.x)
4751
4852
### 1. Requirements
4953
50-
Visual Python is an extension to Jupyter Notebook, so you must have Jupyter Notebook installed already.<br>
54+
Visual Python is an extension to Jupyter Notebook, so you must have Jupyter Notebook installed already. You need latest version of Jupyter Notebook over version 7.x.x.<br>
5155
- Python version 3.x
52-
- Jupyter notebook environment
56+
- Jupyter notebook environment >= 7.x
57+
58+
### 2. How to Install
59+
60+
**1) Install package from PyPI**
61+
```
62+
pip install jupyterlab-visualpython
63+
```
64+
65+
**2) Activate Visual Python on Jupyter Notebook**
66+
67+
Click orange square button on the toolbar of Jupyter Notebook.
68+
69+
## Getting Started with Jupyter Notebook(<=6.x.x)
70+
71+
### 1. Requirements
72+
73+
Visual Python is an extension to Jupyter Notebook, so you must have Jupyter Notebook installed already. You need old version of Jupyter Notebook under version 6.x.x.<br>
74+
- Python version 3.x
75+
- Jupyter notebook environment <=6.x
5376
5477
### 2. How to Install
5578
@@ -65,7 +88,7 @@ visualpy install
6588
6689
**3) Activate Visual Python on Jupyter Notebook**
6790
68-
Click orange square button on theright sideoftheJupyter Notebook menu bar.
91+
Click orange square button on thetoolbarof Jupyter Notebook.
6992
7093
### 3. Package Control Info
7194
* Usage: visualpy **[option]** <br>
@@ -108,8 +131,8 @@ It simplifies the process of configuring an independent Python environment, inst
108131
- Minimum 10GB of disk space
109132
110133
### 3. How to Install
111-
1) DownloadtheVisual Python Desktop installer.
112-
-[Link to Visual Python Desktop installer page](https://visualpython.ai/visualpython-desktop)
134+
1) Download Visual Python Desktop installer from homepage.
135+
- [Link to Visual Python Desktop installer page](https://visualpython.ai/visualpython-desktop)
113136
114137
2) Run the installer and follow the provided instructions for the installation process.
115138
@@ -122,6 +145,18 @@ All skills from programmers, non-programmers, designers are welcomed.
122145
* Programming Guide: [Developer Documentation](https://bird-energy-733.notion.site/visualpython-docs-85c0274ff7564747bb8e8d77909fc8b7)
123146
* GUI Design Guide: [Visual Python GUI Kit 1.0](https://www.figma.com/community/file/976035035360380841)
124147
148+
### Maintainers & Contributors
149+
[<a href="https://github.com/visualpython" title="Visual Python official"><img src="https://github.com/visualpython.png" width="50px;"/></a>](https://github.com/visualpython)
150+
[<a href="https://github.com/leeraejung" title="Raejung Lee"><img src="https://github.com/leeraejung.png" width="50px;"/></a>](https://github.com/leeraejung)
151+
[<a href="https://github.com/minjk-bl" title="Minju Kim"><img src="https://github.com/minjk-bl.png" width="50px;"/></a>](https://github.com/minjk-bl)
152+
[<a href="https://github.com/llbtl" title="Hyewon Kang"><img src="https://github.com/llbtl.png" width="50px;"/></a>](https://github.com/llbtl)
153+
[<a href="https://github.com/blacklogicdev" title="Black Logic Dev"><img src="https://github.com/blacklogicdev.png" width="50px;"/></a>](https://github.com/blacklogicdev)
154+
[<a href="https://github.com/Minku-Koo" title="Minku Koo"><img src="https://github.com/Minku-Koo.png" width="50px;"/></a>](https://github.com/Minku-Koo)
155+
156+
Whoever wants to contribute or join our community, <br/>
157+
You can contact us by creating issues on [Issue page](https://github.com/visualpython/visualpython/issues) or using [Discord server](https://discord.gg/PypQrBZWZv).
158+
159+
125160
## License
126161
GNU GPLv3 with Visual Python special exception (See LICENSE file).
127162

‎jupyterlab/binder/postBuild‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
""" perform a development install of visualpython
2+
""" perform a development install ofjupyterlab-visualpython
33
44
On Binder, this will run _after_ the environment has been fully created from
55
the environment.yml in this directory.
@@ -31,6 +31,7 @@ _(sys.executable, "-m", "pip", "check")
3131

3232
# install the labextension
3333
_(sys.executable,"-m","pip","install","-e",".")
34+
_(sys.executable,"-m","jupyter","labextension","develop","--overwrite",".")
3435

3536
# verify the environment the extension didn't break anything
3637
_(sys.executable,"-m","pip","check")
@@ -42,5 +43,5 @@ _("jupyter", "server", "extension", "list")
4243
_("jupyter","labextension","list")
4344

4445

45-
print("JupyterLab with visualpython is ready to run with:\n")
46+
print("JupyterLab withjupyterlab-visualpython is ready to run with:\n")
4647
print("\tjupyter lab\n")

‎jupyterlab/build.jupyterlab.sh‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#=============================================================================
1212
# Replace Version and Basic Files
1313
#=============================================================================
14-
VP_ORG_VER=2.4.9
15-
VP_NEW_VER=2.5.0
14+
VP_ORG_VER=2.5.0
15+
VP_NEW_VER=3.0.0
1616

1717
# update version info
1818
grep -REil"\"version\":\"${VP_ORG_VER}\"" package.json| xargs sed -i"s/\"version\":\"${VP_ORG_VER//\./\\.}\"/\"version\":\"${VP_NEW_VER}\"/g"

‎jupyterlab/lib/VpPanel.js‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ define([
88
'jquery-ui',
99
'jquery-ui-css',
1010
'codemirror/lib/codemirror',
11-
// __VP_CSS_LOADER__('codemirror/lib/codemirror'), // INTEGRATION: unified version of css loader
11+
'vp_base/lib/codemirror/lib/codemirror.css',// INTEGRATION: unified version of css loader
1212
'vp_base/js/loadVisualpython',
1313
'vp_base/js/com/com_Config'
1414
],function(
@@ -17,7 +17,7 @@ define([
1717
text,css,$,
1818
ui,uiCss,
1919
codemirror,
20-
//cmCss,
20+
cmCss,
2121
loadVisualpython,com_Config){
2222

2323
const{
@@ -41,9 +41,9 @@ define([
4141
this.app=app;
4242
this.vpFrame=loadVisualpython.initVisualpython();
4343

44-
this.id='visualpython_vpPanel';
44+
this.id='jupyterlab-visualpython:panel';
4545
// LabIcon with svg :@jupyterlab/ui-components/lib/icon/labicon.js
46-
this.title.icon=newLabIcon({name:'visualpython:toggle',svgstr:vpIcon.default});
46+
this.title.icon=newLabIcon({name:'jupyterlab-visualpython:toggle-icon',svgstr:vpIcon});
4747
this.title.caption='Visual Python';
4848

4949
// register node using jquery to element

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp