065eb1fdac
Too much naming copy/pasta will probably confuse Python programmers when we have generator/iterators and I suppose we have streams but that is just so generic that it won't help. So, better make it explicit that this is an iterator. It also seems to the fit the usage of the other implementors.
18 lines
322 B
Python
18 lines
322 B
Python
"""merkle-tree-stream module."""
|
|
|
|
from merkle_tree_stream.generate import ( # noqa
|
|
MerkleTreeIterator,
|
|
MerkleTreeNode,
|
|
)
|
|
|
|
try:
|
|
import pkg_resources
|
|
except ImportError:
|
|
pass
|
|
|
|
|
|
try:
|
|
__version__ = pkg_resources.get_distribution('merkle_tree_stream').version
|
|
except Exception:
|
|
__version__ = 'unknown'
|