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.0.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.0-py3-none-any.whl (963.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tnfr-9.0.0.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.0.tar.gz
Algorithm Hash digest
SHA256 02eecd5e252a9240ba60f5fc7a3b10a20b11e3dbd0c0dbbb456a4392f762c83d
MD5 10768668182aed2973a9ca7fe38b0488
BLAKE2b-256 f6f536dbca0959723a680805858ac2bac82db334740d5b4194b3229bd36e4882

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tnfr-9.0.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 476d2525815510d887c71455a2dc8dced5463575d9f266f18500d6990f62f0c5
MD5 0c6ca0aefe48cc89710782ad7e3e65b3
BLAKE2b-256 baa9e4fd543c9d2ed5f75e47d1c0e9d8a93f0f14d5618e55e317fb6825e6ec09

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