https://github.com/veit/python-basics-tutorial-de
Schulungsmaterialen für unseren Python-Basis-Kurs: https://cusy.io/de/seminare
https://github.com/veit/python-basics-tutorial-de
pytest python sphinx-documentation sqlite3 testing-tools uml-diagrams xml
Last synced: 5 months ago
JSON representation
Schulungsmaterialen für unseren Python-Basis-Kurs: https://cusy.io/de/seminare
- Host: GitHub
- URL: https://github.com/veit/python-basics-tutorial-de
- Owner: veit
- License: bsd-3-clause
- Created: 2021-10-22T13:56:05.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-08-03T17:29:25.000Z (5 months ago)
- Last Synced: 2025-08-03T18:19:53.429Z (5 months ago)
- Topics: pytest, python, sphinx-documentation, sqlite3, testing-tools, uml-diagrams, xml
- Homepage: https://python-basics-tutorial.readthedocs.io/de/latest/
- Size: 2.54 MB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE
Awesome Lists containing this project
README
Schnelleinstieg
===============
Status
------
.. image:: https://img.shields.io/github/contributors/veit/python-basics-tutorial-de.svg
:alt: Contributors
:target: https://github.com/veit/python-basics-tutorial-de/graphs/contributors
.. image:: https://img.shields.io/github/license/veit/python-basics-tutorial-de.svg
:alt: License
:target: https://github.com/veit/python-basics-tutorial-de/blob/main/LICENSE
.. image:: https://readthedocs.org/projects/python-basics-tutorial-de/badge/?version=latest
:alt: Docs
:target: https://python-basics-tutorial.readthedocs.io/de/latest/
Installation
------------
#. Herunterladen und auspacken:
… auf Linux/macOS:
.. code-block:: console
$ curl -O https://codeload.github.com/veit/python-basics-tutorial-de/zip/main
$ unzip main
Archive: main
…
creating: python-basics-tutorial-de-main/
…
… auf Windows:
.. code-block:: ps1con
C:> curl.exe -o main.zip -O https://codeload.github.com/veit/python-basics-tutorial-de/zip/main
C:> tar -xvzf main.zip
python-basics-tutorial-de-main/
python-basics-tutorial-de-main/.gitignore
…
#. Installieren von Python-Paketen:
… auf Linux/macOS:
.. code-block:: console
$ python3 -m venv .venv
$ . .venv/bin/activate
$ python -m pip install --upgrade pip
$ python -m pip install --group=dev
… auf Windows:
.. code-block:: ps1con
C:> py -m venv .venv
C:> .\.venv\Scripts\activate.bat
C:> python -m pip install --upgrade pip
C:> python -m pip install --group=dev
#. Erstellen der HTML-Dokumentation:
.. note::
pandoc und plantuml müssen installiert sein.
… auf Debian/Ubuntu:
.. code-block:: console
$ sudo apt install pandoc plantuml
Zum Erstellen der HTML-Dokumentation führt den folgenden Befehl aus:
.. code-block:: console
$ sphinx-build -ab html docs/ docs/_build/html/
#. Erstellen eines PDF:
Zum Erstellen einer PDF-Dokumentation benötigt ihr zusätzliche Pakete, die
ihr installieren könnt
… auf Debian/Ubuntu mit
.. code-block:: console
$ sudo apt install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended latexmk
… auf macOS mit
.. code-block:: console
$ brew cask install mactex
…
🍺 mactex was successfully installed!
$ curl --remote-name https://www.tug.org/fonts/getnonfreefonts/install-getnonfreefonts
$ sudo texlua install-getnonfreefonts
…
mktexlsr: Updating /usr/local/texlive/2020/texmf-dist/ls-R...
mktexlsr: Done.
Anschließend könnt ihr ein PDF generieren mit:
.. code-block:: console
$ cd docs/
$ make latexpdf
…
The LaTeX files are in _build/latex.
Run 'make' in that directory to run these through (pdf)latex
…
Das PDF findet ihr dann in ``docs/_build/latex/pythonbasics.pdf``.
Folgt uns
---------
.. _follow-us:
* `GitHub `_
* `Mastodon `_
* `Bluesky `_
.. _end-follow-us:
Pull-Requests
-------------
Wenn ihr Vorschläge für Verbesserungen und Ergänzungen habt, empfehle ich euch,
einen `Fork `_ meines
`GitHub Repository `_ zu
machen und eure Änderungen hier zu machen. Ihr könnt auch gerne einen *pull
request* stellen. Wenn die dort enthaltenen Änderungen klein und atomar sind,
werde ich mir eure Vorschläge gerne anschauen.