Skip to content

Commit

Permalink
deploy: d2e76de
Browse files Browse the repository at this point in the history
  • Loading branch information
giswqs committed Aug 18, 2024
1 parent 31d3d02 commit c808d47
Show file tree
Hide file tree
Showing 8 changed files with 85 additions and 7 deletions.
2 changes: 1 addition & 1 deletion _sources/book/about/instructor.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "1379541c",
"id": "4f3275f0",
"metadata": {},
"source": [
"## Instructor\n",
Expand Down
2 changes: 1 addition & 1 deletion _sources/book/about/schedule.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "9b90ebe0",
"id": "506fa597",
"metadata": {},
"source": [
"# Schedule\n",
Expand Down
2 changes: 1 addition & 1 deletion _sources/book/about/syllabus.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "38d983f6",
"id": "e65603ef",
"metadata": {},
"source": [
"# Syllabus\n",
Expand Down
2 changes: 1 addition & 1 deletion _sources/book/software/miniconda.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "bddc042f",
"id": "b3223468",
"metadata": {},
"source": [
"# Miniconda\n",
Expand Down
32 changes: 30 additions & 2 deletions _sources/book/software/overview.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "05195b3b",
"id": "cdf6d80a",
"metadata": {},
"source": [
"# Overview\n",
Expand All @@ -19,7 +19,35 @@
"- [Google Earth Engine](https://earthengine.google.com/)\n",
"- [Google Colab](https://research.google.com/colaboratory)\n",
"- [Amazon SageMaker Studio Lab](https://studiolab.sagemaker.aws)\n",
"- [Microsoft Planetary Computer](https://planetarycomputer.microsoft.com)"
"- [Microsoft Planetary Computer](https://planetarycomputer.microsoft.com)\n",
"\n",
"## Install Python Packages\n",
"\n",
"There are different ways to install Python packages. The most common methods are using `pip` or `conda`. Here are some examples:\n",
"\n",
"To install packages using `pip`:\n",
"\n",
"```bash\n",
"pip install leafmap\n",
"```\n",
"\n",
"To install packages using `conda`:\n",
"\n",
"```bash\n",
"conda install leafmap -c conda-forge\n",
"```\n",
"\n",
"To install packages from a GitHub repository:\n",
"\n",
"```bash\n",
"pip install git+https://github.com/opengeos/leafmap.git\n",
"```\n",
"\n",
"To install packages from a `requirements.txt` file:\n",
"\n",
"```bash\n",
"pip install -r requirements.txt\n",
"```"
]
}
],
Expand Down
28 changes: 28 additions & 0 deletions _sources/book/software/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,31 @@ kernelspec:
- [Google Colab](https://research.google.com/colaboratory)
- [Amazon SageMaker Studio Lab](https://studiolab.sagemaker.aws)
- [Microsoft Planetary Computer](https://planetarycomputer.microsoft.com)

## Install Python Packages

There are different ways to install Python packages. The most common methods are using `pip` or `conda`. Here are some examples:

To install packages using `pip`:

```bash
pip install leafmap
```

To install packages using `conda`:

```bash
conda install leafmap -c conda-forge
```

To install packages from a GitHub repository:

```bash
pip install git+https://github.com/opengeos/leafmap.git
```

To install packages from a `requirements.txt` file:

```bash
pip install -r requirements.txt
```
22 changes: 22 additions & 0 deletions book/software/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ <h2> Contents </h2>
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#software-tools">Software Tools</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cloud-computing-platforms">Cloud Computing Platforms</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#install-python-packages">Install Python Packages</a></li>
</ul>
</nav>
</div>
Expand Down Expand Up @@ -524,6 +525,26 @@ <h2>Cloud Computing Platforms<a class="headerlink" href="#cloud-computing-platfo
<li><p><a class="reference external" href="https://planetarycomputer.microsoft.com">Microsoft Planetary Computer</a></p></li>
</ul>
</section>
<section id="install-python-packages">
<h2>Install Python Packages<a class="headerlink" href="#install-python-packages" title="Link to this heading">#</a></h2>
<p>There are different ways to install Python packages. The most common methods are using <code class="docutils literal notranslate"><span class="pre">pip</span></code> or <code class="docutils literal notranslate"><span class="pre">conda</span></code>. Here are some examples:</p>
<p>To install packages using <code class="docutils literal notranslate"><span class="pre">pip</span></code>:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pip<span class="w"> </span>install<span class="w"> </span>leafmap
</pre></div>
</div>
<p>To install packages using <code class="docutils literal notranslate"><span class="pre">conda</span></code>:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>conda<span class="w"> </span>install<span class="w"> </span>leafmap<span class="w"> </span>-c<span class="w"> </span>conda-forge
</pre></div>
</div>
<p>To install packages from a GitHub repository:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pip<span class="w"> </span>install<span class="w"> </span>git+https://github.com/opengeos/leafmap.git
</pre></div>
</div>
<p>To install packages from a <code class="docutils literal notranslate"><span class="pre">requirements.txt</span></code> file:</p>
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>pip<span class="w"> </span>install<span class="w"> </span>-r<span class="w"> </span>requirements.txt
</pre></div>
</div>
</section>
</section>

<script type="text/x-thebe-config">
Expand Down Expand Up @@ -592,6 +613,7 @@ <h2>Cloud Computing Platforms<a class="headerlink" href="#cloud-computing-platfo
<ul class="visible nav section-nav flex-column">
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#software-tools">Software Tools</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#cloud-computing-platforms">Cloud Computing Platforms</a></li>
<li class="toc-h2 nav-item toc-entry"><a class="reference internal nav-link" href="#install-python-packages">Install Python Packages</a></li>
</ul>
</nav></div>

Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit c808d47

Please sign in to comment.