__init__.py 644 B

1234567891011121314151617
  1. __all__ = ["curves", "der", "ecdsa", "ellipticcurve", "keys", "numbertheory",
  2. "test_pyecdsa", "util", "six"]
  3. from .keys import SigningKey, VerifyingKey, BadSignatureError, BadDigestError
  4. from .curves import NIST192p, NIST224p, NIST256p, NIST384p, NIST521p, SECP256k1
  5. _hush_pyflakes = [SigningKey, VerifyingKey, BadSignatureError, BadDigestError,
  6. NIST192p, NIST224p, NIST256p, NIST384p, NIST521p, SECP256k1]
  7. del _hush_pyflakes
  8. # This code comes from http://github.com/warner/python-ecdsa
  9. try:
  10. from _version import __version__ as v
  11. __version__ = v
  12. del v
  13. except ImportError:
  14. __version__ = "UNKNOWN"