Recent Commits to python-patterns:master (6)

  • 04/09/2026 10:53

    Bump actions/setup-python from 6 to 7 (#478)

    Bump actions/setup-python from 6 to 7 (#478)
    
    Bumps [actions/setup-python](https://github.com/actions/setup-python) from 6 to 7.
    - [Release notes](https://github.com/actions/setup-python/releases)
    - [Commits](https://github.com/actions/setup-python/compare/v6...v7)
    
    ---
    updated-dependencies:
    - dependency-name: actions/setup-python
      dependency-version: '7'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • 04/09/2026 10:46

    Bump mypy from 2.3.0 to 2.3.1 (#483)

    Bump mypy from 2.3.0 to 2.3.1 (#483)
    
    Bumps [mypy](https://github.com/python/mypy) from 2.3.0 to 2.3.1.
    - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
    - [Commits](https://github.com/python/mypy/compare/v2.3.0...v2.3.1)
    
    ---
    updated-dependencies:
    - dependency-name: mypy
      dependency-version: 2.3.1
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • 04/09/2026 10:20

    Bump tox from 4.58.0 to 4.61.1 (#485)

    Bump tox from 4.58.0 to 4.61.1 (#485)
    
    Bumps [tox](https://github.com/tox-dev/tox) from 4.58.0 to 4.61.1.
    - [Release notes](https://github.com/tox-dev/tox/releases)
    - [Changelog](https://github.com/tox-dev/tox/blob/main/docs/changelog.rst)
    - [Commits](https://github.com/tox-dev/tox/compare/4.58.0...4.61.1)
    
    ---
    updated-dependencies:
    - dependency-name: tox
      dependency-version: 4.61.1
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • 04/09/2026 10:20

    Bump pipx from 1.16.5 to 1.17.1 (#486)

    Bump pipx from 1.16.5 to 1.17.1 (#486)
    
    Bumps [pipx](https://github.com/pypa/pipx) from 1.16.5 to 1.17.1.
    - [Release notes](https://github.com/pypa/pipx/releases)
    - [Changelog](https://github.com/pypa/pipx/blob/main/docs/changelog.rst)
    - [Commits](https://github.com/pypa/pipx/compare/1.16.5...1.17.1)
    
    ---
    updated-dependencies:
    - dependency-name: pipx
      dependency-version: 1.17.1
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • 04/09/2026 10:19

    Bump build from 1.5.0 to 1.6.0 (#487)

    Bump build from 1.5.0 to 1.6.0 (#487)
    
    Bumps [build](https://github.com/pypa/build) from 1.5.0 to 1.6.0.
    - [Release notes](https://github.com/pypa/build/releases)
    - [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
    - [Commits](https://github.com/pypa/build/compare/1.5.0...1.6.0)
    
    ---
    updated-dependencies:
    - dependency-name: build
      dependency-version: 1.6.0
      dependency-type: direct:development
      update-type: version-update:semver-minor
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • 04/09/2026 10:18

    Bump isort from 8.0.1 to 9.0.1 (#488)

    Bump isort from 8.0.1 to 9.0.1 (#488)
    
    Bumps [isort](https://github.com/PyCQA/isort) from 8.0.1 to 9.0.1.
    - [Release notes](https://github.com/PyCQA/isort/releases)
    - [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/PyCQA/isort/compare/8.0.1...9.0.1)
    
    ---
    updated-dependencies:
    - dependency-name: isort
      dependency-version: 9.0.1
      dependency-type: direct:development
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • 30/07/2026 18:10

    Bump actions/checkout from 6 to 7 (#479)

    Bump actions/checkout from 6 to 7 (#479)
    
    Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
    - [Release notes](https://github.com/actions/checkout/releases)
    - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
    - [Commits](https://github.com/actions/checkout/compare/v6...v7)
    
    ---
    updated-dependencies:
    - dependency-name: actions/checkout
      dependency-version: '7'
      dependency-type: direct:production
      update-type: version-update:semver-major
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • 30/07/2026 18:09

    Bump pipx from 1.16.2 to 1.16.5 (#480)

    Bump pipx from 1.16.2 to 1.16.5 (#480)
    
    Bumps [pipx](https://github.com/pypa/pipx) from 1.16.2 to 1.16.5.
    - [Release notes](https://github.com/pypa/pipx/releases)
    - [Changelog](https://github.com/pypa/pipx/blob/main/docs/changelog.rst)
    - [Commits](https://github.com/pypa/pipx/compare/1.16.2...1.16.5)
    
    ---
    updated-dependencies:
    - dependency-name: pipx
      dependency-version: 1.16.5
      dependency-type: direct:development
      update-type: version-update:semver-patch
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • 24/07/2026 15:02

    Fix failed tests, linter errors, and restructure (#477)

    Fix failed tests, linter errors, and restructure (#477)
    
    * Switch development dependencies to Pipenv lockfile
    
    - add Pipfile and Dependabot-compatible Pipfile.lock
    - update lint, tox, CI, Travis, and Makefile workflows
    - support Python 3.10 through 3.14
    - remove the pip-tools requirements lockfile
    - standardize linting, type checking, and tests
    
    * Streamline GitHub Actions CI workflow
    
    - consolidate duplicate lint and PR workflows
    - run strict linting, type checking, and tests
    - test against Python 3.10 through 3.14
    - install dependencies from Pipfile.lock
    - add caching, timeouts, minimal permissions, and concurrency control
    - remove ignored failures and fragile changed-file logic
  • 13/03/2026 14:04

    Remove singleton pattern entry from README

    Remove singleton pattern entry from README
  • 13/03/2026 14:02

    docs: add mermaid diagrams (#469)

    docs: add mermaid diagrams (#469)
    
    * docs: add mermaid diagrams
    
    * Update README.md
    
    * docs: add mermaid diagrams
    
    * docs: add mermaid diagrams
    
    * docs: add mermaid diagrams
    
    * docs: add mermaid diagrams
    
    * docs: add mermaid diagrams
  • 13/02/2026 7:31

    Docs: Add ecosystem examples to CoR, add Factory tests (#466)

    Docs: Add ecosystem examples to CoR, add Factory tests (#466)
    
    Co-authored-by: Sakis Kasampalis <faif@users.noreply.github.com>
  • 13/02/2026 7:29

    chore: Update outdated GitHub Actions versions (#465)

    chore: Update outdated GitHub Actions versions (#465)
  • 13/02/2026 7:29

    Test coverage changes added (#464)

    Test coverage changes added (#464)
    
    Co-authored-by: Binil <binilraj.kuttikkattubaburaj@example.com>
  • 21/01/2026 15:49

    Improve type annotations in adapter pattern (#463)

    Improve type annotations in adapter pattern (#463)
  • 21/01/2026 15:47

    Fixed an incorrect indentation. (#462)

    Fixed an incorrect indentation. (#462)
  • 14/01/2026 12:15

    improved docstring formatting and added safe return in factory method…

    improved docstring formatting and added safe return in factory method (#457)
    
    * added default return value in get_localizer to prevent KeyError
    
    * cleaned up docstring formatting and removed unnecessary asterisks
  • 25/11/2025 17:17

    Add anti patterns sectiAdd “Anti-Patterns” section to README with exp…

    Add anti patterns sectiAdd “Anti-Patterns” section to README with explanations (#256)on (#459)
    
    * added default return value in get_localizer to prevent KeyError
    
    * cleaned up docstring formatting and removed unnecessary asterisks
    
    * Add Anti-Patterns section explaining discouraged design patterns
  • 07/11/2025 8:33

    docs: add missing Servant pattern to README behavioral patterns table…

    docs: add missing Servant pattern to README behavioral patterns table (#458)
  • 17/10/2025 10:50

    Add type hint to remaining pattern modules (#410)

    Add type hint to remaining pattern modules (#410)
    
    * Adding typehint
    
    * Update __exit__ type
    
    * fix black formatting
    
    ---------
    
    Co-authored-by: Roy, Debakar <debakar.roy@intel.com>
    Co-authored-by: Sakis Kasampalis <faif@users.noreply.github.com>
  • 17/10/2025 10:42

    Translate several doctest tests to pytest (#414)

    Translate several doctest tests to pytest (#414)
    
    Co-authored-by: Benjamin Townsend <germin8@jamminangels.net>
    Co-authored-by: Sakis Kasampalis <faif@users.noreply.github.com>
  • 17/10/2025 10:38

    Remove pluggable-libs submodule and cleanup (#433) (#447)

    Remove pluggable-libs submodule and cleanup (#433) (#447)
    
    * Remove pluggable-libs submodule and cleanup (#433)
    
    * Fix GitHub Actions output format error for multiline file lists
    
    * Add requirements-dev.txt so CI can install dev dependencies
    
    ---------
    
    Co-authored-by: Sakis Kasampalis <faif@users.noreply.github.com>
  • 17/10/2025 10:36

    Cleanup pluggable-libs & fix CI file output (#433, #447) (#448)

    Cleanup pluggable-libs & fix CI file output (#433, #447) (#448)
    
    * Remove pluggable-libs submodule and cleanup (#433)
    
    * Fix GitHub Actions output format error for multiline file lists
    
    * Add requirements-dev.txt so CI can install dev dependencies
  • 17/10/2025 10:34

    Add type hints and standardized docstrings to observer.py (#454)

    Add type hints and standardized docstrings to observer.py (#454)
  • 17/10/2025 10:31

    Fix typo in top comment of catalog.py (#453)

    Fix typo in top comment of catalog.py (#453)
  • 17/10/2025 10:30

    fix: :bug: Fix potential warning in factory.py (#455)

    fix: :bug: Fix potential warning in factory.py (#455)
    
    Use ellipsis replace pass to avoid potential warning:
    ```
    	"resource": "/d:/Github/Python/python-patterns/patterns/creational/factory.py",
    	"owner": "pylance4",
    		"value": "reportReturnType",
    			"path": "/microsoft/pylance-release/blob/main/docs/diagnostics/reportReturnType.md",
    	"severity": 8,
    	"message": "Function with declared return type \"str\" must return value on all code paths\n  \"None\" is not assignable to \"str\"",
    	"source": "Pylance",
    	"startLineNumber": 29,
    	"startColumn": 37,
    	"endLineNumber": 29,
    	"endColumn": 40,
    	"origin": "extHost1"
    }]
    ```
    
    Using VS Code with Pylance, Python debugger, and Black Formatter.
  • 05/09/2025 15:57

    fix(docs): correct typos in top comment of catalog.py (#451)

    fix(docs): correct typos in top comment of catalog.py (#451)
  • 11/06/2024 2:29

    Update README.md

    Update README.md
    
    Before diving into any of the patterns, readers should be reminded of two fundamental laws in software architecture:
    
    1.Everything is a trade-ff
    2."Why is more important than the how"
    
    So, readers face the nuances and reality of these patterns from the beginning. These two laws are coined by two thought leaders in software architecture: Mark Richards and Neal Ford. They have explained these two laws in various conference talks and books. For example, Here you can read about these two laws here:
    
    https://www.infoq.com/podcasts/software-architecture-hard-parts/
    
    
    Also, here is a book for reference:
    https://a.co/d/fKOodW9
    Tags:
  • 23/05/2023 21:51

    simplify patterns/behavioral/memento, changing Transactional from des…

    simplify patterns/behavioral/memento, changing Transactional from descriptor class to decorator method
    Tags:

Log in