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.
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/PKG-INFO +4 -4
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/README.md +3 -3
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/cli.py +28 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/core.py +1 -1
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity.egg-info/PKG-INFO +4 -4
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/pyproject.toml +1 -1
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/LICENSE +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/__init__.py +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/__main__.py +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/analyseur.py +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/metriques.py +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity/rapport.py +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity.egg-info/SOURCES.txt +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity.egg-info/dependency_links.txt +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity.egg-info/entry_points.txt +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/phi_complexity.egg-info/top_level.txt +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/setup.cfg +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/tests/test_analyseur.py +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/tests/test_cli.py +0 -0
- {phi_complexity-0.1.0 → phi_complexity-0.1.2}/tests/test_core.py +0 -0
- {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.
|
|
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
|
[](https://pypi.org/project/phi-complexity/)
|
|
32
32
|
[](https://www.python.org/downloads/)
|
|
33
|
-
[](LICENSE)
|
|
34
|
-
[](tests
|
|
33
|
+
[](https://github.com/spockoo/phi-complexity/blob/main/LICENSE)
|
|
34
|
+
[](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
|
[](https://pypi.org/project/phi-complexity/)
|
|
6
6
|
[](https://www.python.org/downloads/)
|
|
7
|
-
[](LICENSE)
|
|
8
|
-
[](tests
|
|
7
|
+
[](https://github.com/spockoo/phi-complexity/blob/main/LICENSE)
|
|
8
|
+
[](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.
|
|
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.
|
|
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
|
[](https://pypi.org/project/phi-complexity/)
|
|
32
32
|
[](https://www.python.org/downloads/)
|
|
33
|
-
[](LICENSE)
|
|
34
|
-
[](tests
|
|
33
|
+
[](https://github.com/spockoo/phi-complexity/blob/main/LICENSE)
|
|
34
|
+
[](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
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|