hive-nectar 0.0.6__py3-none-any.whl → 0.0.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of hive-nectar might be problematic. Click here for more details.
- {hive_nectar-0.0.6.dist-info → hive_nectar-0.0.9.dist-info}/METADATA +5 -3
- hive_nectar-0.0.9.dist-info/RECORD +91 -0
- nectar/__init__.py +1 -0
- nectar/account.py +44 -48
- nectar/amount.py +6 -11
- nectar/block.py +8 -9
- nectar/blockchain.py +4 -5
- nectar/blockchaininstance.py +4 -4
- nectar/blockchainobject.py +5 -6
- nectar/blurt.py +3 -4
- nectar/cli.py +14 -14
- nectar/comment.py +10 -11
- nectar/community.py +527 -181
- nectar/conveyor.py +3 -4
- nectar/exceptions.py +30 -24
- nectar/hive.py +3 -4
- nectar/hivesigner.py +2 -2
- nectar/imageuploader.py +2 -3
- nectar/nodelist.py +83 -7
- nectar/price.py +6 -13
- nectar/rc.py +1 -2
- nectar/steem.py +3 -4
- nectar/storage.py +3 -4
- nectar/transactionbuilder.py +12 -3
- nectar/version.py +1 -1
- nectar/vote.py +8 -9
- nectar/wallet.py +1 -1
- nectarapi/__init__.py +1 -0
- nectarapi/exceptions.py +20 -14
- nectarapi/version.py +1 -1
- nectarbase/__init__.py +1 -0
- nectarbase/ledgertransactions.py +2 -3
- nectarbase/memo.py +9 -10
- nectarbase/objects.py +4 -5
- nectarbase/operations.py +3 -7
- nectarbase/version.py +1 -1
- nectargraphenebase/__init__.py +1 -1
- nectargraphenebase/account.py +16 -37
- nectargraphenebase/base58.py +5 -8
- nectargraphenebase/bip32.py +5 -11
- nectargraphenebase/bip38.py +6 -7
- nectargraphenebase/ecdsasig.py +32 -37
- nectargraphenebase/objects.py +6 -7
- nectargraphenebase/operations.py +2 -0
- nectargraphenebase/signedtransactions.py +10 -9
- nectargraphenebase/types.py +9 -19
- nectargraphenebase/unsignedtransactions.py +21 -28
- nectargraphenebase/version.py +1 -1
- nectarstorage/__init__.py +21 -1
- nectarstorage/masterpassword.py +2 -3
- nectarstorage/sqlite.py +1 -1
- hive_nectar-0.0.6.dist-info/RECORD +0 -92
- nectargraphenebase/py23.py +0 -38
- {hive_nectar-0.0.6.dist-info → hive_nectar-0.0.9.dist-info}/WHEEL +0 -0
- {hive_nectar-0.0.6.dist-info → hive_nectar-0.0.9.dist-info}/entry_points.txt +0 -0
- {hive_nectar-0.0.6.dist-info → hive_nectar-0.0.9.dist-info}/licenses/LICENSE.txt +0 -0
nectargraphenebase/py23.py
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
# -*- coding: utf-8 -*-
|
|
2
|
-
import sys
|
|
3
|
-
|
|
4
|
-
PY2 = sys.version_info[0] == 2
|
|
5
|
-
PY3 = sys.version_info[0] == 3
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
if PY3:
|
|
9
|
-
bytes_types = (bytes,)
|
|
10
|
-
string_types = (str,)
|
|
11
|
-
integer_types = (int,)
|
|
12
|
-
text_type = str
|
|
13
|
-
binary_type = bytes
|
|
14
|
-
else:
|
|
15
|
-
bytes_types = (bytes,)
|
|
16
|
-
string_types = (basestring,) # noqa: F821
|
|
17
|
-
integer_types = (int, long) # noqa: F821
|
|
18
|
-
text_type = unicode # noqa: F821
|
|
19
|
-
binary_type = str
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
def py23_bytes(item=None, encoding=None):
|
|
23
|
-
if item is None:
|
|
24
|
-
return b""
|
|
25
|
-
if hasattr(item, "__bytes__"):
|
|
26
|
-
return item.__bytes__()
|
|
27
|
-
else:
|
|
28
|
-
if encoding:
|
|
29
|
-
return bytes(item, encoding)
|
|
30
|
-
else:
|
|
31
|
-
return bytes(item)
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
def py23_chr(item):
|
|
35
|
-
if PY2:
|
|
36
|
-
return chr(item)
|
|
37
|
-
else:
|
|
38
|
-
return bytes([item])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|