Skip to main content

Modular structural-based dynamics on networks.

Project description

TNFR Python Engine

Model reality as coherent resonance, not isolated objects

PyPI Python License Documentation

TNFR (Resonant Fractal Nature Theory) is a physics-grounded computational paradigm: reality is modeled as coherent patterns that persist through resonance. Structures reorganize according to the nodal equation (∂EPI/∂t = νf · ΔNFR) under canonical grammar constraints (U1–U6) and invariants.


Quick Install

pip install tnfr

Optional GPU / extras: see Getting Started.

Minimal Example

from tnfr.sdk import TNFRNetwork
net = TNFRNetwork("hello")
summary = (net.add_nodes(8)
             .connect_nodes(0.35, "random")
             .apply_sequence("basic_activation", repeat=2)
             .measure().summary())
print(summary)

Primary Documentation Hubs

📚 DOCUMENTATION_INDEX.md - Complete documentation map and navigation guide

📖 CANONICAL_SOURCES.md - Documentation hierarchy (which source is authoritative for what)

🔢 TNFR Number Theory Guide - ΔNFR prime criterion, arithmetic UM/RA mapping, and structural fields in number theory

Quick Navigation

  • Getting Started: docs/source/getting-started/README.md - Tutorials & first steps
  • Learning Paths: docs/source/getting-started/LEARNING_PATHS.md - Guided learning sequences
  • Grammar System: docs/grammar/README.md - U1-U6 constraints hub
  • Glossary: GLOSSARY.md - Canonical term definitions
  • AI Agent Guide: AGENTS.md - Invariants & philosophy
  • Architecture: ARCHITECTURE.md - System design patterns
  • Contributing: CONTRIBUTING.md | Tests: TESTING.md

🧬 Revolutionary Breakthrough: Chemistry from TNFR ⭐

Complete molecular chemistry emerges from TNFR's single nodal equation - no additional postulates needed.

🏛️ MOLECULAR_CHEMISTRY_HUB.md - Central navigation for the chemistry revolution

Key Discoveries:

  • Chemical bonds → Phase synchronization (U3 verification)
  • Chemical reactions → Operator sequences [OZ→ZHIR→UM→IL]
  • Molecular geometry → ΔNFR minimization
  • Periodic table → Element signature classification
  • Au emergence → Coherent attractors from structural dynamics

Implementation: tnfr.physics.signatures | Theory: Complete 12-section derivation | Tests: 19/19 ✅


Core References

Extended examples: examples/ (multi-scale, regenerative, performance)
CLI & profiling: docs/source/tools/CLI.md


Key Principles (Snapshot)

Module Hubs

These module READMEs act as single sources of truth for their areas and defer theory to the canonical hubs above. All documentation is English-only.


Citation & License

MIT License – see LICENSE.md. Please cite: fermga/TNFR-Python-Engine and theoretical sources (TNFR.pdf, Mathematical Foundations).


Useful Links


Reality is not made of things—it's made of resonance.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tnfr-9.0.1.tar.gz (798.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tnfr-9.0.1-py3-none-any.whl (963.2 kB view details)

Uploaded Python 3

File details

Details for the file tnfr-9.0.1.tar.gz.

File metadata

  • Download URL: tnfr-9.0.1.tar.gz
  • Upload date:
  • Size: 798.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for tnfr-9.0.1.tar.gz
Algorithm Hash digest
SHA256 d4fb9a3fdcf597c66074db688ee2623f64842c2ae9f7ab38866d845986e6209b
MD5 73984f7e4155ccf4862f2ee13733e296
BLAKE2b-256 0653006111d140ee618b1435bbd57f17f4873d6c8fbbd961e3704ef990bf0c78

See more details on using hashes here.

File details

Details for the file tnfr-9.0.1-py3-none-any.whl.

File metadata

  • Download URL: tnfr-9.0.1-py3-none-any.whl
  • Upload date:
  • Size: 963.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.6

File hashes

Hashes for tnfr-9.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 be5ff76d0f63a81c4c0f6ae6b6d446631c2a34cb91174ecf2fcdfe5803b0c61c
MD5 967334f7720e0b17247fe785945980e0
BLAKE2b-256 ec5fe66f266fbb173bf9f8efe77769eafdcbe49e228d4d710e5f181e80c355bf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page