this repo has no description
0
fork

Configure Feed

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

clear out __init__.py

+22 -17
+1 -1
.github/workflows/build-docs.yml
··· 18 18 - name: Build the docs 19 19 run: | 20 20 cd ./docs/ 21 - sphinx-apidoc -f -o _apidocs/ ../src/atmst 21 + sphinx-apidoc -f -o _apidocs/ ../src/atmst ../src/atmst/all.py 22 22 make html 23 23 - name: Archive generated docs 24 24 uses: actions/upload-artifact@v4
+1 -1
README.md
··· 30 30 31 31 ``` 32 32 cd docs/ 33 - sphinx-apidoc -f -o _apidocs/ ../src/atmst # not sure if this is needed every time 33 + sphinx-apidoc -f -o _apidocs/ ../src/atmst ../src/atmst/all.py 34 34 make html 35 35 # open _build/html/index.html 36 36 ```
+1 -1
mst_bench.py
··· 1 1 import random 2 - from atmst import MemoryBlockStore, NodeStore, NodeWrangler 2 + from atmst.all import MemoryBlockStore, NodeStore, NodeWrangler 3 3 from atmst.util import hash_to_cid 4 4 import time 5 5
+1 -1
mst_test.py
··· 1 1 import random 2 - from atmst import MemoryBlockStore, NodeStore, NodeWrangler, mst_diff, very_slow_mst_diff 2 + from atmst.all import MemoryBlockStore, NodeStore, NodeWrangler, mst_diff, very_slow_mst_diff 3 3 from atmst.util import hash_to_cid 4 4 import time 5 5
-12
src/atmst/__init__.py
··· 1 - from .blockstore import BlockStore, MemoryBlockStore 2 - from .blockstore.car_reader import ReadOnlyCARBlockStore 3 - from .mst.node_walker import NodeWalker 4 - from .mst.node_store import NodeStore 5 - from .mst.node_wrangler import NodeWrangler 6 - from .mst.diff import mst_diff, very_slow_mst_diff, record_diff 7 - 8 - __all__ = [ 9 - "BlockStore", "MemoryBlockStore", "ReadOnlyCARBlockStore", 10 - "NodeWalker", "NodeStore", "NodeWrangler", 11 - "mst_diff", "very_slow_mst_diff", "record_diff", 12 - ]
+17
src/atmst/all.py
··· 1 + """ 2 + This module collects "all" the commonly needed imports into a single import. 3 + It might be convenient. I might get rid of it. 4 + """ 5 + 6 + from .blockstore import BlockStore, MemoryBlockStore 7 + from .blockstore.car_reader import ReadOnlyCARBlockStore 8 + from .mst.node_walker import NodeWalker 9 + from .mst.node_store import NodeStore 10 + from .mst.node_wrangler import NodeWrangler 11 + from .mst.diff import mst_diff, very_slow_mst_diff, record_diff 12 + 13 + __all__ = [ 14 + "BlockStore", "MemoryBlockStore", "ReadOnlyCARBlockStore", 15 + "NodeWalker", "NodeStore", "NodeWrangler", 16 + "mst_diff", "very_slow_mst_diff", "record_diff", 17 + ]
+1 -1
tests/test_mst_diff.py
··· 1 1 import unittest 2 2 3 - from atmst import MemoryBlockStore, NodeStore, NodeWrangler, mst_diff, very_slow_mst_diff 3 + from atmst.all import MemoryBlockStore, NodeStore, NodeWrangler, mst_diff, very_slow_mst_diff 4 4 from atmst.mst.node import MSTNode 5 5 from atmst.util import hash_to_cid 6 6