A Python library for interacting and working with the Woop blockchain.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
pywiki/pyhmy/__init__.py

19 lines
585 B

"""
`pyhmy` for interacting with the Harmony blockchain
"""
import sys
import warnings
from ._version import __version__
if sys.version_info.major < 3:
warnings.simplefilter("always", DeprecationWarning)
warnings.warn(
DeprecationWarning("`pyhmy` does not support Python 2. Please use Python 3.")
)
warnings.resetwarnings()
if sys.platform.startswith("win32") or sys.platform.startswith("cygwin"):
warnings.simplefilter("always", ImportWarning)
warnings.warn(ImportWarning("`pyhmy` does not work on Windows or Cygwin."))
warnings.resetwarnings()