Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
f98d1c7
:memo: Switch to uv for building envs, packaging etc.
veit Oct 13, 2024
356d857
:memo: Add testing code to documentation
veit Oct 23, 2024
d9cb619
:memo: Update pytest plugins
veit Oct 23, 2024
3c63902
:memo: Update description for init files
veit Oct 24, 2024
74a3a58
:memo: Add humanize
veit Oct 25, 2024
269c22f
:pencil2: Fix external links
veit Oct 26, 2024
02d3ce0
:wrench: Update the installation of plantuml
veit Oct 26, 2024
0d2393d
:bookmark: Update to 24.3.0
veit Oct 26, 2024
12e10c1
:memo: Rearrange documentation section
veit Oct 29, 2024
f6cd2ba
:memo: Add conversion to reST
veit Oct 29, 2024
12fca71
:arrow_up: Update pre-commit hooks
veit Nov 5, 2024
c61e5ba
:art: Restructure the documentation
veit Nov 7, 2024
8ffa005
:memo: Add What’s new?
veit Nov 7, 2024
809fa06
:memo: Add tip for a stride of -1
veit Nov 11, 2024
c34fb9d
:memo: Expand the contextmanager section
veit Nov 11, 2024
d7967cd
:pencil2: Fix reST syntax and typo
veit Nov 17, 2024
ed1eb25
:memo: Add PyPI digital attestations
veit Nov 17, 2024
95f94a3
:memo: Add badges for pytest plugins
veit Dec 1, 2024
fb76c88
:memo: Rearrange functions section
veit Nov 30, 2024
c6a70f7
:memo: Update installation of freethreaded Python
veit Nov 19, 2024
28a24d9
:wrench: :memo: Add social media support
veit Nov 24, 2024
97d8027
:pencil2: Open files with contextmanager
veit Nov 27, 2024
9f91ee3
:pencil2: Use .venv
veit Nov 27, 2024
a16b0cc
:pencil2: Fix updating PATH
veit Nov 27, 2024
cd77770
:pencil2: Specify the testing of wheels
veit Nov 27, 2024
f00613a
:pencil2: Remove unused defaults
veit Nov 27, 2024
df00bb2
:pencil2: Minor changes
veit Dec 1, 2024
213125d
:memo: Switch to f-strings
veit Dec 1, 2024
fa76ce9
:memo: Add logging section from Python4DataScience
veit Dec 1, 2024
97ef7ab
:memo: Add link to PEP 257
veit Dec 3, 2024
2b9d9ce
:memo: Add check for the deduplication of lists
veit Dec 3, 2024
f5574de
:pencil2: Typos and abbreviations
veit Dec 3, 2024
49e0e75
:pencil2: Remove unused defaults
veit Nov 27, 2024
9a6888c
:pencil2: Fix output of check-wheel-contents
veit Dec 5, 2024
c459d03
:memo: Update the overview of uv
veit Dec 7, 2024
4228344
:art: Rearrange package section
veit Dec 7, 2024
5237d06
:memo: Update GitLab package registry
veit Dec 8, 2024
5146756
:memo: Update conda term
veit Dec 13, 2024
e0e290e
:busts_in_silhouette: Add acknowledgement and license information
veit Dec 15, 2024
383780b
:memo: Update Python install instructions
veit Dec 16, 2024
5b8716f
:memo: Update IDLE
veit Dec 16, 2024
e90768d
:art: Better structure for variables and expressions
veit Dec 16, 2024
3e4fe65
:memo: Update the introduction to data types
veit Dec 16, 2024
3ef37cc
:art: Rearrange numbers section
veit Dec 16, 2024
f8bf0af
:art: Rearrange sequences and sets
veit Dec 16, 2024
5d80b21
:memo: Update dict type
veit Dec 18, 2024
3932c44
:art: Rearrange string type and save data sections
veit Dec 18, 2024
f3eddd5
:art: Rearrange control flow section
veit Dec 23, 2024
64228e6
:memo: Add type hints
veit Dec 24, 2024
827f927
:art: Rearrange function section
veit Dec 24, 2024
7de1b7a
:art: Rearrange module section
veit Dec 24, 2024
00d31e3
:art: Rearrange oop section
veit Dec 24, 2024
bc2fbea
:memo: Simplify the exploration of Python
veit Dec 25, 2024
ca738f1
:art: Rearrange namespaces
veit Dec 25, 2024
acaf22a
:art: Move advertising
veit Dec 26, 2024
5b13df5
:memo: Remove OOP design
veit Dec 26, 2024
c15b9b0
:memo: Remove duplicated toctree entries
veit Dec 26, 2024
c96b1bf
:art: Rearrange uml section
veit Dec 26, 2024
a28b114
:art: Rearrange gui documentation
veit Dec 26, 2024
4515a01
:art: Rearrange glossaries
veit Jan 6, 2025
e8deef3
:pencil2: Update tiobe index
veit Jan 7, 2025
0515803
:lipstick: Update style for definition term
veit Jan 10, 2025
7fa87dc
:art: Fix reST syntax
veit Jan 12, 2025
9a20108
:pencil2: Update pytest fixtures and doctests
veit Jan 16, 2025
8973477
:memo: Update types section
veit Jan 16, 2025
8c5027c
:memo: Update uv sections
veit Jan 18, 2025
1c8c554
:memo: Update glossary
veit Jan 21, 2025
ff8f403
:arrow_up: Update pre-commit hooks
veit Jan 24, 2025
79c85d7
:memo: Update cookiecutter templates
veit Jan 25, 2025
808e233
:pencil2: Fix typos and reST syntax
veit Jan 24, 2025
766c7d5
:pencil2: Fix links
veit Jan 25, 2025
c72a09d
:bookmark: Update to 25.1.0
veit Jan 26, 2025
82dddcf
:arrow_up: Update pre-commit hooks
veit Jan 29, 2025
2c9a96e
:pencil2: Typos
veit Feb 16, 2025
2faae6a
:chart_with_upwards_trend: Add monthly checks for dependabot
veit Mar 1, 2025
1338ee6
:arrow_up: Update pre-commit hooks
veit Mar 4, 2025
c54abea
:wrench: Add free-threaded Python to tox conf
veit Mar 25, 2025
8397388
:memo: Update docstring section
veit Apr 6, 2025
2d0b818
:pencil2: Fix intersphinx links
veit Apr 6, 2025
f44a0ed
:memo: Add pytest-testinfra to pytest plugins
veit Apr 6, 2025
6f42763
:pencil2: Clean up reST syntax
veit Apr 7, 2025
a27f5cd
:pencil2: Fix typos and reST roles
rekognizecode May 9, 2025
da230c0
:pencil2: Update tiobe index
veit May 10, 2025
4dd0d2c
:pencil2: Fix typos and formatting
rekognizecode Jun 4, 2025
d454350
:memo: Explain in-Operator
rekognizecode Jun 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pandoc/actions/setup@v1
- uses: actions/setup-python@v5
with:
# Keep in sync with .readthedocs.yaml
python-version-file: .python-version
- name: Install plantuml
run: |
sudo apt install plantuml
- name: Setup cached uv
uses: hynek/setup-cached-uv@v2
- name: Create venv and install docs dependencies
Expand Down
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,25 @@ repos:
- id: sphinx-lint
types: [rst]
- repo: https://github.com/pycqa/isort
rev: 5.13.2
rev: 6.0.1
hooks:
- id: isort
additional_dependencies: ["toml"]
entry: isort --profile=black
name: isort (python)
- repo: https://github.com/psf/black
rev: 24.10.0
rev: 25.1.0
hooks:
- id: black
- repo: https://github.com/adamchainz/blacken-docs
rev: "1.19.0"
rev: "1.19.1"
hooks:
- id: blacken-docs
args: [--line-length=79]
additional_dependencies:
- black
- repo: https://github.com/codespell-project/codespell
rev: v2.3.0
rev: v2.4.1
hooks:
- id: codespell
- repo: local
Expand Down
188 changes: 166 additions & 22 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,55 +1,199 @@
Changelog
=========

The versions follow `Semantic Versioning <https://semver.org/lang/de/>`_:
``MAJOR.MINOR.PATCH``.
Alle nennenswerten Änderungen an diesem Projekt werden in dieser Datei
dokumentiert.

``MAJOR``
is increased when incompatible changes are published.
``MINOR``
is increased when new compatible functionalities are released.
``PATCH``
is increased if the changes include only compatible bug fixes.
Das Format basiert auf `Keep a Changelog
<https://keepachangelog.com/en/1.0.0/>`_ und dieses Projekt hält sich an
`Calendar Versioning <https://calver.org>`_.

.. _changelog
Die erste Zahl der Version ist das Jahr. Die zweite Zahl wird mit jeder Version
erhöht, beginnend bei 1 für jedes Jahr. Die dritte Zahl ist für Notfälle, wenn
wir Zweige für ältere Versionen starten müssen.

24.2.0
.. unreleased

`Unreleased <https://github.com/veit/python-basics-tutorial-de/compare/25.1.0...HEAD>`_
---------------------------------------------------------------------------------------

`25.1.0 <https://github.com/veit/python-basics-tutorial-de/compare/24.3.0...25.1.0>`_
-------------------------------------------------------------------------------------

Added
~~~~~

* 📝 Add type hints
* 👥 Add license and acknowledgement
* 📝 Add logging section from Python4DataScience
* 🔧 📝 Add social media support

* Add OpenGraph tag for mastodon
* Add social media links

* 📝 Add PyPI digital attestations
* 📝 Add tip for a stride of -1
* 📝 Add What’s new?
* 📝 Add conversion to reST

Changed
~~~~~~~

* 📝 Update cookiecutter templates

* Add badges
* Remove deprecated templates
* Add Jupyter Notebook section

* 📝 Update glossary

* Add constant, singleton and immutable objects

* 📝 Update uv sections

* Reproducing and updating uv environments

* 🎨 Rearrange glossaries
* 📝 Update conda term
* 📝 Update GitLab package registry
* 📝 Expand the pytest plugins section
* 📝 Rearrange functions section
* 📝 Update installation of freethreaded Python
* 📝 Expand the contextmanager section
* 🎨 Restructure the documentation

* Move packages outside libraries
* Move apps in packages
* Remove unittest2
* Move doctests to Sphinx
* Move the sqlite database test to unittest
* Move Sphinx to a subchapter

Removed
~~~~~~~

* Remove OOP design

`24.3.0 <https://github.com/veit/python-basics-tutorial-de/compare/24.2.0...24.3.0>`_
-------------------------------------------------------------------------------------

Added
~~~~~

* 📝 Add humanize
* 📝 Add testing code to documentation
* 📝 Add bump-my-version
* 📝 Add vale
* 📝 Add codespell
* 📝 Add checks
* 📝 Add LBYL and EAFP to exceptions
* 📝 Add the series of tutorials and trainings
* 📝 Adopt SOLID principles from Python4DataScience

Changed
~~~~~~~

* 📝 Update description for init files
* 📝 Update pytest plugins

* Add pytest-freethreaded to plugins for modified test sequences
* Add pytest-edit to modified output plugins
* Add playwright and pyleniumio to web dev plugins
* Add pytest-patterns to various plugins
* Remove pytest-splinter, pytest-mimesis and pytest-freezegun

* 📝 Switch to uv for building envs, packaging etc.

* Install different Python versions in parallel including PyPy and
free-threaded Python 3.13.
* Add tox-uv
* Publishing packages
* Update uv.lock file with a pre-commit hook

* 📝 Update cibuildwheel
* 👷 Switch to uv in ci
* 📝 Switch to .venv directory
* 📝 Update to Python 3.13
* 🔧 Switch to pyproject.toml
* 📝 Rearrange documentation tests
* 📝 Extend documentation of the string type
* 📝 Extend documentation of the tuple type
* 📝 Extend documentation of the list type
* 📝 Add sphinx-issues
* 📝 Add direnv tip
* 📝 Update instructions for installing packages
* 📝 Add proxy config for PyPI

Fixed
~~~~~

* 📝 Fix coverage pipeline
* ✏️ Workaround for pytest lexer warnings

`24.2.0 <https://github.com/veit/python-basics-tutorial-de/compare/24.1.0...24.2.0>`_
-------------------------------------------------------------------------------------

Added
~~~~~

* 📝 Update Python on mobile devices
* 📝 Add design patterns
* 📝 Update Tiobe Index
* 📝 Add frozenset
* 📝 Add git filter for pytest
* 📝 Add interrogate for docstring coverage

Changed
~~~~~~~

* 📝 Update Python on mobile devices
* 📝 Update Tiobe Index
* 📝 Expand section for testing the documentation

24.1.0
`24.1.0 <https://github.com/veit/python-basics-tutorial-de/compare/v1.0.0...24.1.0>`_
-------------------------------------------------------------------------------------

Added
~~~~~

* 🌱 Add matplotlib for social cards
* 🔧 Use git tag for versioning the docs
* 📝 Add links for strftime
* 📝 Add link to dataclasses
* 📝 Add exclude_also to coverage configs

Changed
~~~~~~~

* 🔧 Use git tag for versioning the docs
* 📝 Update None type
* 📝 Update the review of values and identity
* 📝 Update comparative expressions
* 📝 Update dataprep example
* 🎨 pre-commit fixes
* 📝 Add link to dataclasses
* 📝 Update publishining gpackages
* 📝 Update publishining packages

* Add trusted publisher

* 📝 Add exclude_also to coverage configs
Fixed
~~~~~

* 🎨 pre-commit fixes

`v1.0.0 <https://github.com/veit/python-basics-tutorial-de/commit/550a5202cd0c3055dea6d027083f99678d149228>`_: 2023-11-28
-------------------------------------------------------------------------------------------------------------------------

Added
~~~~~

1.0.0
* 📝 Add dataclasses
* 📝 Add striding and link to slicing with pandas
* 📝 Add lambda functions

Changed
~~~~~~~

* 🔖 Update to 1.0.0, add changelog
* 💄 Switch to furo theme
* 📝 Add dataclasses
* 📝 Switch to intersphinx links
* 📝 Add note to Unicode help
* 📝 Add link to pandas I/O tools and examples for serialisation files
* 📝 Add striding and link to slicing with pandas
* 📝 Add lambda functions
* 📝 Update dicts type

* Add setdefault
Expand Down
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,13 @@ Installation
Folgt uns
---------

.. _follow-us:

* `GitHub <https://github.com/veit/python-basics-tutorial-de>`_
* `Mastodon <https://mastodon.social/@Python4DataScience>`_
* `Bluesky <https://bsky.app/profile/python4data.science>`_

.. _end-follow-us:

Pull-Requests
-------------
Expand Down
12 changes: 12 additions & 0 deletions docs/_static/css/cusy.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.accelerator {
text-decoration: underline;
}

.field-list dt,
.option-list dt,
dl.footnote dt,
dl.glossary dt,
dl.simple dt,
dl:not([class]) dt {
font-weight: 700;
}
Loading