Skip to main content

Utilities for navigating flat trees

Project description

flat-tree

Build Status

Utilities for navigating flat trees

$ pip install flat-tree

Flat Trees are the core data structure that power Hypercore feeds. They allow us to deterministically represent a tree structure as a vector. This is particularly useful because vectors map elegantly to disk and memory. Because Flat Trees are deterministic and pre-computed, there is no overhead to using them. In effect this means that Flat Trees are a specific way of indexing into a vector more than they are their own data structure. This makes them uniquely efficient and convenient to implement in a wide range of languages.

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

flat-tree-0.0.1a6.tar.gz (16.0 kB view details)

Uploaded Source

Built Distribution

flat_tree-0.0.1a6-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

Details for the file flat-tree-0.0.1a6.tar.gz.

File metadata

  • Download URL: flat-tree-0.0.1a6.tar.gz
  • Upload date:
  • Size: 16.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.8.0 Linux/4.9.0-12-amd64

File hashes

Hashes for flat-tree-0.0.1a6.tar.gz
Algorithm Hash digest
SHA256 a5ae026e6810832bd20173bcfc361de44224e96651a0516e7379d64e0e121a63
MD5 3ee6f640e2a77fd35ad87648042618e7
BLAKE2b-256 421b8208f3b65d5c53c251f4124099943f1dd3f4c19620a7356c0f5c4b3e00c0

See more details on using hashes here.

File details

Details for the file flat_tree-0.0.1a6-py3-none-any.whl.

File metadata

  • Download URL: flat_tree-0.0.1a6-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.9 CPython/3.8.0 Linux/4.9.0-12-amd64

File hashes

Hashes for flat_tree-0.0.1a6-py3-none-any.whl
Algorithm Hash digest
SHA256 dc2c8627d7dca44d49b22ffe648da87e38a0e0fffba289c1468c5a9cdd5a42c6
MD5 405bebf3c63e62fd94b1bb432a8a4da7
BLAKE2b-256 7faec70053f925a03eabaf5b41b37bc992d1c8987e6763363e0167a1f4e41172

See more details on using hashes here.

Supported by

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