hypercore-crypto/hypercore_crypto/__init__.py

25 lines
385 B
Python
Raw Normal View History

2019-08-07 06:31:30 +00:00
"""hypercore-crypto module."""
from hypercore_crypto.crypto import ( # noqa
data,
discovery_key,
2019-10-05 09:34:57 +00:00
key_pair,
2019-08-07 06:31:30 +00:00
leaf,
parent,
random_bytes,
sign,
tree,
verify,
)
try:
import pkg_resources
except ImportError:
pass
try:
__version__ = pkg_resources.get_distribution("hypercore_crypto").version
2019-08-07 06:31:30 +00:00
except Exception:
__version__ = "unknown"