GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - veit/python-basics-tutorial: Training materials for our Python basics course: https://cusy.io/seminars

BranchesTags
Open more actions menu

Latest commit

 

History

651 Commits
651 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
docs
docs
 
 
styles
styles
 
 
.gitignore
.gitignore
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
.python-version
.python-version
 
 
.readthedocs.yaml
.readthedocs.yaml
 
 
.vale.ini
.vale.ini
 
 
CHANGELOG.rst
CHANGELOG.rst
 
 
LICENSE
LICENSE
 
 
README.rst
README.rst
 
 
pyproject.toml
pyproject.toml
 
 

Repository files navigation

Quick start

Status

Contributors License Docs

Installation

  1. Download and unpack:

    … on Linux/macOS:

    $ curl -O https://codeload.github.com/veit/python-basics-tutorial/zip/main
    $ unzip main
    Archive:  main
    …
       creating: python-basics-tutorial-main/
    …

    … on Windows:

    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
    …
    
  2. Install Python packages:

    … on Linux/macOS:

    $ python3 -m venv .venv
    $ . .venv/bin/activate
    $ python -m pip install --upgrade pip
    $ python -m pip install --group dev

    … on Windows:

    C:> py -m venv .venv
    C:> .\.venv\Scripts\activate.bat
    C:> python -m pip install --upgrade pip
    C:> python -m pip install --group dev
    
  3. Create HTML documentation:

    Note

    pandoc and plantuml has to be installed.

    … on Debian/Ubuntu

    $  sudo apt install pandoc plantuml

    To create the HTML documentation run these commands:

    $ sphinx-build -ab html docs/ docs/_build/html/
  4. Create a PDF:

    For the creation of a PDF file you need additional packages. To create a PDF documentation you need additional packages, which you can install

    … on Debian/Ubuntu with

    $ sudo apt install texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended latexmk

    or for macOS with:

    $ brew 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.

    Then you can generate a PDF with:

    $ cd docs/
    $ make latexpdf
    …
    The LaTeX files are in _build/latex.
    Run 'make' in that directory to run these through (pdf)latex
    …

    You can find the PDF at docs/_build/latex/pythonbasics.pdf.

Follow us

  • GitHub
  • Mastodon
  • Bluesky

Pull-Requests

If you have suggestions for improvements and additions, I recommend that you create a Fork of my GitHub Repository and make your changes there. You are also welcome to make a pull request. If the changes contained therein are small and atomic, I’ll be happy to look at your suggestions.

About

Training materials for our Python basics course: https://cusy.io/seminars

python-basics-tutorial.readthedocs.io/en/latest/

Topics

pytestpythonsphinx-documentationsqlite3testing-toolsuml-diagramsxml

Resources

Readme
BSD-3-Clause license
Activity

Stars

9 stars

Watchers

2 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.