phi-complexity 0.1.0__tar.gz → 0.1.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/PKG-INFO +4 -4
  2. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/README.md +3 -3
  3. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/cli.py +28 -0
  4. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/core.py +1 -1
  5. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity.egg-info/PKG-INFO +4 -4
  6. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/pyproject.toml +1 -1
  7. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/LICENSE +0 -0
  8. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/__init__.py +0 -0
  9. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/__main__.py +0 -0
  10. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/analyseur.py +0 -0
  11. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/metriques.py +0 -0
  12. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/rapport.py +0 -0
  13. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity.egg-info/SOURCES.txt +0 -0
  14. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity.egg-info/dependency_links.txt +0 -0
  15. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity.egg-info/entry_points.txt +0 -0
  16. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity.egg-info/top_level.txt +0 -0
  17. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/setup.cfg +0 -0
  18. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/tests/test_analyseur.py +0 -0
  19. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/tests/test_cli.py +0 -0
  20. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/tests/test_core.py +0 -0
  21. {phi_complexity-0.1.0 → phi_complexity-0.1.2}/tests/test_rapport.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: phi-complexity
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Code quality metrics based on Golden Ratio (φ) mathematical invariants
5
5
  Author-email: Tomy Verreault <contact@phidelia.dev>
6
6
  License: MIT
@@ -30,8 +30,8 @@ Dynamic: license-file
30
30
 
31
31
  [![PyPI version](https://img.shields.io/pypi/v/phi-complexity.svg)](https://pypi.org/project/phi-complexity/)
32
32
  [![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
33
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
34
- [![Tests](https://img.shields.io/badge/tests-26%20passed-brightgreen)](tests/)
33
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/spockoo/phi-complexity/blob/main/LICENSE)
34
+ [![Tests](https://img.shields.io/badge/tests-26%20passed-brightgreen)](https://github.com/spockoo/phi-complexity/tree/main/tests)
35
35
 
36
36
  `phi-complexity` is the **first code quality library** that measures the health of your Python code using **universal mathematical invariants** derived from the Golden Ratio (φ = 1.618...).
37
37
 
@@ -144,7 +144,7 @@ The **Sovereign Coding Rules** are derived from:
144
144
  - **The C Book** (Banahan, Brady, Doran) — Scope hermeticity, resource lifecycle
145
145
  - **JaCaMo / Multi-Agent Programming** — Agent independence and encapsulation
146
146
 
147
- Full mathematical proof: [docs/MATHEMATIQUES.md](docs/MATHEMATIQUES.md)
147
+ Full mathematical proof: [docs/MATHEMATIQUES.md](https://github.com/spockoo/phi-complexity/blob/main/docs/MATHEMATIQUES.md)
148
148
 
149
149
  ---
150
150
 
@@ -4,8 +4,8 @@
4
4
 
5
5
  [![PyPI version](https://img.shields.io/pypi/v/phi-complexity.svg)](https://pypi.org/project/phi-complexity/)
6
6
  [![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
7
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
8
- [![Tests](https://img.shields.io/badge/tests-26%20passed-brightgreen)](tests/)
7
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/spockoo/phi-complexity/blob/main/LICENSE)
8
+ [![Tests](https://img.shields.io/badge/tests-26%20passed-brightgreen)](https://github.com/spockoo/phi-complexity/tree/main/tests)
9
9
 
10
10
  `phi-complexity` is the **first code quality library** that measures the health of your Python code using **universal mathematical invariants** derived from the Golden Ratio (φ = 1.618...).
11
11
 
@@ -118,7 +118,7 @@ The **Sovereign Coding Rules** are derived from:
118
118
  - **The C Book** (Banahan, Brady, Doran) — Scope hermeticity, resource lifecycle
119
119
  - **JaCaMo / Multi-Agent Programming** — Agent independence and encapsulation
120
120
 
121
- Full mathematical proof: [docs/MATHEMATIQUES.md](docs/MATHEMATIQUES.md)
121
+ Full mathematical proof: [docs/MATHEMATIQUES.md](https://github.com/spockoo/phi-complexity/blob/main/docs/MATHEMATIQUES.md)
122
122
 
123
123
  ---
124
124
 
@@ -44,6 +44,8 @@ Exemples :
44
44
  report.add_argument("cible", help="Fichier .py à analyser")
45
45
  report.add_argument("--output", "-o", default=None,
46
46
  help="Fichier de sortie (ex: rapport.md)")
47
+
48
+ subparsers.add_parser("fund", help="Soutenir la recherche sur le framework φ-Meta")
47
49
  return parser
48
50
 
49
51
 
@@ -127,6 +129,28 @@ def _nom_rapport(fichier: str, sortie_demandee: str) -> str:
127
129
  return f"RAPPORT_PHI_{base}.md"
128
130
 
129
131
 
132
+ def _executer_fund():
133
+ """Affiche le message de soutien à la recherche souveraine."""
134
+ print("""
135
+ ╔══════════════════════════════════════════════════╗
136
+ ║ PHI-COMPLEXITY — RECHERCHE SOUVERAINE ║
137
+ ╚══════════════════════════════════════════════════╝
138
+
139
+ ☼ Vous trouvez ce code RADIANT ?
140
+ ⚖ Soutenez la recherche sur le framework Φ-META.
141
+
142
+ Votre contribution permet d'étendre les frontières
143
+ de la mathématique algorithmique et de garantir
144
+ la souveraineté des intelligences de demain.
145
+
146
+ 🚀 SOUTENIR : https://github.com/sponsors/spockoo
147
+ ☕ BUY ME A COFFEE : https://www.buymeacoffee.com/spockoo
148
+ ◈ WEB : https://phidelia.dev
149
+
150
+ Merci de participer à la SUTURE universelle. ✦
151
+ """)
152
+
153
+
130
154
  # ────────────────────────────────────────────────────────
131
155
  # POINT D'ENTRÉE (hermétique — orchestre uniquement)
132
156
  # ────────────────────────────────────────────────────────
@@ -140,6 +164,10 @@ def main():
140
164
  parser.print_help()
141
165
  sys.exit(0)
142
166
 
167
+ if args.commande == "fund":
168
+ _executer_fund()
169
+ sys.exit(0)
170
+
143
171
  fichiers = _collecter_fichiers(args.cible)
144
172
  if not fichiers:
145
173
  print(f"❌ Aucun fichier Python trouvé dans : {args.cible}")
@@ -35,7 +35,7 @@ SEUIL_RADIANCE_DORMANT = 0
35
35
  SEQUENCE_FIBONACCI = [1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377]
36
36
  """Première séquence de Fibonacci. Tailles naturelles d'une fonction harmonieuse."""
37
37
 
38
- VERSION = "0.1.0"
38
+ VERSION = "0.1.2"
39
39
  AUTEUR = "Tomy Verreault"
40
40
  FRAMEWORK = "Morphic Phi Framework (φ-Meta)"
41
41
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: phi-complexity
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Code quality metrics based on Golden Ratio (φ) mathematical invariants
5
5
  Author-email: Tomy Verreault <contact@phidelia.dev>
6
6
  License: MIT
@@ -30,8 +30,8 @@ Dynamic: license-file
30
30
 
31
31
  [![PyPI version](https://img.shields.io/pypi/v/phi-complexity.svg)](https://pypi.org/project/phi-complexity/)
32
32
  [![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)
33
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
34
- [![Tests](https://img.shields.io/badge/tests-26%20passed-brightgreen)](tests/)
33
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://github.com/spockoo/phi-complexity/blob/main/LICENSE)
34
+ [![Tests](https://img.shields.io/badge/tests-26%20passed-brightgreen)](https://github.com/spockoo/phi-complexity/tree/main/tests)
35
35
 
36
36
  `phi-complexity` is the **first code quality library** that measures the health of your Python code using **universal mathematical invariants** derived from the Golden Ratio (φ = 1.618...).
37
37
 
@@ -144,7 +144,7 @@ The **Sovereign Coding Rules** are derived from:
144
144
  - **The C Book** (Banahan, Brady, Doran) — Scope hermeticity, resource lifecycle
145
145
  - **JaCaMo / Multi-Agent Programming** — Agent independence and encapsulation
146
146
 
147
- Full mathematical proof: [docs/MATHEMATIQUES.md](docs/MATHEMATIQUES.md)
147
+ Full mathematical proof: [docs/MATHEMATIQUES.md](https://github.com/spockoo/phi-complexity/blob/main/docs/MATHEMATIQUES.md)
148
148
 
149
149
  ---
150
150
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "phi-complexity"
7
- version = "0.1.0"
7
+ version = "0.1.2"
8
8
  description = "Code quality metrics based on Golden Ratio (φ) mathematical invariants"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
File without changes
File without changes