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

Commit72eb867

Browse files
committed
Edit __VP_*_LOADER function naming
1 parentef0a6f6 commit72eb867

File tree

57 files changed

+143
-108
lines changed

Some content is hidden

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

57 files changed

+143
-108
lines changed

‎colab/inject.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ function vp_inject(path) {
2121
s.remove();
2222
}
2323

24-
functionvp_css_loader(path){
24+
function__VP_CSS_LOADER__(path){
2525
return'css!'+path;
2626
}
2727

28-
functionvp_text_loader(path){
28+
function__VP_TEXT_LOADER__(path){
2929
return'text!'+path+'!strip';
3030
}
3131

32-
functionvp_raw_loader(path){
32+
function__VP_RAW_LOADER__(path){
3333
return'text!'+path;
3434
}
3535

@@ -102,9 +102,9 @@ function vp_config_require() {
102102
'jquery',
103103
'jquery-ui',
104104
// 'css!vp_base/lib/jquery/jquery-ui.min',
105-
vp_css_loader('vp_base/lib/jquery/jquery-ui.min'),
105+
__VP_CSS_LOADER__('vp_base/lib/jquery/jquery-ui.min'),
106106
'codemirror/lib/codemirror',
107-
vp_css_loader('codemirror/lib/codemirror'),
107+
__VP_CSS_LOADER__('codemirror/lib/codemirror'),
108108
'vp_base/js/loadVisualpython'
109109
],function(text,css,$,ui,uiCss,codemirror,cmCss,loadVisualpython){
110110
// codemirror

‎jupyterlab/lib/VpPanel.js‎

Lines changed: 1 addition & 1 deletion
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_CSS_LOADER__('codemirror/lib/codemirror'), // INTEGRATION: unified version of css loader
1212
'vp_base/js/loadVisualpython',
1313
'vp_base/js/com/com_Config'
1414
],function(

‎jupyterlab/lib/index.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ const path = require('path');
22
const$=require('jquery');
33
require("jquery-ui");
44

5-
global.vp_css_loader=function(path){
5+
global.__VP_CSS_LOADER__=function(path){
66
returnpath+'.css';
77
}
88

9-
global.vp_text_loader=function(path){
9+
global.__VP_TEXT_LOADER__=function(path){
1010
return'!!text-loader!'+path;
1111
}
1212

13-
global.vp_raw_loader=function(path){
13+
global.__VP_RAW_LOADER__=function(path){
1414
returnpath;
1515
}
1616

‎jupyternotebook/README.md‎

Lines changed: 41 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<imgsrc="https://i.esdrop.com/d/7o0dj05m8rnz/JNGCMedl18.png"width="45%">
22

3-
[![PyPI version shields.io](https://img.shields.io/pypi/v/visualpython)](https://pypi.python.org/pypi/visualpython/)
3+
[![PyPI version shields.io](https://img.shields.io/pypi/v/jupyterlab-visualpython)](https://pypi.python.org/pypi/jupyterlab-visualpython/)
44
![Python: 3.x](https://img.shields.io/badge/Python-3.x-yellowgreen)
55
[![License: GPLv3](https://img.shields.io/badge/License-GPLv3-brightgreen)](https://github.com/visualpython/visualpython/blob/main/LICENSE)
6-
[![Code of Conduct: Contributor Covenant](https://img.shields.io/badge/Code%20of%20Conduct-Contributor%20Covenant-pink)](https://github.com/visualpython/visualpython/blob/main/CODE_OF_CONDUCT.md)
76
[![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)
87
[![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)
99

1010
##Introduction
11-
Visual Python is a GUI-based Python code generator, developed on the Jupyter Notebook as an extension. <br>
11+
Visual Python is a GUI-based Python code generator, developed on the**JupyterLab**,**JupyterNotebook** and**Google Colab** as an extension. <br>
1212
Visual Python is an open source project started for students who struggle with coding during Python classes for data science.
1313

1414
<br>
@@ -21,7 +21,26 @@ Try Visual Python if you would like to: <br>
2121
<br>
2222
<imgsrc="https://github.com/visualpython/visualpython/blob/main/img/Visual%20Python_2.2.8.gif?raw=true"width="95%">
2323

24-
##Getting Started
24+
##Getting Started with Jupyter Lab
25+
26+
###1. Requirements
27+
28+
Visual Python is an extension to Jupyter Lab, so you must have Jupyter Lab installed already.<br>
29+
- Python version 3.x
30+
- Jupyter lab environment
31+
32+
###2. How to Install
33+
34+
**1) Install package from PyPI**
35+
```
36+
pip install jupyterlab-visualpython
37+
```
38+
39+
**2) Activate Visual Python on Jupyter Lab**
40+
41+
Click orange square button on the right side of the Jupyter Lab.
42+
43+
##Getting Started with Jupyter Notebook
2544

2645
###1. Requirements
2746

@@ -31,7 +50,7 @@ Visual Python is an extension to Jupyter Notebook, so you must have Jupyter Note
3150

3251
###2. How to Install
3352

34-
**1) Install package from**
53+
**1) Install package from PyPI**
3554
```
3655
pip install visualpython
3756
```
@@ -57,6 +76,22 @@ upgrade - version upgrade
5776
version - version check
5877
```
5978

79+
##Getting Started with Google Colab
80+
###1. Requirements
81+
82+
Visual Python is an extension to Google Colab, so you must have Google Colab opened.<br>
83+
- Google Colab
84+
85+
###2. How to Install
86+
87+
**1) Install package using Chrome Web Store**
88+
-[Link to Visual Python for Colab](https://chrome.google.com/webstore/detail/visual-python-for-colab/ccmkpknjfagaldcgidgcipbpdipfopob)
89+
90+
**2) Open Google Colab**
91+
-[Link to Google Colab](https://colab.research.google.com/)
92+
93+
**3) Activate Visual Python on Google Colab**
94+
6095
##Contributing
6196
If you are interested in contributing to the Visual Python, please see[`CONTRIBUTING.md`](CONTRIBUTING.md). <br>
6297
All skills from programmers, non-programmers, designers are welcomed.
@@ -78,4 +113,4 @@ To create an environment where everyone can learn and use big data analytical sk
78113
Love Visual Python? <br>
79114
Your support will help us continue to actively develop and improve Visual Python.☕
80115

81-
<ahref="https://www.buymeacoffee.com/visualpython"target="_blank"><imgsrc="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=visualpython&button_colour=ffa238&font_colour=000000&font_family=Comic&outline_colour=000000&coffee_colour=FFDD00"></a>
116+
<ahref="https://www.buymeacoffee.com/visualpython"target="_blank"><imgsrc="https://img.buymeacoffee.com/button-api/?text=Buy me a coffee&emoji=&slug=visualpython&button_colour=ffa238&font_colour=000000&font_family=Comic&outline_colour=000000&coffee_colour=FFDD00"></a>

‎visualpython/js/MainFrame.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// Load main frame
1414
//============================================================================
1515
define([
16-
vp_text_loader('vp_base/html/mainFrame.html'),// INTEGRATION: unified version of text loader
17-
vp_css_loader('vp_base/css/mainFrame'),// INTEGRATION: unified version of css loader
16+
__VP_TEXT_LOADER__('vp_base/html/mainFrame.html'),// INTEGRATION: unified version of text loader
17+
__VP_CSS_LOADER__('vp_base/css/mainFrame'),// INTEGRATION: unified version of css loader
1818

1919
// load module
2020
'./com/com_Config',

‎visualpython/js/board/BoardFrame.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// [CLASS] BoardFrame
1414
//============================================================================
1515
define([
16-
vp_text_loader('../../html/boardFrame.html'),// INTEGRATION: unified version of text loader
17-
vp_css_loader('../../css/boardFrame'),// INTEGRATION: unified version of css loader
16+
__VP_TEXT_LOADER__('../../html/boardFrame.html'),// INTEGRATION: unified version of text loader
17+
__VP_CSS_LOADER__('../../css/boardFrame'),// INTEGRATION: unified version of css loader
1818
'../com/com_Config',
1919
'../com/com_Const',
2020
'../com/com_String',

‎visualpython/js/com/com_Config.js‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ define([
1515
'./com_Const',
1616
'./com_util',
1717
'./com_interface',
18-
vp_text_loader('vp_base/python/userCommand.py'),// INTEGRATION: unified version of text loader
19-
vp_text_loader('vp_base/python/printCommand.py'),// INTEGRATION: unified version of text loader
20-
vp_text_loader('vp_base/python/fileNaviCommand.py'),// INTEGRATION: unified version of text loader
21-
vp_text_loader('vp_base/python/pandasCommand.py'),// INTEGRATION: unified version of text loader
22-
vp_text_loader('vp_base/python/variableCommand.py'),// INTEGRATION: unified version of text loader
23-
vp_text_loader('vp_base/python/visualizationCommand.py')// INTEGRATION: unified version of text loader
18+
__VP_TEXT_LOADER__('vp_base/python/userCommand.py'),// INTEGRATION: unified version of text loader
19+
__VP_TEXT_LOADER__('vp_base/python/printCommand.py'),// INTEGRATION: unified version of text loader
20+
__VP_TEXT_LOADER__('vp_base/python/fileNaviCommand.py'),// INTEGRATION: unified version of text loader
21+
__VP_TEXT_LOADER__('vp_base/python/pandasCommand.py'),// INTEGRATION: unified version of text loader
22+
__VP_TEXT_LOADER__('vp_base/python/variableCommand.py'),// INTEGRATION: unified version of text loader
23+
__VP_TEXT_LOADER__('vp_base/python/visualizationCommand.py')// INTEGRATION: unified version of text loader
2424
],function(com_Const,com_util,com_interface,
2525
userCommandFile,printCommand,fileNaviCommand,pandasCommand,variableCommand,visualizationCommand){
2626
'use strict';
@@ -919,7 +919,7 @@ define([
919919
/**
920920
* Version
921921
*/
922-
Config.version="2.2.13";
922+
Config.version="2.3.1";
923923

924924
/**
925925
* Type of mode

‎visualpython/js/com/com_Const.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ define ([
1919
classConstants{}
2020

2121
Constants.TOOLBAR_BTN_INFO={
22-
HELP:"Visual Python 2.2.13"
22+
HELP:"Visual Python 2.3.1"
2323
,ICON:"vp-main-icon"
2424
,ID:"vpBtnToggle"
2525
,NAME:"toggle-vp"

‎visualpython/js/com/component/AlertModal.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// [CLASS] AlertModal
1414
//============================================================================
1515
define([
16-
vp_text_loader('vp_base/html/component/alertModal.html'),// INTEGRATION: unified version of text loader
17-
vp_css_loader('vp_base/css/component/alertModal'),// INTEGRATION: unified version of css loader
16+
__VP_TEXT_LOADER__('vp_base/html/component/alertModal.html'),// INTEGRATION: unified version of text loader
17+
__VP_CSS_LOADER__('vp_base/css/component/alertModal'),// INTEGRATION: unified version of css loader
1818
'vp_base/js/com/com_Const',
1919
'vp_base/js/com/component/Component'
2020
],function(msgHtml,msgCss,com_Const,Component){

‎visualpython/js/com/component/DataSelector.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
* Change Date :
1010
*/
1111
define([
12-
vp_text_loader('vp_base/html/component/dataSelector.html'),// INTEGRATION: unified version of text loader
13-
vp_css_loader('vp_base/css/component/dataSelector'),// INTEGRATION: unified version of css loader
12+
__VP_TEXT_LOADER__('vp_base/html/component/dataSelector.html'),// INTEGRATION: unified version of text loader
13+
__VP_CSS_LOADER__('vp_base/css/component/dataSelector'),// INTEGRATION: unified version of css loader
1414
'vp_base/js/com/com_Const',
1515
'vp_base/js/com/com_String',
1616
'vp_base/js/com/com_util',

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp