Skip to content

Commit 0ee362d

Browse files
authored
Merge pull request #235 from visualpython/release
Release v2.4.6
2 parents 6e4c4dd + 35c7b81 commit 0ee362d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+2161
-238
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,4 +136,4 @@ To create an environment where everyone can learn and use big data analytical sk
136136
Love Visual Python? <br>
137137
Your support will help us continue to actively develop and improve Visual Python.☕
138138

139-
[![donate_banner](https://user-images.githubusercontent.com/83636412/229679467-4fee93a2-d6d2-4229-a53c-80a5eb2b9240.png)](https://github.com/sponsors/visualpython?frequency=recurring)
139+
[![donate_banner](https://user-images.githubusercontent.com/83636412/229679467-4fee93a2-d6d2-4229-a53c-80a5eb2b9240.png)](https://github.com/sponsors/visualpython?frequency=recurring)

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.4
15-
VP_NEW_VER=2.4.5
14+
VP_ORG_VER=2.4.5
15+
VP_NEW_VER=2.4.6
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.4
15-
VP_NEW_VER=2.4.5
14+
VP_ORG_VER=2.4.5
15+
VP_NEW_VER=2.4.6
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.4.5",
4+
"version": "2.4.6",
55
"manifest_version": 3,
66
"icons": {
77
"48": "icon.png",

jupyterlab/README.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
[![License: GPLv3](https://img.shields.io/badge/License-GPLv3-brightgreen)](https://github.com/visualpython/visualpython/blob/main/LICENSE)
66
[![Downloads](https://static.pepy.tech/personalized-badge/visualpython?period=total&units=international_system&left_color=grey&right_color=orange&left_text=Downloads)](https://pepy.tech/project/visualpython)
77
[![Issues: ](https://img.shields.io/github/issues/visualpython/visualpython?color=%23FF6347)](https://github.com/visualpython/visualpython/issues)
8-
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/visualpython/visualpython-binder/HEAD?labpath=index.ipynb)
8+
[![lite-badge]][lite]
9+
10+
[lite-badge]: https://jupyterlite.rtfd.io/en/latest/_static/badge.svg
11+
[lite]: https://visualpython.github.io/visualpython-lite/lab/index.html
912

1013
## Introduction
1114
Visual Python is a GUI-based Python code generator, developed on the **Jupyter Lab**, **Jupyter Notebook** and **Google Colab** as an extension. <br>
@@ -27,7 +30,7 @@ Try Visual Python if you would like to: <br>
2730

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

3235
### 2. How to Install
3336

@@ -92,6 +95,26 @@ Visual Python is an extension to Google Colab, so you must have Google Colab ope
9295

9396
**3) Activate Visual Python on Google Colab**
9497

98+
99+
## Getting Started with Visual Python Desktop
100+
### 1. Introduction
101+
Visual Python Desktop is an installer to create an isolated jupyter environment and enable to use Visual Python easily.
102+
103+
It simplifies the process of configuring an independent Python environment, installing essential packages, and setting up a Jupyter environment, allowing users to focus on data analysis using python.
104+
105+
### 2. Requirements
106+
- Operating System: Windows 10 or later (macOS and Linux support coming soon)
107+
- Minimum 4GB RAM, recommended 8GB RAM or higher
108+
- Minimum 10GB of disk space
109+
110+
### 3. How to Install
111+
1) Download the Visual Python Desktop installer.
112+
- [Link to Visual Python Desktop installer page](https://visualpython.ai/visualpython-desktop)
113+
114+
2) Run the installer and follow the provided instructions for the installation process.
115+
116+
3) Use the shortcut created in Start menu or on Desktop to execute Jupyter Notebook (Visual Python), Jupyter Lab (Visual Python), and Visual Python Prompt according to your needs.
117+
95118
## Contributing
96119
If you are interested in contributing to the Visual Python, please see [`CONTRIBUTING.md`](CONTRIBUTING.md). <br>
97120
All skills from programmers, non-programmers, designers are welcomed.
@@ -113,4 +136,4 @@ To create an environment where everyone can learn and use big data analytical sk
113136
Love Visual Python? <br>
114137
Your support will help us continue to actively develop and improve Visual Python.☕
115138

116-
[![donate_banner](https://user-images.githubusercontent.com/83636412/229679467-4fee93a2-d6d2-4229-a53c-80a5eb2b9240.png)](https://github.com/sponsors/visualpython?frequency=recurring)
139+
[![donate_banner](https://user-images.githubusercontent.com/83636412/229679467-4fee93a2-d6d2-4229-a53c-80a5eb2b9240.png)](https://github.com/sponsors/visualpython?frequency=recurring)

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.4
15-
VP_NEW_VER=2.4.5
14+
VP_ORG_VER=2.4.5
15+
VP_NEW_VER=2.4.6
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/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jupyterlab/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-visualpython",
3-
"version": "2.4.5",
3+
"version": "2.4.6",
44
"description": "GUI-based Python code generator for Jupyter Lab as an extension",
55
"keywords": [
66
"jupyter",

jupyterlab/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ classifiers = [
3232
"Programming Language :: Python :: 3.9",
3333
"Programming Language :: Python :: 3.10",
3434
]
35-
version = "2.4.5"
35+
version = "2.4.6"
3636

3737
[project.license]
3838
file = "LICENSE"
@@ -92,7 +92,7 @@ file = [
9292
]
9393

9494
[tool.tbump.version]
95-
current = "2.4.5"
95+
current = "2.4.6"
9696
regex = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)((?P<channel>a|b|rc|.dev)(?P<release>\\d+))?"
9797

9898
[tool.tbump.git]

jupyternotebook/README.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@
55
[![License: GPLv3](https://img.shields.io/badge/License-GPLv3-brightgreen)](https://github.com/visualpython/visualpython/blob/main/LICENSE)
66
[![Downloads](https://static.pepy.tech/personalized-badge/visualpython?period=total&units=international_system&left_color=grey&right_color=orange&left_text=Downloads)](https://pepy.tech/project/visualpython)
77
[![Issues: ](https://img.shields.io/github/issues/visualpython/visualpython?color=%23FF6347)](https://github.com/visualpython/visualpython/issues)
8-
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/visualpython/visualpython-binder/HEAD?labpath=index.ipynb)
8+
[![lite-badge]][lite]
9+
10+
[lite-badge]: https://jupyterlite.rtfd.io/en/latest/_static/badge.svg
11+
[lite]: https://visualpython.github.io/visualpython-lite/lab/index.html
912

1013
## Introduction
1114
Visual Python is a GUI-based Python code generator, developed on the **Jupyter Lab**, **Jupyter Notebook** and **Google Colab** as an extension. <br>
@@ -27,7 +30,7 @@ Try Visual Python if you would like to: <br>
2730

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

3235
### 2. How to Install
3336

@@ -92,6 +95,26 @@ Visual Python is an extension to Google Colab, so you must have Google Colab ope
9295

9396
**3) Activate Visual Python on Google Colab**
9497

98+
99+
## Getting Started with Visual Python Desktop
100+
### 1. Introduction
101+
Visual Python Desktop is an installer to create an isolated jupyter environment and enable to use Visual Python easily.
102+
103+
It simplifies the process of configuring an independent Python environment, installing essential packages, and setting up a Jupyter environment, allowing users to focus on data analysis using python.
104+
105+
### 2. Requirements
106+
- Operating System: Windows 10 or later (macOS and Linux support coming soon)
107+
- Minimum 4GB RAM, recommended 8GB RAM or higher
108+
- Minimum 10GB of disk space
109+
110+
### 3. How to Install
111+
1) Download the Visual Python Desktop installer.
112+
- [Link to Visual Python Desktop installer page](https://visualpython.ai/visualpython-desktop)
113+
114+
2) Run the installer and follow the provided instructions for the installation process.
115+
116+
3) Use the shortcut created in Start menu or on Desktop to execute Jupyter Notebook (Visual Python), Jupyter Lab (Visual Python), and Visual Python Prompt according to your needs.
117+
95118
## Contributing
96119
If you are interested in contributing to the Visual Python, please see [`CONTRIBUTING.md`](CONTRIBUTING.md). <br>
97120
All skills from programmers, non-programmers, designers are welcomed.
@@ -113,4 +136,4 @@ To create an environment where everyone can learn and use big data analytical sk
113136
Love Visual Python? <br>
114137
Your support will help us continue to actively develop and improve Visual Python.☕
115138

116-
[![donate_banner](https://user-images.githubusercontent.com/83636412/229679467-4fee93a2-d6d2-4229-a53c-80a5eb2b9240.png)](https://github.com/sponsors/visualpython?frequency=recurring)
139+
[![donate_banner](https://user-images.githubusercontent.com/83636412/229679467-4fee93a2-d6d2-4229-a53c-80a5eb2b9240.png)](https://github.com/sponsors/visualpython?frequency=recurring)

jupyternotebook/build.jupyternotebook.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.4
15-
VP_NEW_VER=2.4.5
14+
VP_ORG_VER=2.4.5
15+
VP_NEW_VER=2.4.6
1616

1717
# update version info
1818
grep -REil ${VP_ORG_VER//\./\\.} setup.py visualpython/js/com/com_Config.js visualpython/js/com/com_Const.js | xargs sed -i --follow-symlinks "s/${VP_ORG_VER//\./\\.}/${VP_NEW_VER}/g"

jupyternotebook/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
setup(
1212
name = name,
13-
version = '2.4.5',
13+
version = '2.4.6',
1414
packages = find_packages(),
1515
package_data = {"": ["*"], 'visualpython' : ['visualpython.yaml', 'README.md']},
1616
scripts = ['visualpython/bin/visualpy', 'visualpython/bin/visualpy.bat'],

visualpython/css/component/packageManager.css

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
}
7575
.vp-pm-func-right {
7676
float: right;
77+
display: flex;
7778
}
7879
.vp-pm-sort {
7980
cursor: pointer;
@@ -100,6 +101,14 @@
100101
.vp-pm-sort-menu-item:hover {
101102
color: var(--vp-font-highlight);
102103
}
104+
.vp-pm-func-reload {
105+
width: 22px;
106+
height: 22px;
107+
display: inline-block;
108+
margin-top: 4px;
109+
margin-right: 10px;
110+
cursor: pointer;
111+
}
103112
/* Empty List */
104113
.vp-pm-table {
105114
margin-top: 10px;

visualpython/css/component/popupComponent.css

Lines changed: 62 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160
width: 100%;
161161
height: calc(100% - 80px);
162162
padding: 15px;
163-
overflow: auto;
163+
/* overflow: auto; */
164164
}
165165
.vp-popup-content {
166166
min-height: calc(100% - 30px);
@@ -284,7 +284,7 @@
284284
padding: 1px 8px 0 5px;
285285
}
286286
/* checkbox */
287-
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox),
287+
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox):not(.vp-toggle),
288288
.vp-popup-frame input[type=radio]:not(.vp-radio) {
289289
position: absolute;
290290
width: 1px;
@@ -295,9 +295,9 @@
295295
clip: rect(0, 0, 0, 0);
296296
border: 0;
297297
}
298-
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox) + label,
298+
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox):not(.vp-toggle) + label,
299299
.vp-popup-frame input[type=radio]:not(.vp-radio) + label,
300-
.vp-popup-frame label input[type=checkbox]:not(.vp-checkbox) + span,
300+
.vp-popup-frame label input[type=checkbox]:not(.vp-checkbox):not(.vp-toggle) + span,
301301
.vp-popup-frame label input[type=radio]:not(.vp-radio) + span {
302302
display: inline-block;
303303
position: relative;
@@ -307,14 +307,14 @@
307307
line-height: 15px;
308308
vertical-align: middle;
309309
}
310-
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox):disabled + label,
310+
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox):not(.vp-toggle):disabled + label,
311311
.vp-popup-frame input[type=radio]:not(.vp-radio):disabled + label,
312-
.vp-popup-frame label input[type=checkbox]:not(.vp-checkbox):disabled + span,
312+
.vp-popup-frame label input[type=checkbox]:not(.vp-checkbox):not(.vp-toggle):disabled + span,
313313
.vp-popup-frame label input[type=radio]:not(.vp-radio):disabled + span {
314314
color: var(--vp-gray-color);
315315
}
316-
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox) + label::before,
317-
.vp-popup-frame label input[type=checkbox]:not(.vp-checkbox) + span::before {
316+
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox):not(.vp-toggle) + label::before,
317+
.vp-popup-frame label input[type=checkbox]:not(.vp-checkbox):not(.vp-toggle) + span::before {
318318
content: '';
319319
position: absolute;
320320
left: 0;
@@ -328,8 +328,8 @@
328328
border: none;
329329
box-sizing: border-box;
330330
}
331-
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox):checked + label::before,
332-
.vp-popup-frame label input[type=checkbox]:not(.vp-checkbox):checked + span::before {
331+
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox):not(.vp-toggle):checked + label::before,
332+
.vp-popup-frame label input[type=checkbox]:not(.vp-checkbox):not(.vp-toggle):checked + span::before {
333333
content: '';
334334
position: absolute;
335335
left: 0;
@@ -342,8 +342,8 @@
342342
border: none;
343343
box-sizing: border-box;
344344
}
345-
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox):disabled + label::before,
346-
.vp-popup-frame label input[type=checkbox]:not(.vp-checkbox):disabled + span::before {
345+
.vp-popup-frame input[type=checkbox]:not(.vp-checkbox):not(.vp-toggle):disabled + label::before,
346+
.vp-popup-frame label input[type=checkbox]:not(.vp-checkbox):not(.vp-toggle):disabled + span::before {
347347
content: '';
348348
position: absolute;
349349
left: 0;
@@ -449,6 +449,56 @@
449449
.vp-popup-frame select::-ms-expand {
450450
display: none;
451451
}
452+
/* toggle slider: <label><input class="vp-toggle" type="checkbox"/><span></span></label> */
453+
.vp-popup-frame input.vp-toggle {
454+
opacity: 0;
455+
width: 0;
456+
height: 0;
457+
}
458+
459+
.vp-popup-frame input.vp-toggle + span {
460+
position: relative;
461+
cursor: pointer;
462+
display: inline-block;
463+
width: 27px;
464+
height: 15px;
465+
top: 0;
466+
left: 0;
467+
right: 0;
468+
bottom: 0;
469+
border-radius: 34px;
470+
background-color: #ccc;
471+
-webkit-transition: .4s;
472+
transition: .4s;
473+
}
474+
475+
.vp-popup-frame input[type=checkbox].vp-toggle + span:before {
476+
position: absolute;
477+
content: "";
478+
height: 12px;
479+
width: 12px;
480+
left: 2px;
481+
bottom: 1.1px;
482+
border-radius: 50%;
483+
background: none;
484+
background-color: white;
485+
-webkit-transition: .4s;
486+
transition: .4s;
487+
}
488+
489+
.vp-popup-frame input.vp-toggle:checked + span {
490+
background-color: #2196F3;
491+
}
492+
493+
.vp-popup-frame input.vp-toggle:focus + span {
494+
box-shadow: 0 0 1px #2196F3;
495+
}
496+
497+
.vp-popup-frame input.vp-toggle:checked + span:before {
498+
-webkit-transform: translateX(12px);
499+
-ms-transform: translateX(12px);
500+
transform: translateX(12px);
501+
}
452502
/* Big Selector */
453503
.vp-popup-frame .vp-big-select {
454504
border: 2px solid #FFCF73;

0 commit comments

Comments
 (0)