Skip to content

Commit 8690878

Browse files
author
Lukas Geiger
committed
chore: refresh PythonBox repo hygiene and icon build
1 parent 1d0d446 commit 8690878

9 files changed

Lines changed: 246 additions & 244 deletions

File tree

.gitignore

Lines changed: 60 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,72 @@ wheels/
1919
*.egg-info/
2020
.installed.cfg
2121
*.egg
22+
.pytest_cache/
23+
.mypy_cache/
24+
.ruff_cache/
2225

23-
# Virtual Environment
26+
# Virtual environments
2427
.env
25-
.venv
28+
.env.*
29+
.venv/
2630
env/
2731
venv/
2832
ENV/
2933
env.bak/
3034
venv.bak/
3135

36+
# Secrets and private data
37+
credentials.json
38+
client_secret*.json
39+
token.json
40+
*.pem
41+
*.key
42+
*.p12
43+
*.pfx
44+
keyring/
45+
secrets/
46+
*.db
47+
*.sqlite
48+
*.sqlite3
49+
50+
# Build artifacts and local releases
51+
releases/
52+
*.exe
53+
*.msi
54+
*.msix
55+
*.appx
56+
*.spec
57+
58+
# Internal project management
59+
AUFGABEN.txt
60+
TEST.txt
61+
TESTS.txt
62+
TESTERGEBNISSE.txt
63+
BUGREPORT.md
64+
DIAGNOSE_REPORT.md
65+
SKILL.md
66+
CodeBox_Konzept.md
67+
Feature_Analyse_PythonBox.md
68+
PLAN.txt
69+
CLAUDE_PROMPT.txt
70+
71+
# Private and archive folders
72+
.archive/
73+
_archive/
74+
_private/
75+
_USER/
76+
_WARTUNG/
77+
_Wartung/
78+
_DEV/
79+
_DEV_Verlauf/
80+
_BACKUP/
81+
82+
# Logs and temporary files
83+
*.log
84+
*.tmp
85+
*.temp
86+
tmpclaude-*
87+
3288
# IDE
3389
.idea/
3490
.vscode/
@@ -40,18 +96,8 @@ venv.bak/
4096
.DS_Store
4197
Thumbs.db
4298
Desktop.ini
43-
44-
# Project specific
45-
.archive/
46-
releases/
47-
*.exe
48-
*.spec
49-
50-
# Internal project management
51-
AUFGABEN.txt
52-
CodeBox_Konzept.md
53-
Feature_Analyse_PythonBox.md
5499
desktop.ini
100+
ehthumbs.db
55101

56-
# Claude Code internal
102+
# Local agent config
57103
.claude/

CHANGELOG.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
1-
# Changelog / Aenderungsprotokoll
1+
# Changelog / Änderungsprotokoll
22

3-
Alle wesentlichen Aenderungen an diesem Projekt werden hier dokumentiert.
3+
Alle wesentlichen Änderungen an diesem Projekt werden hier dokumentiert.
44
Format basiert auf [Keep a Changelog](https://keepachangelog.com/de/1.1.0/).
55

66
## [Unreleased]
77

8-
### Hinzugefuegt / Added
9-
-
8+
### Hinzugefügt / Added
9+
- App- und Fenstericon über `PythonBox.ico`.
10+
- `build_exe.bat` für lokale PyInstaller-Builds.
1011

11-
### Geaendert / Changed
12-
-
12+
### Geändert / Changed
13+
- README, Security Policy, Contributing Guide und Code of Conduct auf das aktuelle Repository `dev-bricks/pythonbox` und die MIT-Lizenz ausgerichtet.
14+
- `.gitignore` um interne Steuerungsdateien, Secrets, Datenbanken, Logs, Test-Locks und Windows-/Build-Artefakte erweitert.
1315

1416
### Behoben / Fixed
15-
-
17+
- Veraltete Clone-Pfade und `main.py`-Startbefehle in der Repository-Dokumentation entfernt.
18+
- Öffentliche E-Mail-Adresse aus dem Code of Conduct entfernt.
1619

1720
## [1.0.0] - YYYY-MM-DD
1821

19-
### Hinzugefuegt / Added
20-
- Erstveroeffentlichung / Initial release
22+
### Hinzugefügt / Added
23+
- Erstveröffentlichung / Initial release

CODE_OF_CONDUCT.md

Lines changed: 28 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -4,61 +4,56 @@
44

55
### Unser Versprechen
66

7-
Wir als Mitglieder, Beitragende und Leitende verpflichten uns, die Teilnahme an unserer
8-
Community zu einer belaetigungsfreien Erfahrung fuer alle zu machen, unabhaengig von
9-
Alter, Koerpergroesse, sichtbarer oder unsichtbarer Behinderung, ethnischer Zugehoerigkeit,
10-
Geschlechtsmerkmalen, Geschlechtsidentitaet und -ausdruck, Erfahrungsgrad, Bildung,
11-
sozio-oekonomischem Status, Nationalitaet, persoenlichem Aussehen, Herkunft, Religion
12-
oder sexueller Identitaet und Orientierung.
7+
Wir verpflichten uns, die Teilnahme an diesem Projekt respektvoll, sachlich und frei von Belästigung zu gestalten, unabhängig von Alter, Körpergröße, sichtbarer oder unsichtbarer Behinderung, ethnischer Zugehörigkeit, Geschlechtsmerkmalen, Geschlechtsidentität, Erfahrungsgrad, Bildung, sozioökonomischem Status, Nationalität, persönlichem Aussehen, Herkunft, Religion oder sexueller Identität und Orientierung.
138

149
### Unsere Standards
1510

16-
Beispiele fuer Verhalten, das zu einem positiven Umfeld beitraegt:
17-
- Verwendung einladender und inklusiver Sprache
18-
- Respektvoller Umgang mit unterschiedlichen Standpunkten und Erfahrungen
19-
- Konstruktive Kritik hoeflich annehmen
20-
- Fokus auf das Beste fuer die Community
11+
Erwünschtes Verhalten:
2112

22-
Inakzeptables Verhalten umfasst:
23-
- Trolling, beleidigende Kommentare und persoenliche oder politische Angriffe
24-
- Oeffentliche oder private Belaestigung
25-
- Veroeffentlichung privater Informationen anderer ohne ausdrueckliche Erlaubnis
13+
- Einladende und inklusive Sprache verwenden
14+
- Unterschiedliche Standpunkte respektieren
15+
- Konstruktive Kritik sachlich geben und annehmen
16+
- Den Fokus auf die Qualität und Sicherheit des Projekts legen
17+
18+
Nicht akzeptiertes Verhalten:
19+
20+
- Beleidigungen, persönliche Angriffe oder absichtliche Provokation
21+
- Öffentliche oder private Belästigung
22+
- Veröffentlichung privater Informationen ohne ausdrückliche Erlaubnis
23+
- Wiederholtes Stören von Issues, Pull Requests oder Diskussionen
2624

2725
### Durchsetzung
2826

29-
Faelle von missbräuchlichem Verhalten koennen dem Projektteam unter
30-
**lukas@geiger.sh** gemeldet werden. Alle Beschwerden werden geprueft und untersucht.
27+
Melden Sie Vorfälle über nicht öffentliche GitHub-Kanäle an die Repository-Maintainer. Bitte veröffentlichen Sie keine privaten Informationen in öffentlichen Issues. Meldungen werden sachlich geprüft; mögliche Maßnahmen reichen von Moderation über Verwarnung bis zum Ausschluss aus der Projektkommunikation.
3128

3229
---
3330

3431
## English
3532

3633
### Our Pledge
3734

38-
We as members, contributors, and leaders pledge to make participation in our
39-
community a harassment-free experience for everyone, regardless of age, body size,
40-
visible or invisible disability, ethnicity, sex characteristics, gender identity
41-
and expression, level of experience, education, socio-economic status, nationality,
42-
personal appearance, race, religion, or sexual identity and orientation.
35+
We are committed to making participation in this project respectful, factual, and harassment-free, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
4336

4437
### Our Standards
4538

46-
Examples of behavior that contributes to a positive environment:
47-
- Using welcoming and inclusive language
48-
- Being respectful of differing viewpoints and experiences
49-
- Gracefully accepting constructive criticism
50-
- Focusing on what is best for the community
39+
Expected behavior:
40+
41+
- Use welcoming and inclusive language
42+
- Respect different viewpoints
43+
- Give and accept constructive criticism professionally
44+
- Focus on project quality and safety
45+
46+
Unacceptable behavior:
5147

52-
Unacceptable behavior includes:
53-
- Trolling, insulting comments, and personal or political attacks
48+
- Insults, personal attacks, or deliberate provocation
5449
- Public or private harassment
55-
- Publishing others' private information without explicit permission
50+
- Publishing private information without explicit permission
51+
- Repeated disruption of issues, pull requests, or discussions
5652

5753
### Enforcement
5854

59-
Instances of abusive behavior may be reported to the project team at
60-
**lukas@geiger.sh**. All complaints will be reviewed and investigated.
55+
Report incidents to the repository maintainers through non-public GitHub channels. Do not publish private information in public issues. Reports will be reviewed fairly; possible actions range from moderation and warnings to exclusion from project communication.
6156

6257
---
6358

64-
*Basierend auf dem [Contributor Covenant v2.1](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)*
59+
Based on the Contributor Covenant v2.1.

CONTRIBUTING.md

Lines changed: 49 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -2,112 +2,82 @@
22

33
## Deutsch
44

5-
Vielen Dank fuer Ihr Interesse, zu diesem Projekt beizutragen!
5+
Vielen Dank für Ihr Interesse an PythonBox.
66

7-
### Wie Sie beitragen koennen
7+
### Beiträge
88

9-
1. **Bug melden:** Erstellen Sie ein Issue mit dem Label `bug`
10-
2. **Feature vorschlagen:** Erstellen Sie ein Issue mit dem Label `enhancement`
11-
3. **Code beitragen:** Erstellen Sie einen Pull Request
9+
1. Bugs als GitHub Issue mit reproduzierbaren Schritten melden.
10+
2. Feature-Vorschläge als Issue mit erwarteter Nutzung beschreiben.
11+
3. Codeänderungen über Pull Requests einreichen.
1212

1313
### Pull Requests
1414

15-
1. Forken Sie das Repository
16-
2. Erstellen Sie einen Feature-Branch: `git checkout -b feature/mein-feature`
17-
3. Committen Sie Ihre Aenderungen: `git commit -m "Beschreibung der Aenderung"`
18-
4. Pushen Sie den Branch: `git push origin feature/mein-feature`
19-
5. Erstellen Sie einen Pull Request
15+
1. Repository forken.
16+
2. Feature-Branch erstellen: `git checkout -b feature/mein-feature`
17+
3. Änderungen lokal testen.
18+
4. Commit erstellen: `git commit -m "Beschreibung der Änderung"`
19+
5. Branch pushen und Pull Request öffnen.
2020

21-
### Contributor License Agreement (CLA)
21+
### Lokaler Start
2222

23-
<!-- OPTION A: Fuer Projekte mit Dual-Licensing (RPX, etc.) -- diesen Block verwenden -->
24-
Dieses Projekt verwendet ein [Contributor License Agreement (CLA)](CLA.md).
25-
Bei Ihrem ersten Pull Request bestaetigen Sie bitte Ihre Zustimmung durch einen Kommentar:
26-
27-
> I have read and agree to the Contributor License Agreement (CLA).
28-
29-
Sie behalten Ihr Urheberrecht -- das CLA raeumt dem Projektinhaber lediglich Nutzungsrechte ein, die eine flexible Lizenzierung des Gesamtprojekts ermoeglichen.
30-
31-
<!-- OPTION B: Fuer Community-Projekte ohne kommerzielle Plaene -- diesen Block stattdessen verwenden
32-
### Developer Certificate of Origin (DCO)
33-
34-
Dieses Projekt verwendet den [Developer Certificate of Origin (DCO)](https://developercertificate.org/).
35-
Bitte signieren Sie jeden Commit mit `--signoff`:
36-
37-
git commit --signoff -m "Beschreibung der Aenderung"
38-
39-
Damit bestaetigen Sie, dass Sie das Recht haben, den Code unter der Projektlizenz einzureichen.
40-
-->
23+
```bash
24+
git clone https://github.com/dev-bricks/pythonbox.git
25+
cd pythonbox
26+
pip install -r requirements.txt
27+
python PythonBox_v8.py
28+
```
4129

4230
### Code-Richtlinien
4331

44-
- Python: PEP 8 Stil
45-
- Encoding: UTF-8 fuer alle Dateien
46-
- Sprache: Code und Kommentare auf Deutsch oder Englisch
47-
- Keine hardcoded Pfade oder API-Keys
32+
- Python-Code folgt PEP 8.
33+
- GUI-Code nutzt PySide6.
34+
- Dokumente und Quelltexte werden als UTF-8 gespeichert.
35+
- Keine hardcodierten privaten Pfade, Tokens, Passwörter oder API-Keys.
36+
- Interne Dateien wie `AUFGABEN.txt`, Test-Locks, Build-Artefakte und lokale Releases bleiben unversioniert.
37+
- Dokumentation aktualisieren, wenn sich Bedienung, Installation oder Build-Prozess ändern.
4838

49-
### Erste Schritte
39+
### Lizenz
5040

51-
```bash
52-
git clone https://github.com/lukisch/REL_Editor_PythonBox.git
53-
cd REL_Editor_PythonBox
54-
pip install -r requirements.txt
55-
python main.py
56-
```
41+
Mit dem Einreichen eines Pull Requests bestätigen Sie, dass Sie die Rechte an Ihrem Beitrag besitzen und ihn unter der MIT-Lizenz dieses Projekts bereitstellen können.
5742

5843
---
5944

6045
## English
6146

62-
Thank you for your interest in contributing to this project!
47+
Thank you for your interest in PythonBox.
6348

64-
### How to Contribute
49+
### Contributions
6550

66-
1. **Report bugs:** Create an issue with the `bug` label
67-
2. **Suggest features:** Create an issue with the `enhancement` label
68-
3. **Contribute code:** Create a Pull Request
51+
1. Report bugs as GitHub issues with reproducible steps.
52+
2. Describe feature requests as issues with the expected workflow.
53+
3. Submit code changes through pull requests.
6954

7055
### Pull Requests
7156

72-
1. Fork the repository
57+
1. Fork the repository.
7358
2. Create a feature branch: `git checkout -b feature/my-feature`
74-
3. Commit your changes: `git commit -m "Description of change"`
75-
4. Push the branch: `git push origin feature/my-feature`
76-
5. Create a Pull Request
59+
3. Test the changes locally.
60+
4. Commit: `git commit -m "Description of change"`
61+
5. Push the branch and open a pull request.
7762

78-
### Contributor License Agreement (CLA)
63+
### Local Setup
7964

80-
<!-- OPTION A: For projects with dual licensing (RPX, etc.) -->
81-
This project uses a [Contributor License Agreement (CLA)](CLA.md).
82-
On your first pull request, please confirm your agreement by commenting:
83-
84-
> I have read and agree to the Contributor License Agreement (CLA).
85-
86-
You retain your copyright -- the CLA only grants the project owner usage rights that enable flexible licensing of the overall project.
87-
88-
<!-- OPTION B: For community projects without commercial plans
89-
### Developer Certificate of Origin (DCO)
90-
91-
This project uses the [Developer Certificate of Origin (DCO)](https://developercertificate.org/).
92-
Please sign off every commit with `--signoff`:
93-
94-
git commit --signoff -m "Description of change"
95-
96-
This certifies that you have the right to submit the code under the project license.
97-
-->
65+
```bash
66+
git clone https://github.com/dev-bricks/pythonbox.git
67+
cd pythonbox
68+
pip install -r requirements.txt
69+
python PythonBox_v8.py
70+
```
9871

9972
### Code Guidelines
10073

101-
- Python: PEP 8 style
102-
- Encoding: UTF-8 for all files
103-
- Language: Code and comments in German or English
104-
- No hardcoded paths or API keys
74+
- Follow PEP 8 for Python code.
75+
- Use PySide6 for GUI code.
76+
- Store documents and source files as UTF-8.
77+
- Do not commit private paths, tokens, passwords, or API keys.
78+
- Keep internal task files, test locks, build artifacts, and local releases out of Git.
79+
- Update documentation when usage, installation, or build behavior changes.
10580

106-
### Getting Started
81+
### License
10782

108-
```bash
109-
git clone https://github.com/lukisch/REL_Editor_PythonBox.git
110-
cd REL_Editor_PythonBox
111-
pip install -r requirements.txt
112-
python main.py
113-
```
83+
By submitting a pull request, you confirm that you have the rights to your contribution and can provide it under this project's MIT license.

PythonBox.ico

112 KB
Binary file not shown.

PythonBox_v8.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3573,9 +3573,15 @@ def run_external_tool(self, path):
35733573

35743574
def main():
35753575
app = QApplication(sys.argv)
3576+
icon_path = Path(__file__).with_name("PythonBox.ico")
3577+
icon = QIcon(str(icon_path)) if icon_path.exists() else QIcon()
3578+
if not icon.isNull():
3579+
app.setWindowIcon(icon)
35763580
set_dark_theme(app)
35773581

35783582
window = PythonArchitect()
3583+
if not icon.isNull():
3584+
window.setWindowIcon(icon)
35793585
window.show()
35803586

35813587
sys.exit(app.exec())

0 commit comments

Comments
 (0)