merkle-tree-stream/merkle_tree_stream/__init__.py
Luke Murphy 065eb1fdac
Focus on Iterator protocol - tests passing!
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.
2019-08-01 17:21:28 +02:00

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'