Skip to content

Commit 0f232d3

Browse files
authored
Merge pull request #234 from minjk-bl/devops
Devops for v2.4.6
2 parents 7cdcffe + 85cb9ea commit 0f232d3

Some content is hidden

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

43 files changed

+2087
-216
lines changed

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)

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;

visualpython/css/m_ml/gridSearch.css

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
.vp-inner-param-list-box {
2+
width: 245px;
3+
height: 140px;
4+
border: 0.25px solid var(--vp-border-gray-color);
5+
overflow-y: auto;
6+
overflow-x: hidden;
7+
margin: 5px 0;
8+
}
9+
.vp-inner-param-list-item {
10+
width: 100%;
11+
height: 30px;
12+
line-height: 30px;
13+
padding: 0px 10px;
14+
border-bottom: 0.25px solid var(--vp-border-gray-color);
15+
background-color: var(--vp-background-color);
16+
text-overflow: ellipsis;
17+
overflow: hidden;
18+
white-space: nowrap;
19+
}
20+
.vp-inner-param-list-item:hover {
21+
cursor: pointer;
22+
background-color: var(--vp-background-hover-color);
23+
}
24+
.vp-inner-param-list-item.selected {
25+
color: var(--vp-font-highlight);
26+
background-color: var(--vp-light-gray-color);
27+
}
28+
.vp-param-grid-title {
29+
line-height: 30px;
30+
}
31+
.vp-param-grid-box {
32+
margin-bottom: 10px;
33+
}
34+
.vp-param-set {
35+
36+
}
37+
.vp-param-set-del {
38+
cursor: pointer;
39+
float: right;
40+
}
41+
.vp-param-set-add {
42+
cursor: pointer;
43+
}
44+
.vp-param-item > label {
45+
align-self: center;
46+
}
47+
.vp-param-item-del {
48+
cursor: pointer;
49+
height: 42px;
50+
}
51+
.vp-param-result-input-box {
52+
width: 100%;
53+
border: 0.25px solid var(--vp-border-gray-color);
54+
padding: 5px;
55+
display: flex;
56+
gap: 5px;
57+
}
58+
.vp-param-result-box {
59+
display: inline-flex;
60+
gap: 5px;
61+
}
62+
.vp-param-result-item {
63+
border: 0.25px solid var(--vp-light-gray-color);
64+
background: var(--vp-light-gray-color);
65+
border-radius: 10px;
66+
padding: 5px 7px;
67+
display: flex;
68+
gap: 5px;
69+
align-items: center;
70+
}
71+
.vp-param-result-item:hover {
72+
border: 0.25px solid var(--vp-font-highlight);
73+
color: var(--vp-font-highlight);
74+
}
75+
.vp-param-result-item-del {
76+
width: 15px;
77+
display: inline-block;
78+
}
79+
input.vp-param-val {
80+
border: 0px !important;
81+
width: 100% !important;
82+
}

0 commit comments

Comments
 (0)