forked from iexbase/tron-api-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path__init__.py
More file actions
26 lines (19 loc) · 712 Bytes
/
Copy path__init__.py
File metadata and controls
26 lines (19 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# --------------------------------------------------------------------
# Copyright (c) iEXBase. All rights reserved.
# Licensed under the MIT License.
# See License.txt in the project root for license information.
# --------------------------------------------------------------------
import sys
import pkg_resources
from eth_account import Account # noqa: E402
from tronapi.providers.http import HttpProvider # noqa: E402
from tronapi.main import Tron # noqa: E402
if sys.version_info < (3, 5):
raise EnvironmentError("Python 3.5 or above is required")
__version__ = pkg_resources.get_distribution("tronapi").version
__all__ = [
'__version__',
'HttpProvider',
'Account',
'Tron',
]