Skip to main content

gridtree

Generalized quadtree.

Installation

pip install gridtree

Usage

TODO: expand

points : Collection[tuple[NormalizedFloat, ...]] # between 0 and 1 inclusive

tree = GTree(max_leaf_size=2)(points)
tree_as_list = GTreeList(max_leaf_size=2)(points)
tree_as_list = GTreeList.gtree_to_list(tree)

Examples

TODO

Release files for gridtree 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gridtree 0.1.0
File Size Uploaded
gridtree-0.1.0.tar.gz 4.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gridtree 0.1.0
File Interpreter ABI Platform
gridtree-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.2 kB

Release files / gridtree-0.1.0.tar.gz

Download URL gridtree-0.1.0.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
469a418b852ca533e6bc80e6397baccfa0761c09b0a30aeeca90ec3eccd29bb8
BLAKE2b-256 checksum
How to use checksums
c62616258356618fd848a1b188863bf0575ad707b98c72366d4b2f2cf43eb6f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.5 Linux/5.8.0-50-generic

Release files / gridtree-0.1.0-py3-none-any.whl

Download URL gridtree-0.1.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9d25fb5f0312f28617807deb8f9088621ba61d048aa6630fd084702cafff382c
BLAKE2b-256 checksum
How to use checksums
3310193aa738a67abd061dea93cccff1873cd95787ecdea8f34a932e6b3e9e1b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.8.5 Linux/5.8.0-50-generic

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page