You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fixed typos in foundations/jupyter.md
* fixed typos in foundations/conda.md
* fixed typos in foundations/getting-started-jupyter.ipynb
* fixed spelling and grammar in foundations/jupyterlab.ipynb
* removed 'Jupyter Lab' text from binder-highlight.png
* fixed grammar in foundations/markdown.md
* added comma to getting-started-github.md
* fixed typos listed is excel sheet mentioned in issue 337
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* added replacement text from google doc
* Update foundations/github/github-issues.md
Co-authored-by: Ryan May <rmay31@gmail.com>
* Update foundations/conda.md
Co-authored-by: Ryan May <rmay31@gmail.com>
* Update foundations/github/github-repos.md
Co-authored-by: Ryan May <rmay31@gmail.com>
* deleted far_left_cell.png image as it is no longer used
---------
Co-authored-by: James Morley <jmorley@ucar.edu>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Julia Kent <46687291+jukent@users.noreply.github.com>
Co-authored-by: Ryan May <rmay31@gmail.com>
Copy file name to clipboardExpand all lines: foundations/conda.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,17 +25,17 @@ Here we will cover:
25
25
26
26
## What are Packages?
27
27
28
-
A Python package is a collection of modules, which in turn, are essentially Python scripts that contain published functionality. There are Python packages for data input, data analysis, data visualization, etc. Each package offers a unique toolset and may have its own unique syntax rules.
28
+
A Python package is a collection of modules, which, in turn, are essentially Python scripts that contain published functionality. There are Python packages for data input, data analysis, data visualization, etc. Each package offers a unique toolset and may have its own unique syntax rules.
29
29
30
30
Package management is useful because you may want to update a package for one of your projects, but keep it at the same version in other projects to ensure that they continue to run as expected.
31
31
32
32
## Installing Conda
33
33
34
-
We recommend you install Miniconda. You can do that by following the [instructions for you machine](https://docs.conda.io/en/latest/miniconda.html).
34
+
We recommend you install Miniconda. You can do that by following the [instructions for your machine](https://docs.conda.io/en/latest/miniconda.html).
35
35
36
36
Miniconda only comes with the `conda` package management system; it is a pared-down version of the full Anaconda Python distribution.
37
37
38
-
[Installing Anaconda](https://docs.anaconda.com/anaconda/install/) takes longer and takes up more disk space, but provides you with more functionality: Jupyter, Spyder (a Python-specific integrated development platform or IDE), as well as other immediately installed packages. The interface of Anaconda is great if you are uncomfortable with the terminal.
38
+
[Installing Anaconda](https://docs.anaconda.com/anaconda/install/) takes longer and uses up more disk space, but provides you with more functionality, including Spyder (a Python-specific integrated development environment or IDE) and Jupyter, in addition to other immediately installed packages. Also, the interface of Anaconda is great if you are uncomfortable with the terminal.
39
39
40
40
We recommend Miniconda for two reasons:
41
41
@@ -46,17 +46,17 @@ Once you have `conda` via the Miniconda installer, the next step is to create an
46
46
47
47
## Creating a Conda Environment
48
48
49
-
A conda environment is an interoperable collection of specific versions of packages or libraries that you install and use for a specific workflow. The conda package manager takes care of dependencies so everything works together in a predictable way. One huge advantage of using environments is that any changes you make to one environment will not affect your other environments at all, so you are much less likely to "break" something!
49
+
A Conda environment is an interoperable collection of specific versions of packages or libraries that you install and use for a specific workflow. The Conda package manager takes care of dependencies, so everything works together in a predictable way. One huge advantage of using environments is that any changes you make to one environment will not affect your other environments at all, so you are much less likely to "break" something!
50
50
51
51
To create a new Conda environment, type `conda create --name` and the name of your environment in your terminal, and then specify any packages that you would like to have installed. For example, to install a Jupyter-ready environment called `sample_environment`, type
Once the environment is created, you need to _activate_ it in the current terminal session (see below)
57
+
Once the environment is created, you need to _activate_ it in the current terminal session (see below).
58
58
59
-
It is a good idea to create new environments for different projects because since Python is open source, new versions of the tools are released very frequently. Isolated environments help guarantee that your script will use the same versions of packages and libraries and should run the same as you expect it to. Similarly, it is best practice to NOT modify your `base` environment.
59
+
It is a good idea to create a new environment for every project. Because Python is open source, new versions of the tools are released frequently. Isolated environments help guarantee that your scripts use the same versions of packages and libraries to ensure they run as expected. Similarly, it is best practice to NOT modify your `base` environment.
60
60
61
61
## Useful Conda commands
62
62
@@ -80,13 +80,13 @@ conda deactivate
80
80
conda list
81
81
```
82
82
83
-
- Installing a new package into current environment
83
+
- Installing a new package into the current environment
84
84
85
85
```
86
86
conda install somepackage
87
87
```
88
88
89
-
- Installing a specific version of a package into current environment
89
+
- Installing a specific version of a package into the current environment
90
90
91
91
```
92
92
conda install somepackage=0.17
@@ -110,15 +110,15 @@ conda env list
110
110
conda env remove --name sample_environment
111
111
```
112
112
113
-
Lots more information is in the [conda documentation](https://docs.conda.io/) or this handy [conda cheat sheet](https://docs.conda.io/projects/conda/en/latest/_downloads/843d9e0198f2a193a3484886fa28163c/conda-cheatsheet.pdf)
113
+
You can find lots more information in the [Conda documentation](https://docs.conda.io/en/latest/) or this handy [Conda cheat sheet](https://docs.conda.io/projects/conda/en/latest/_downloads/843d9e0198f2a193a3484886fa28163c/conda-cheatsheet.pdf).
114
114
115
115
If you're not a command line user, the Anaconda navigator offers GUI functionality for selecting environments and installing packages.
116
116
117
117
---
118
118
119
119
## Summary
120
120
121
-
Conda is a package and environment management system that allows you to quickly install, run, and update packages within your work environment(s). This is important for gathering all of the tools necessary for your workflow. Conda can be managed in the command line or in the Anacond GUI.
121
+
Conda is a package and environment management system that allows you to quickly install, run, and update packages within your work environment(s). This is important for gathering all of the tools necessary for your workflow. Conda can be managed in the command line or in the Anaconda GUI.
122
122
123
123
### What's Next?
124
124
@@ -128,7 +128,7 @@ Conda is a package and environment management system that allows you to quickly
Copy file name to clipboardExpand all lines: foundations/getting-started-jupyter.ipynb
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@
75
75
"source": [
76
76
"## Jupyter Notebooks\n",
77
77
"\n",
78
-
"The Jupyter Notebook is an open-source web application that allows you to create and share Jupyter notebooks (*ipynb files). Jupyter Notebooks contain executable code, LaTeX equations, visualizations (e.g., plots, pictures), and narrative text. The code does not have to just be Python, other languages such as Julia or R are supported as well. \n",
78
+
"The Jupyter Notebook software is an open-source web application that allows you to create and share Jupyter Notebooks (*.ipynb files). Jupyter Notebooks contain executable code, LaTeX equations, visualizations (e.g., plots, pictures), and narrative text. The code does not have to just be Python, other languages such as Julia or R are supported as well. \n",
79
79
"\n",
80
80
"Jupyter Notebooks are celebrated for their interactive output that allows movement between code, code output, explanations, and more code - similar to how scientists think and solve problems. Jupyter Notebooks can be thought of as a living, runnable publication and make for a great presentation platform."
81
81
]
@@ -100,7 +100,7 @@
100
100
"\n",
101
101
"A popular web application on which users can create and write their Jupyter Notebooks, as well as explore data, install software, etc.\n",
102
102
"\n",
103
-
"More information on running Jupyter Lab [here](jupyterlab)."
103
+
"You can find more information on running Jupyter Lab [here](jupyterlab)."
104
104
]
105
105
},
106
106
{
@@ -130,9 +130,9 @@
130
130
"source": [
131
131
"### Local Execution Model\n",
132
132
"\n",
133
-
"You can launch JupyterLab from a terminal, it will open up in a web browser. The application is running on the browser. When you open a notebook, Jupyter opens a kernel which can be tied to a specific coding language.\n",
133
+
"You can launch JupyterLab from a terminal; it will open up in a web browser. The application will then be running in that web browser. When you open a notebook, Jupyter opens a kernel which can be tied to a specific coding language.\n",
134
134
"\n",
135
-
"To launch the JupyterLab interface in your browser follow the instructions in [Installing and Running Python: Python in Jupyter](https://foundations.projectpythia.org/foundations/jupyter.html).\n",
135
+
"To launch the JupyterLab interface in your browser, follow the instructions in [Installing and Running Python: Python in Jupyter](https://foundations.projectpythia.org/foundations/jupyter.html).\n",
"In the remote execution model you start out in the browser, navigate to a specific URL that points to a JupyterHub. On JupyterHub you authenticate on the remote system, and then JupyterLab is launched and redirected back to your browser. The interface appears the same as if you were running Jupyter locally.\n",
148
+
"In the remote execution model, you start out in the browser, then navigate to a specific URL that points to a JupyterHub. On JupyterHub, you authenticate on the remote system, and then JupyterLab is launched and redirected back to your browser. The interface appears the same as if you were running Jupyter locally.\n",
0 commit comments