Skip to content

Commit 7be3658

Browse files
committed
🔧 Split the Jupyter Tutorial
1 parent c26e758 commit 7be3658

File tree

92 files changed

+183
-35511
lines changed

Some content is hidden

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

92 files changed

+183
-35511
lines changed

CITATION.cff

-28
This file was deleted.

README.rst

+28-57
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,21 @@ Quick start
66
Status
77
------
88

9-
.. image:: https://img.shields.io/github/contributors/veit/jupyter-tutorial.svg
9+
.. image:: https://img.shields.io/github/contributors/veit/python4datascience.svg
1010
:alt: Contributors
11-
:target: https://github.com/veit/jupyter-tutorial/graphs/contributors
12-
.. image:: https://img.shields.io/github/license/veit/jupyter-tutorial.svg
11+
:target: https://github.com/veit/python4datascience/graphs/contributors
12+
.. image:: https://img.shields.io/github/license/veit/python4datascience.svg
1313
:alt: License
14-
:target: https://github.com/veit/jupyter-tutorial/blob/master/LICENSE
15-
.. image:: https://results.pre-commit.ci/badge/github/veit/jupyter-tutorial/main.svg
14+
:target: https://github.com/veit/python4datascience/blob/master/LICENSE
15+
.. image:: https://results.pre-commit.ci/badge/github/veit/Python4DataScience/main.svg
16+
:target: https://results.pre-commit.ci/latest/github/veit/Python4DataScience/main
1617
:alt: pre-commit.ci status
17-
:target: https://results.pre-commit.ci/latest/github/veit/jupyter-tutorial/main
18-
.. image:: https://readthedocs.org/projects/jupyter-tutorial/badge/?version=latest
18+
.. image:: https://readthedocs.org/projects/python4datascience/badge/?version=latest
1919
:alt: Docs
20-
:target: https://jupyter-tutorial.readthedocs.io/en/latest/
21-
.. image:: https://pyup.io/repos/github/veit/jupyter-tutorial/shield.svg
22-
:alt: Pyup
23-
:target: https://pyup.io/repos/github/veit/jupyter-tutorial/
24-
.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.4147287.svg
25-
:alt: DOI
26-
:target: https://zenodo.org/badge/latestdoi/199994535
27-
.. image:: https://img.shields.io/badge/dynamic/json?label=Mastodon&query=totalItems&url=https%3A%2F%2Fmastodon.social%2F@JupyterTutorial%2Ffollowers.json&logo=mastodon
20+
:target: https://python4datascience.readthedocs.io/en/latest/
21+
.. image:: https://img.shields.io/badge/dynamic/json?label=Mastodon&query=totalItems&url=https%3A%2F%2Fmastodon.social%2F@Python4DataScience%2Ffollowers.json&logo=mastodon
2822
:alt: Mastodon
29-
:target: https://mastodon.social/@JupyterTutorial
23+
:target: https://mastodon.social/@Python4DataScience
3024

3125
.. _first-steps:
3226

@@ -37,53 +31,37 @@ Installation
3731

3832
.. code-block:: console
3933
40-
$ curl -O https://codeload.github.com/veit/jupyter-tutorial/zip/main
34+
$ curl -O https://codeload.github.com/veit/python4datascience/zip/main
4135
$ unzip main
4236
Archive: main
4337
44-
creating: jupyter-tutorial-main/
38+
creating: python4datascience-main/
4539
4640
47-
#. Edit the ``Pipfile`` in the unpacked archive and enter your current Python version in this section:
48-
49-
.. code-block:: console
50-
51-
[requires]
52-
python_version = ""
53-
54-
#. Install Pipenv
55-
56-
Refer to :doc:`Install Pipenv </productive/envs/pipenv/install>`
57-
5841
#. Install Python packages:
5942

6043
.. code-block:: console
6144
62-
$ cd jupyter-tutorial-main
63-
$ pipenv install
64-
Creating a virtualenv for this project…
65-
66-
Installing dependencies from Pipfile.lock (fbb457)…
67-
68-
$ pipenv run jupyter nbextension enable highlighter/highlighter
69-
Enabling notebook extension highlighter/highlighter...
70-
- Validating: OK
45+
$ cd python4datascience-main
46+
$ python3 -m venv .
47+
$ . bin/activate
48+
$ python -m pip install -r docs/requirements.txt
7149
7250
#. Install the `Jupyter Notebook Extensions
7351
<https://jupyter-contrib-nbextensions.readthedocs.io/>`_ Javascript and CSS
7452
files:
7553

7654
.. code-block:: console
7755
78-
$ pipenv run jupyter contrib nbextension install --user
56+
$ jupyter contrib nbextension install --user
7957
jupyter contrib nbextension install --user
8058
Installing jupyter_contrib_nbextensions nbextension files to jupyter data directory
8159
8260
Successfully installed jupyter-contrib-core-0.3.3 jupyter-contrib-nbextensions-0.5.1
8361
jupyter-highlight-selected-word-0.2.0 jupyter-latex-envs-1.4.6
8462
jupyter-nbextensions-configurator-0.4.1
8563
86-
$ pipenv run jupyter nbextension enable latex_envs --user --py
64+
$ jupyter nbextension enable latex_envs --user --py
8765
Enabling notebook extension latex_envs/latex_envs...
8866
- Validating: OK
8967
@@ -95,14 +73,10 @@ Installation
9573
9674
$ sudo apt-get install pandoc
9775
98-
To create the HTML documentation run these commands:
76+
To create the HTML documentation run these commands:
9977

100-
.. code-block:: console
101-
102-
$ python3 -m venv .
103-
$ bin/python -m pip install --upgrade pip
104-
$ bin/python -m pip install -r docs/constraints.txt
105-
$ bin/sphinx-build -ab html docs/ docs/_build/
78+
$ cd docs
79+
$ make html
10680

10781
#. Create a PDF:
10882

@@ -112,7 +86,7 @@ Installation
11286

11387
.. code-block:: console
11488
115-
$ sudo apt-get install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended latexmk
89+
$ sudo apt install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended latexmk
11690
11791
or for macOS with:
11892

@@ -131,8 +105,7 @@ Installation
131105

132106
.. code-block:: console
133107
134-
$ cd docs/
135-
$ pipenv run make latexpdf
108+
$ make latexpdf
136109
137110
The LaTeX files are in _build/latex.
138111
Run 'make' in that directory to run these through (pdf)latex
@@ -162,25 +135,23 @@ Installation
162135

163136
.. code-block:: console
164137
165-
$ cd jupyter-tutorial
166-
$ vale docs/
138+
$ vale .
167139
✔ 0 errors, 0 warnings and 0 suggestions in 201 files.
168140
169141
.. _follow-us:
170142

171143
Follow us
172144
---------
173145

174-
* `GitHub <https://github.com/veit/jupyter-tutorial>`_
175-
* `Twitter <https://twitter.com/JupyterTutorial>`_
176-
* `Mastodon <https://mastodon.social/@JupyterTutorial>`_
146+
* `GitHub <https://github.com/veit/python4datascience>`_
147+
* `Mastodon <https://mastodon.social/@Python4DataScience>`_
177148

178149
Pull-Requests
179150
-------------
180151

181152
If you have suggestions for improvements and additions, I recommend that you
182-
create a `Fork <https://github.com/veit/jupyter-tutorial/fork>`_ of my `GitHub
183-
Repository <https://github.com/veit/jupyter-tutorial/>`_ and make your changes
153+
create a `Fork <https://github.com/veit/python4datascience/fork>`_ of my `GitHub
154+
Repository <https://github.com/veit/python4datascience/>`_ and make your changes
184155
there. . You are also welcome to make a *pull request*. If the changes
185156
contained therein are small and atomic, I’ll be happy to look at your
186157
suggestions.

docs/_static/images/logo/favicon.ico

0 Bytes
Binary file not shown.

docs/_static/images/logo/logo.png

15.4 KB
Loading

0 commit comments

Comments
 (0)