Skip to content

Commit fa73c65

Browse files
Python Patterns v1.0.0
1 parent 8869164 commit fa73c65

30 files changed

Lines changed: 100 additions & 53 deletions

DISCLAIMER.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# 📄 LEGAL DISCLAIMER
2+
3+
**COMPLETE AND ABSOLUTE RELEASE FROM ALL LIABILITY**
4+
5+
**SOFTWARE PROVIDED "AS IS" WITHOUT ANY WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT.**
6+
7+
The copyright holder, contributors, and any associated parties **EXPLICITLY DISCLAIM AND DENY ALL RESPONSIBILITY AND LIABILITY** for:
8+
9+
1. **ANY AND ALL DATA LOSS**: Complete or partial loss of any data, files, configuration, or information whatsoever
10+
2. **ANY AND ALL SECURITY INCIDENTS**: Unauthorized access, breaches, compromises, theft, or exposure of any sensitive information
11+
3. **ANY AND ALL FINANCIAL LOSSES**: Direct, indirect, incidental, special, consequential, or punitive damages of any kind
12+
4. **ANY AND ALL OPERATIONAL DISRUPTIONS**: Service interruptions, system failures, authentication issues, or denial of service
13+
5. **ANY AND ALL IMPLEMENTATION ISSUES**: Bugs, errors, vulnerabilities, misconfigurations, incorrect usage, or compatibility problems
14+
6. **ANY AND ALL LEGAL OR REGULATORY CONSEQUENCES**: Violations of laws, regulations, compliance requirements, or third-party terms of service
15+
7. **ANY AND ALL PERSONAL OR BUSINESS DAMAGES**: Reputational harm, business interruption, loss of revenue, lost profits, or any other damages
16+
8. **ANY AND ALL THIRD-PARTY CLAIMS**: Claims made by any other parties affected by software usage
17+
9. **ANY AND ALL SYSTEM DAMAGES**: Hardware damage, software corruption, operating system instability, or data corruption
18+
19+
**USER ACCEPTS FULL AND UNCONDITIONAL RESPONSIBILITY**
20+
21+
By installing, accessing, cloning, forking, or using this software in any manner, you irrevocably agree that:
22+
23+
- You assume **ALL** risks associated with software usage
24+
- You bear **SOLE** responsibility for your data, credentials, and system security
25+
- You accept **COMPLETE** responsibility for all testing and validation before production use
26+
- You are **EXCLUSIVELY** liable for compliance with all applicable laws and regulations
27+
- You accept **TOTAL** responsibility for any and all consequences of usage
28+
- You **PERMANENTLY AND IRREVOCABLY** waive, release, and discharge all claims against the copyright holder, contributors, distributors, and any associated entities
29+
30+
**NO WARRANTY OF ANY KIND**
31+
32+
This software comes with **ABSOLUTELY NO GUARANTEES** regarding:
33+
- Security effectiveness or cryptographic strength
34+
- Reliability, availability, or uptime
35+
- Fitness for any particular purpose or use case
36+
- Accuracy, correctness, or completeness
37+
- Freedom from defects, vulnerabilities, or backdoors
38+
- Compatibility with any specific hardware, software, or environment
39+
40+
**NOT A PROFESSIONAL OR CERTIFIED SOLUTION**
41+
42+
This software is provided for educational and experimental purposes. It is not:
43+
- Professional advice or consultation of any kind
44+
- A certified, audited, or validated product
45+
- A guaranteed security solution
46+
- Enterprise-grade or production-ready software
47+
- Endorsed by any authority, organization, or standards body
48+
49+
**FINAL AND BINDING AGREEMENT**
50+
51+
Usage of this software constitutes your **FULL AND UNCONDITIONAL ACCEPTANCE** of this disclaimer. If you do not accept **ALL** terms and conditions, **DO NOT USE, CLONE, FORK, OR DOWNLOAD THIS SOFTWARE.**
52+
53+
**BY PROCEEDING, YOU ACKNOWLEDGE THAT YOU HAVE READ THIS DISCLAIMER IN ITS ENTIRETY, UNDERSTAND ITS TERMS COMPLETELY, AND ACCEPT THEM WITHOUT RESERVATION OR EXCEPTION.**

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2021-2024, A.A. Suvorov
3+
Copyright (c) 2021-2024, Alexander Suvorov
44

55
Redistribution and use in source and binary forms, with or without
66
modification, are permitted provided that the following conditions are met:

README.md

Lines changed: 19 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Python Patterns
1+
# Python Patterns <sup>v1.0.0</sup>
22

33
A collection of design patterns and idioms in Python.
44

5-
***
5+
---
66

77
## Current Patterns
88

@@ -45,26 +45,20 @@ __Behavior Patterns__:
4545
| [Template Method](patterns/behavioral/template_method.py) |defines the basis of the algorithm and allows subclasses to override some of the steps in the algorithm, without changing its structure as a whole. |
4646
| [Visitor](patterns/behavioral/visitor.py) | invoke a callback for all items of a collection. |
4747

48-
***
49-
50-
## Disclaimer of liability:
51-
52-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
53-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
54-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
55-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
56-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
57-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
58-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
59-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
60-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
61-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
62-
63-
***
64-
65-
# --------------------------------------------------------
66-
# Licensed under the terms of the BSD 3-Clause License
67-
# (see LICENSE for details).
68-
# Copyright © 2018-2024, A.A Suvorov
69-
# All rights reserved.
70-
# --------------------------------------------------------
48+
---
49+
50+
## ⚠️ Disclaimer
51+
52+
**By using this software, you agree to the full disclaimer terms.**
53+
54+
**Summary:** Software provided "AS IS" without warranty. You assume all risks.
55+
56+
**Full legal disclaimer:** See [DISCLAIMER.md](https://github.com/smartlegionlab/python-patterns/blob/master/DISCLAIMER.md)
57+
58+
---
59+
60+
## License
61+
62+
*Licensed under [BSD 3-Clause License](https://github.com/smartlegionlab/python-patterns/blob/master/LICENSE) • Copyright (©) 2026, [Alexander Suvorov](https://github.com/smartlegionlab)*
63+
64+
---

patterns/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# --------------------------------------------------------
22
# Licensed under the terms of the BSD 3-Clause License
33
# (see LICENSE for details).
4-
# Copyright © 2018-2024, A.A Suvorov
4+
# Copyright © 2026, Alexander Suvorov
55
# All rights reserved.
66
# --------------------------------------------------------
77
# https://github.com/smartlegionlab/

patterns/behavioral/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# --------------------------------------------------------
22
# Licensed under the terms of the BSD 3-Clause License
33
# (see LICENSE for details).
4-
# Copyright © 2018-2024, A.A Suvorov
4+
# Copyright © 2026, Alexander Suvorov
55
# All rights reserved.
66
# --------------------------------------------------------
77
# https://github.com/smartlegionlab/

patterns/behavioral/blackboard.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# --------------------------------------------------------
22
# Licensed under the terms of the BSD 3-Clause License
33
# (see LICENSE for details).
4-
# Copyright © 2018-2024, A.A Suvorov
4+
# Copyright © 2026, Alexander Suvorov
55
# All rights reserved.
66
# --------------------------------------------------------
77
# https://github.com/smartlegionlab/

patterns/behavioral/chain_of_responsibility.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# --------------------------------------------------------
22
# Licensed under the terms of the BSD 3-Clause License
33
# (see LICENSE for details).
4-
# Copyright © 2018-2024, A.A Suvorov
4+
# Copyright © 2026, Alexander Suvorov
55
# All rights reserved.
66
# --------------------------------------------------------
77
# https://github.com/smartlegionlab/

patterns/behavioral/command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# --------------------------------------------------------
22
# Licensed under the terms of the BSD 3-Clause License
33
# (see LICENSE for details).
4-
# Copyright © 2018-2024, A.A Suvorov
4+
# Copyright © 2026, Alexander Suvorov
55
# All rights reserved.
66
# --------------------------------------------------------
77
# https://github.com/smartlegionlab/

patterns/behavioral/interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# --------------------------------------------------------
22
# Licensed under the terms of the BSD 3-Clause License
33
# (see LICENSE for details).
4-
# Copyright © 2018-2024, A.A Suvorov
4+
# Copyright © 2026, Alexander Suvorov
55
# All rights reserved.
66
# --------------------------------------------------------
77
# https://github.com/smartlegionlab/

patterns/behavioral/iterator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# --------------------------------------------------------
22
# Licensed under the terms of the BSD 3-Clause License
33
# (see LICENSE for details).
4-
# Copyright © 2018-2024, A.A Suvorov
4+
# Copyright © 2026, Alexander Suvorov
55
# All rights reserved.
66
# --------------------------------------------------------
77
# https://github.com/smartlegionlab/

0 commit comments

Comments
 (0)