tnfr 3.0.2__tar.gz → 3.0.3__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.
Potentially problematic release.
This version of tnfr might be problematic. Click here for more details.
- {tnfr-3.0.2 → tnfr-3.0.3}/PKG-INFO +1 -1
- {tnfr-3.0.2 → tnfr-3.0.3}/pyproject.toml +1 -1
- tnfr-3.0.3/src/tnfr/__init__.py +56 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr.egg-info/PKG-INFO +1 -1
- tnfr-3.0.2/src/tnfr/__init__.py +0 -52
- {tnfr-3.0.2 → tnfr-3.0.3}/LICENSE.txt +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/README.md +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/setup.cfg +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr/constants.py +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr/dynamics.py +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr/helpers.py +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr/main.py +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr/observers.py +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr/ontosim.py +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr/operators.py +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr.egg-info/SOURCES.txt +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr.egg-info/dependency_links.txt +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr.egg-info/requires.txt +0 -0
- {tnfr-3.0.2 → tnfr-3.0.3}/src/tnfr.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
"""
|
|
3
|
+
TNFR — Teoría de la Naturaleza Fractal Resonante
|
|
4
|
+
API pública del paquete.
|
|
5
|
+
|
|
6
|
+
Ecuación nodal:
|
|
7
|
+
∂EPI/∂t = νf · ΔNFR(t)
|
|
8
|
+
"""
|
|
9
|
+
|
|
10
|
+
__version__ = "3.0.3"
|
|
11
|
+
|
|
12
|
+
import sys as _sys
|
|
13
|
+
|
|
14
|
+
# ------------------------------------------------------------
|
|
15
|
+
# 1) Crear alias para módulos con imports absolutos entre sí
|
|
16
|
+
# (los submódulos usan cosas tipo `from constants import ...`)
|
|
17
|
+
# Por eso registramos primero: constants → helpers → operators → observers
|
|
18
|
+
# ------------------------------------------------------------
|
|
19
|
+
from . import constants as _constants
|
|
20
|
+
_sys.modules.setdefault("constants", _constants)
|
|
21
|
+
|
|
22
|
+
from . import helpers as _helpers
|
|
23
|
+
_sys.modules.setdefault("helpers", _helpers)
|
|
24
|
+
|
|
25
|
+
from . import operators as _operators
|
|
26
|
+
_sys.modules.setdefault("operators", _operators)
|
|
27
|
+
|
|
28
|
+
from . import observers as _observers
|
|
29
|
+
_sys.modules.setdefault("observers", _observers)
|
|
30
|
+
|
|
31
|
+
# ------------------------------------------------------------
|
|
32
|
+
# 2) IMPORTAR dynamics y ALIAS antes de ontosim
|
|
33
|
+
# (porque ontosim hace `from dynamics import ...`)
|
|
34
|
+
# ------------------------------------------------------------
|
|
35
|
+
from . import dynamics as _dynamics
|
|
36
|
+
_sys.modules.setdefault("dynamics", _dynamics)
|
|
37
|
+
|
|
38
|
+
# ------------------------------------------------------------
|
|
39
|
+
# 3) Ahora sí, importar ontosim y alias
|
|
40
|
+
# ------------------------------------------------------------
|
|
41
|
+
from . import ontosim as _ontosim
|
|
42
|
+
_sys.modules.setdefault("ontosim", _ontosim)
|
|
43
|
+
|
|
44
|
+
# ------------------------------------------------------------
|
|
45
|
+
# 4) Re-exports de la API pública
|
|
46
|
+
# ------------------------------------------------------------
|
|
47
|
+
from .dynamics import step, run, set_delta_nfr_hook
|
|
48
|
+
from .ontosim import preparar_red
|
|
49
|
+
from .observers import attach_standard_observer, coherencia_global, orden_kuramoto
|
|
50
|
+
|
|
51
|
+
__all__ = [
|
|
52
|
+
"preparar_red",
|
|
53
|
+
"step", "run", "set_delta_nfr_hook",
|
|
54
|
+
"attach_standard_observer", "coherencia_global", "orden_kuramoto",
|
|
55
|
+
"__version__",
|
|
56
|
+
]
|
tnfr-3.0.2/src/tnfr/__init__.py
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
from __future__ import annotations
|
|
2
|
-
"""
|
|
3
|
-
TNFR — Teoría de la Naturaleza Fractal Resonante
|
|
4
|
-
API pública del paquete.
|
|
5
|
-
|
|
6
|
-
Ecuación nodal:
|
|
7
|
-
∂EPI/∂t = νf · ΔNFR(t)
|
|
8
|
-
"""
|
|
9
|
-
|
|
10
|
-
__version__ = "3.0.2"
|
|
11
|
-
|
|
12
|
-
# -------------------------------------------------------------------
|
|
13
|
-
# 1) Registrar alias en sys.modules ANTES de cargar submódulos que
|
|
14
|
-
# hacen imports absolutos (p.ej. `from constants import ...`).
|
|
15
|
-
# Orden: constants -> helpers -> operators -> observers
|
|
16
|
-
# Luego: dynamics / ontosim (que dependen de los anteriores)
|
|
17
|
-
# -------------------------------------------------------------------
|
|
18
|
-
import sys as _sys
|
|
19
|
-
|
|
20
|
-
# 1.a constants (no depende de helpers/otros)
|
|
21
|
-
from . import constants as _constants
|
|
22
|
-
_sys.modules.setdefault("constants", _constants)
|
|
23
|
-
|
|
24
|
-
# 1.b helpers (usa: from constants import ...)
|
|
25
|
-
from . import helpers as _helpers
|
|
26
|
-
_sys.modules.setdefault("helpers", _helpers)
|
|
27
|
-
|
|
28
|
-
# 1.c operators (usa: from constants/helpers import ...)
|
|
29
|
-
from . import operators as _operators
|
|
30
|
-
_sys.modules.setdefault("operators", _operators)
|
|
31
|
-
|
|
32
|
-
# 1.d observers (usa: from constants/helpers import ...)
|
|
33
|
-
from . import observers as _observers
|
|
34
|
-
_sys.modules.setdefault("observers", _observers)
|
|
35
|
-
|
|
36
|
-
# 2) dynamics / ontosim (ya con alias creados)
|
|
37
|
-
from . import dynamics as _dynamics
|
|
38
|
-
from . import ontosim as _ontosim
|
|
39
|
-
_sys.modules.setdefault("dynamics", _dynamics)
|
|
40
|
-
_sys.modules.setdefault("ontosim", _ontosim)
|
|
41
|
-
|
|
42
|
-
# 3) Re-exports de la API pública
|
|
43
|
-
from .dynamics import step, run, set_delta_nfr_hook
|
|
44
|
-
from .ontosim import preparar_red
|
|
45
|
-
from .observers import attach_standard_observer, coherencia_global, orden_kuramoto
|
|
46
|
-
|
|
47
|
-
__all__ = [
|
|
48
|
-
"preparar_red",
|
|
49
|
-
"step", "run", "set_delta_nfr_hook",
|
|
50
|
-
"attach_standard_observer", "coherencia_global", "orden_kuramoto",
|
|
51
|
-
"__version__",
|
|
52
|
-
]
|
|
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
|