Skip to main content

LQFT Engine: Full CRUD Support (v4.5 Stable)

Project description

Log-Quantum Fractal Tree (LQFT) 🚀

📌 Project Overview

The Log-Quantum Fractal Tree (LQFT) is a high-performance, scale-invariant data structure engine designed for massive data deduplication and persistent state management.

It synthesizes Hash Array Mapped Trie (HAMT) routing with Merkle-DAG structural folding to provide:

  • Deterministic ( O(1) ) search latency
  • Sub-linear ( O(\Sigma) ) space complexity

By offloading core associative logic to a native C extension (v4.4), the LQFT bypasses the Python Global Interpreter Lock (GIL) and achieves significant memory reduction for versioned, redundant, or patterned datasets.


🧠 Core Architecture

1. Scale-Invariant Time Complexity: ( O(1) )

  • The LQFT utilizes a fixed 64-bit hash space partitioned into 13 levels.
  • Unlike standard balanced trees that grow in height as data increases ( O(\log N) ), the LQFT's pathing is physically capped.

Key Properties:

  • Deterministic Latency: Every search or insertion requires exactly 13 pointer hops.
  • Scale-Invariance: Performance remains constant whether the dataset contains ( 10^3 ) or ( 10^9 ) items.

2. Entropy-Based Space Complexity: ( O(\Sigma) )

Using a global C-Registry, the engine implements structural interning.
Nodes are identified by the cryptographic hash of their contents and child pointers (Merkle-DAG).

Key Mechanisms:

  • Structural Folding: Identical sub-trees are shared physically in memory across different branches or versions.
  • Efficient Versioning: Saving a new version of a state-space requires only ( O(\log N) ) new nodes (the path to the change), while the remainder is shared with previous versions.

🚀 Performance Benchmarks

Metric Result
Environment Python 3.12 | GCC -O3 (Native C-Extension)
Search Latency (p50) ~500 ns
Read Throughput ~1.8 Million ops/sec
Space Efficiency Up to 1,500× reduction in versioned graph simulations
Stability Zero-drift memory reclamation via Dynamic C-Registry

🛠️ Getting Started

Installation

The engine requires a C compiler (GCC/MinGW or MSVC) to build the native extension.

# Clone the repository
git clone https://github.com/ParjadM/Log-Quantum-Fractal-Tree-LQFT-
cd Log-Quantum-Fractal-Tree-LQFT-

# Build the native C-extension
python setup.py build_ext --inplace

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

lqft_python_engine-0.1.9.tar.gz (9.1 kB view details)

Uploaded Source

Built Distributions

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

lqft_python_engine-0.1.9-cp312-cp312-win_amd64.whl (16.2 kB view details)

Uploaded CPython 3.12Windows x86-64

lqft_python_engine-0.1.9-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

lqft_python_engine-0.1.9-cp312-cp312-macosx_11_0_arm64.whl (12.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

lqft_python_engine-0.1.9-cp312-cp312-macosx_10_9_x86_64.whl (12.9 kB view details)

Uploaded CPython 3.12macOS 10.9+ x86-64

lqft_python_engine-0.1.9-cp311-cp311-win_amd64.whl (16.2 kB view details)

Uploaded CPython 3.11Windows x86-64

lqft_python_engine-0.1.9-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

lqft_python_engine-0.1.9-cp311-cp311-macosx_11_0_arm64.whl (12.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

lqft_python_engine-0.1.9-cp311-cp311-macosx_10_9_x86_64.whl (12.9 kB view details)

Uploaded CPython 3.11macOS 10.9+ x86-64

lqft_python_engine-0.1.9-cp310-cp310-win_amd64.whl (16.2 kB view details)

Uploaded CPython 3.10Windows x86-64

lqft_python_engine-0.1.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.0 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

lqft_python_engine-0.1.9-cp310-cp310-macosx_11_0_arm64.whl (12.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

lqft_python_engine-0.1.9-cp310-cp310-macosx_10_9_x86_64.whl (12.9 kB view details)

Uploaded CPython 3.10macOS 10.9+ x86-64

lqft_python_engine-0.1.9-cp39-cp39-win_amd64.whl (16.3 kB view details)

Uploaded CPython 3.9Windows x86-64

lqft_python_engine-0.1.9-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

lqft_python_engine-0.1.9-cp39-cp39-macosx_11_0_arm64.whl (12.9 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

lqft_python_engine-0.1.9-cp39-cp39-macosx_10_9_x86_64.whl (12.9 kB view details)

Uploaded CPython 3.9macOS 10.9+ x86-64

lqft_python_engine-0.1.9-cp38-cp38-win_amd64.whl (16.2 kB view details)

Uploaded CPython 3.8Windows x86-64

lqft_python_engine-0.1.9-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (23.9 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

lqft_python_engine-0.1.9-cp38-cp38-macosx_11_0_arm64.whl (13.1 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

lqft_python_engine-0.1.9-cp38-cp38-macosx_10_9_x86_64.whl (13.0 kB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

File details

Details for the file lqft_python_engine-0.1.9.tar.gz.

File metadata

  • Download URL: lqft_python_engine-0.1.9.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for lqft_python_engine-0.1.9.tar.gz
Algorithm Hash digest
SHA256 c94d2804557a93acfec7354926494560885c89e06f385412b129714668d42068
MD5 25b1773248fba0a89130dab3b74f2872
BLAKE2b-256 64c54f643179b433d10bf84774d6a2452f15fc88530b08db82b2474a0d706b29

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 91095b70f782cedf48fb142da26a10dde06d78b6c50995dd7febca939dea56a3
MD5 b138c8be75707836a25d6992c50f1a49
BLAKE2b-256 ee96e6d1dfc4bb312435fc9759fa295c9115bbf4a2e9324e414d3a15cae82ae5

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 006ecda1a603de96335df50848b01c07ccf60f5a0a560fab5e5fb871c42f864a
MD5 636f1dd50f83d9f42a9e561a68e3a917
BLAKE2b-256 60fb30e3d3809f6598d758741c52cde719b723bd36b8dfac9b7ab3aa98baa8f0

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 70d58bd694e40da17bfafbde539937bd450ecf68b4e3b5c6e962295f03739b71
MD5 e0f9e018d4f5039c288728dffbc75ce2
BLAKE2b-256 88f67120e2716c65d2a8571dfe0b0857861c5898127ac904aee18a5dde66a974

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp312-cp312-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp312-cp312-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 45b3156f83a0fa53d5f9fc490e9994afce11d32c4f464f882efb6c7d44eb2450
MD5 ce577d8ce4ca5f85e81f7c1dbcea41cd
BLAKE2b-256 8bc38b9660453e83073d747943e4bbe856b08a918a7370a9962c29848ec9314c

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c2e01d7279d60385d2e73d07ef4eb6da9a157fda88afcaab8bfe77489227024c
MD5 edba47cd13274e70b984e8159a599f66
BLAKE2b-256 3c7c26c9289933effcd2de76d318c6eac54c8c9b7887bec9e12f793d0efdfb1a

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7d26266015e702400fe09ba7507d2cd5eb6f012823fb75dab0629ae8f8de7bf8
MD5 f1abcbc9a189e4001b4584e39ec1ca26
BLAKE2b-256 42dadc386cd3dbded965b4b1a97c4748c414ee41ca3c2321e53882689dbe2747

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 954a8243db7d18098e857885808123e9efa1b949b8bfe7f4d568b9ea984bf4d6
MD5 4a7c5bb8bbd823a9412dfbc0be1ab73e
BLAKE2b-256 d9e1f5957d67d40771c7b4a64289e4d7c17fc9ab6a6650186c02423e803a77ef

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1a0a1ad84ad403b192fbcc92847230e939dde8cb156fc79f30f9a781b9cec4e0
MD5 55d8fd66827f0aa56a4cee6579893356
BLAKE2b-256 2042bd20e0b2e8a492e203ac78568d53ca0649e47b96b552f458548fd83652d7

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0d67239b17cfafce53ab47af3b3c0acf8238c164f3ef64d578cfdc847863d2bc
MD5 bcff55494bfe70fd2bd29145959b9b34
BLAKE2b-256 11f9bbe03d498cd1edae2d2d8a073fbd2b628eea5ea1eeceedf6ad85c527238c

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52693ca10d0bb1aa0787565abac1ebdd224e4a40ec225232f891cb66e259d6bc
MD5 fee44afccd8354b2b6730ac7dc4857cc
BLAKE2b-256 8087e5999feb77682dcfc48f2567d59ef025abb7c2cf73ddcb9d52a78dcc2bd6

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dbf60e73c8297ec316529ecd5ddecccf224cd8240d0f847557fe44e6dd24c339
MD5 834d65ef3f8ebdb168c643e1a7527a55
BLAKE2b-256 59ca4d6e76b9710f238820a526933b937b47e7af168775c634f36ea71f4d749e

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 e2b45d86985a3da0ef9a1df026fe793576753b9254d36b8299a60f156a996a25
MD5 6210e6c7325f3902cce66397b9dc29ed
BLAKE2b-256 1490dea80222137c9695e591187568d03cdcb13409076c7495dbc566ec58766c

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5f8b8a6b1e674a927c6ac12476f539295f17a58efa089d5f667d547ec6f09d38
MD5 08ba73955b96673f22c3d8ebd12ab53f
BLAKE2b-256 29ae4d2aebf184bfa9485fd641f956249472e9c91ff42c942818812c338a2d75

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fde01081e466da35bc413d825299340bc0902e90b372d51db1c2ed87591f4848
MD5 a119483c2bbd05cdbba7ec62bcf2876a
BLAKE2b-256 3278e7d54202d045c939b80e1916aea3e7ffa5284116733cc4b8895989cc0f1a

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7b4a2368fe983e4d0dc882e47300207680e9d0c9e0af3bb1f4544871db4ad550
MD5 0f6d1cc2972ad797ced3ba1c042b1593
BLAKE2b-256 fef6f3b8c8740e21a63c98ba6cac6f87b8120fe7994a6902e0ad5b9c25362b85

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9c9685be7ca112290438009c865ee49045244e2d8755706c2276114d0a9b881e
MD5 53c94ec55490c62f6864bf94b23c44ae
BLAKE2b-256 085930bb61dc6e3fc01f596d986ba8af18d2afa76bd08f5c1ebb23dc3fed4093

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 774be6961cf35ee130a7adbe96e3628ddc8496ed832aa417076c3473c5e204ed
MD5 206862459326d9dd6f8a09e7f8e54132
BLAKE2b-256 ea305af06110ff3d4d45f5e14bdf726fbb06e7e0316160bf95be48d48d3c5a3b

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6f4bbdcfe6d3a031131c5ae2e1484a647e01f75f7d68703499184dde74f90c4c
MD5 4e2e5c3ed7f7e3cda0c1629aee6a16e4
BLAKE2b-256 88c764524eda4fe8bec4b21007ef452c2a12144e64526748701934dd6633478f

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6dee2f84a15bf18af112906dcd1e88c7338c44bd80824b63c48fd4514dd6a15c
MD5 fad90ea453a6f7efc1ad3d1b2b259cff
BLAKE2b-256 1939016a4f08b541551c9c864cab3a3a36cd1f687532e8b6c68bd7a7a295b1d2

See more details on using hashes here.

File details

Details for the file lqft_python_engine-0.1.9-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for lqft_python_engine-0.1.9-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1e2c62a7686b82434a89064252eb8fc92ab2ed83ac0698f05bffdba1009d806c
MD5 729eddfeada4c3bac5d3a575db554194
BLAKE2b-256 f481d69944c928a2418b65a50003d1b72eda059c28b197ba078788b5c386cd98

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