@@ -6,27 +6,21 @@ Quick start
6
6
Status
7
7
------
8
8
9
- .. image :: https://img.shields.io/github/contributors/veit/jupyter-tutorial .svg
9
+ .. image :: https://img.shields.io/github/contributors/veit/python4datascience .svg
10
10
: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
13
13
: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
16
17
: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
19
19
: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
28
22
:alt: Mastodon
29
- :target: https://mastodon.social/@JupyterTutorial
23
+ :target: https://mastodon.social/@Python4DataScience
30
24
31
25
.. _first-steps :
32
26
@@ -37,53 +31,37 @@ Installation
37
31
38
32
.. code-block :: console
39
33
40
- $ curl -O https://codeload.github.com/veit/jupyter-tutorial /zip/main
34
+ $ curl -O https://codeload.github.com/veit/python4datascience /zip/main
41
35
$ unzip main
42
36
Archive: main
43
37
…
44
- creating: jupyter-tutorial -main/
38
+ creating: python4datascience -main/
45
39
…
46
40
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
-
58
41
#. Install Python packages:
59
42
60
43
.. code-block :: console
61
44
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
71
49
72
50
#. Install the `Jupyter Notebook Extensions
73
51
<https://jupyter-contrib-nbextensions.readthedocs.io/> `_ Javascript and CSS
74
52
files:
75
53
76
54
.. code-block :: console
77
55
78
- $ pipenv run jupyter contrib nbextension install --user
56
+ $ jupyter contrib nbextension install --user
79
57
jupyter contrib nbextension install --user
80
58
Installing jupyter_contrib_nbextensions nbextension files to jupyter data directory
81
59
…
82
60
Successfully installed jupyter-contrib-core-0.3.3 jupyter-contrib-nbextensions-0.5.1
83
61
jupyter-highlight-selected-word-0.2.0 jupyter-latex-envs-1.4.6
84
62
jupyter-nbextensions-configurator-0.4.1
85
63
…
86
- $ pipenv run jupyter nbextension enable latex_envs --user --py
64
+ $ jupyter nbextension enable latex_envs --user --py
87
65
Enabling notebook extension latex_envs/latex_envs...
88
66
- Validating: OK
89
67
@@ -95,14 +73,10 @@ Installation
95
73
96
74
$ sudo apt-get install pandoc
97
75
98
- To create the HTML documentation run these commands:
76
+ To create the HTML documentation run these commands:
99
77
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
106
80
107
81
#. Create a PDF:
108
82
@@ -112,7 +86,7 @@ Installation
112
86
113
87
.. code-block :: console
114
88
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
116
90
117
91
or for macOS with:
118
92
@@ -131,8 +105,7 @@ Installation
131
105
132
106
.. code-block :: console
133
107
134
- $ cd docs/
135
- $ pipenv run make latexpdf
108
+ $ make latexpdf
136
109
…
137
110
The LaTeX files are in _build/latex.
138
111
Run 'make' in that directory to run these through (pdf)latex
@@ -162,25 +135,23 @@ Installation
162
135
163
136
.. code-block :: console
164
137
165
- $ cd jupyter-tutorial
166
- $ vale docs/
138
+ $ vale .
167
139
✔ 0 errors, 0 warnings and 0 suggestions in 201 files.
168
140
169
141
.. _follow-us :
170
142
171
143
Follow us
172
144
---------
173
145
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 >`_
177
148
178
149
Pull-Requests
179
150
-------------
180
151
181
152
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
184
155
there. . You are also welcome to make a *pull request *. If the changes
185
156
contained therein are small and atomic, I’ll be happy to look at your
186
157
suggestions.
0 commit comments