this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

add some cool readme badges

+12 -7
+1 -1
.gitignore
··· 160 160 #.idea/ 161 161 162 162 # apidoc generated docs 163 - docs/source/ 163 + docs/_apidocs/
+4 -2
README.md
··· 1 + ![Static Badge](https://img.shields.io/badge/works%20on%20my%20machine-green) ![Static Badge](https://img.shields.io/badge/test%20coverage-0%25-green) ![Static Badge](https://img.shields.io/badge/docs-maybe%20one%20day-green) ![Static Badge](https://img.shields.io/badge/cryptography-certified%20hand--rolled-green) 2 + 1 3 # atmst 2 4 A Python library for wrangling atproto-flavoured Merkle Search Trees 3 5 4 - Current status: prototype 6 + Current status: ⚠️ prototype ⚠️ 5 7 6 8 ### Installation 7 9 ··· 21 23 22 24 ``` 23 25 cd docs/ 24 - sphinx-apidoc -o source/ ../src/atmst 26 + sphinx-apidoc -f -o _apidocs/ ../src/atmst # not sure if this is needed every time 25 27 make html 26 28 # open _build/html/index.html 27 29 ```
+2
docs/index.rst
··· 5 5 :maxdepth: 2 6 6 :caption: Contents: 7 7 8 + _apidocs/modules 9 + 8 10 Indices and tables 9 11 ================== 10 12
+5 -4
src/atmst/mst.py
··· 377 377 378 378 Walking "off the end" of a subtree brings you back up to its next non-empty parent. 379 379 380 - Recall MSTNode layout: 380 + Recall MSTNode layout: :: 381 + 382 + keys: (lkey) (0, 1, 2, 3) (rkey) 383 + vals: (0, 1, 2, 3) 384 + subtrees: (0, 1, 2, 3, 4) 381 385 382 - keys: (lkey) (0, 1, 2, 3) (rkey) 383 - vals: (0, 1, 2, 3) 384 - subtrees: (0, 1, 2, 3, 4) 385 386 """ 386 387 KEY_MIN = "" # string that compares less than all legal key strings 387 388 KEY_MAX = "\xff" # string that compares greater than all legal key strings