hive-nectar 0.0.9b0__py3-none-any.whl → 0.0.11__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hive-nectar
3
- Version: 0.0.9b0
3
+ Version: 0.0.11
4
4
  Summary: Unofficial Python library for HIVE
5
5
  Project-URL: Homepage, http://www.github.com/thecrazygm/hive-nectar
6
6
  Project-URL: Download, https://github.com/thecrazygm/hive-nectar/tarball/0.0.7
@@ -9,7 +9,7 @@ nectar/blockchaininstance.py,sha256=dYGvI5JpNNHP6XOttIX3QR12fkuBCqek1O5DgDFdZwQ,
9
9
  nectar/blockchainobject.py,sha256=bgfEjTGjFaUputmfNCD1jRTqk1d94tbnujYGkNshsWs,6984
10
10
  nectar/blurt.py,sha256=2qRZf9-k5vonJEd-e8Dnpb09GP5bRvP5fE_MItSpCZw,23013
11
11
  nectar/cli.py,sha256=zQHYUbqEW-TPvEsYuILrYxuynhGJHLSWJiez3mxcKsg,227615
12
- nectar/comment.py,sha256=Q49xT7r1zvdR6RAuA-zH871XOq7KoEQA_A-qAdGWV0Q,46615
12
+ nectar/comment.py,sha256=yL1JdFTEl6a47homQZHHSmOfeRzdtw1BVAFTTp5-yRo,46664
13
13
  nectar/community.py,sha256=EUCPSgHDWQIeFvO4zHOIl15dcfmEHN6VU2m1jHKVWxo,31821
14
14
  nectar/constants.py,sha256=lrspBwCz9BE0YZY10DMS98oPwwxgmI0LzFdlQ7v53Ig,4974
15
15
  nectar/conveyor.py,sha256=atw49yhCEPEGIVdcSL0T0Y0_DY-vp6MCWOm2umBbgXo,11203
@@ -22,7 +22,7 @@ nectar/instance.py,sha256=oUAycW1q5ynM3M4O9a0drgY7e8UBExTj69aMxrOjxwg,3905
22
22
  nectar/market.py,sha256=mlKKsq6DQ4WCLaqNnuuwbJM4qUiejy5pGdXIPKK2Sug,41972
23
23
  nectar/memo.py,sha256=lTIuPrX-kPynOa-9q6kJHRzb9BfJjSf0kdpipwEXnY8,17777
24
24
  nectar/message.py,sha256=lVGaydsxh8oMTS90khho3DtqxhzgIrt4NmjxwyP0X3k,13019
25
- nectar/nodelist.py,sha256=sEQcnRMk80RwpiE85X4VeD4XcwnoB9UoQtPNLIKE88o,18613
25
+ nectar/nodelist.py,sha256=wNSFJyqaRL4dh_OKXui4jVXoGIIIgVBtB8K3bPCfNfY,18659
26
26
  nectar/price.py,sha256=Rv-ffhkyN1c-tl6QTGWvhrdqTQNHbE1rcUzTi21t4Tc,21052
27
27
  nectar/profile.py,sha256=t-pqC2DZxzvTV2XLU6iZWT1NdHuk77A_iiisbA0QIOM,1921
28
28
  nectar/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -32,7 +32,7 @@ nectar/steem.py,sha256=z7yrhWbnkVF4PzlpvG-JO4tqEFYZZ5dnqC5YMchnWFY,23859
32
32
  nectar/storage.py,sha256=efmvfBD102ye8TTCRhMUkegVNmASFAYCfV9qqSFSSJM,1844
33
33
  nectar/transactionbuilder.py,sha256=S14zLfbyvrMCnTOAAOUf6gqvU3aEyPDRZqEbYPYl4DM,25886
34
34
  nectar/utils.py,sha256=8mlRkx133yeZPkYgDUKLK79PVLRYIvJV1qts_V3pLjY,18884
35
- nectar/version.py,sha256=AingJB7OU_SpYcOonQp8aWFN0Ts7wwiIgLF00Ud2vcA,77
35
+ nectar/version.py,sha256=9aPmBLTmfKZ2C3bmweqIUOMrBvbWXo3Nvh-mGPpVVyI,77
36
36
  nectar/vote.py,sha256=-FHyrF79K4zmvH_IYl-2ImrX6pUhSs0dS7wCMeJAYh8,20085
37
37
  nectar/wallet.py,sha256=mbFNDbzo8PbcN7iYlVwwFIp9e4zCFuS4cYoWeepF1jY,16232
38
38
  nectar/witness.py,sha256=88XYjhTRNhyu9hfIG0sm3Pg1hC9eooo3HhW5EhcaYps,23600
@@ -43,7 +43,7 @@ nectarapi/node.py,sha256=mjK-fMFJ2icDaOUBoiUuDU-beo3aQK0HGwt0l0pC0YQ,5456
43
43
  nectarapi/noderpc.py,sha256=FxJz1KbjU6FbNdyp7ovOSZ8TbmD_xqQclKjeBP42Jls,10093
44
44
  nectarapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
45
45
  nectarapi/rpcutils.py,sha256=0nKCrEeNHFSEU3AjaOGNh-2pjc8qw4mRA9lCrBkP1FQ,2910
46
- nectarapi/version.py,sha256=AingJB7OU_SpYcOonQp8aWFN0Ts7wwiIgLF00Ud2vcA,77
46
+ nectarapi/version.py,sha256=9aPmBLTmfKZ2C3bmweqIUOMrBvbWXo3Nvh-mGPpVVyI,77
47
47
  nectarbase/__init__.py,sha256=O11coqB-Woq_yp946kA1b8hzqSdDcK9j9gwenx7d6JE,253
48
48
  nectarbase/ledgertransactions.py,sha256=0N1EHIZJdp-pVXmd0PgIVwhCFUtPRky4Pt9RQdP4f2A,2488
49
49
  nectarbase/memo.py,sha256=Ix5Uhan7x2rz54_QMSQ-Z5rZz-FqvR3i13H3cGEnPIY,7496
@@ -54,7 +54,7 @@ nectarbase/operations.py,sha256=Ik87L6_rzptfCy4eeOX--9669mcrZ6SVxQe7jrmHd5U,4741
54
54
  nectarbase/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
55
55
  nectarbase/signedtransactions.py,sha256=r-MRnEQDnx6U6XFPcM3hPXiDZvU6sQVx4Vv_0nZF7fs,1792
56
56
  nectarbase/transactions.py,sha256=D7TK4Pkxr1N7p0Yh2bxvdXpOuEYpLl2tWK84Pj_93c0,319
57
- nectarbase/version.py,sha256=AingJB7OU_SpYcOonQp8aWFN0Ts7wwiIgLF00Ud2vcA,77
57
+ nectarbase/version.py,sha256=9aPmBLTmfKZ2C3bmweqIUOMrBvbWXo3Nvh-mGPpVVyI,77
58
58
  nectargrapheneapi/__init__.py,sha256=_Gxdt_qaQQwwYABHEFBuf4tMh93ItIa3HPBH9nk1PTw,151
59
59
  nectargrapheneapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
60
60
  nectargraphenebase/__init__.py,sha256=66IxULO3eMKcx-nRDFDLz0YfEvXCkty08xjt9M1WgyY,577
@@ -75,7 +75,7 @@ nectargraphenebase/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
75
75
  nectargraphenebase/signedtransactions.py,sha256=rhFEQDNcOau08qnNAf_3UxJDXtIpi5Y8tOFDXZK1bPw,7119
76
76
  nectargraphenebase/types.py,sha256=nxkpR4N1DOZwIwDSVQrMxp8VZVKVjYdiLvPv0sX65jU,9439
77
77
  nectargraphenebase/unsignedtransactions.py,sha256=6WLZCSVC0vCa7VVBt39TQl1vW-GAF2khkF0DLIgZG-s,9247
78
- nectargraphenebase/version.py,sha256=AingJB7OU_SpYcOonQp8aWFN0Ts7wwiIgLF00Ud2vcA,77
78
+ nectargraphenebase/version.py,sha256=9aPmBLTmfKZ2C3bmweqIUOMrBvbWXo3Nvh-mGPpVVyI,77
79
79
  nectarstorage/__init__.py,sha256=nEM9OMoHqHPS6IoV_JzVyxPRORz0DCeS7Yv-MwjmWoQ,1772
80
80
  nectarstorage/base.py,sha256=h7Oca1_RaJw39P1I_xXRKup016pS8zCLOs3e4IHKKdE,9734
81
81
  nectarstorage/exceptions.py,sha256=0erk_d0Ejia9td_Ke7XFBl17H1BxbM42gFpkej8EbV0,421
@@ -84,8 +84,8 @@ nectarstorage/masterpassword.py,sha256=xOAOZvVfIctfGiwIed_XpKnWcGDla95qp8osTLyYY
84
84
  nectarstorage/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
85
85
  nectarstorage/ram.py,sha256=Cy6JbMrlgcEG673_KqfyaofhAdJR-luRKTedj3qTZEE,1034
86
86
  nectarstorage/sqlite.py,sha256=ZKJxPL0AZjJIlwjxCEh6GGcjQzlBPuWs6tj40oPZz3M,10635
87
- hive_nectar-0.0.9b0.dist-info/METADATA,sha256=cglNJZi1t-6uq9vtNMITc-bKNnGelb5J4JjJL5jBnbg,6164
88
- hive_nectar-0.0.9b0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
89
- hive_nectar-0.0.9b0.dist-info/entry_points.txt,sha256=DbqiJb5fFpQvGZ0ojvc2w3dXZitTg6FPz09CobKq4m8,47
90
- hive_nectar-0.0.9b0.dist-info/licenses/LICENSE.txt,sha256=WjJRNR4r7FuLEO2BTBLGa05T7bBecGGgH47NgKsSY0E,1158
91
- hive_nectar-0.0.9b0.dist-info/RECORD,,
87
+ hive_nectar-0.0.11.dist-info/METADATA,sha256=GcTDdw97TsV6-QWUjcs18n66gVdpPgqgf3-0RpK4BXg,6163
88
+ hive_nectar-0.0.11.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
89
+ hive_nectar-0.0.11.dist-info/entry_points.txt,sha256=DbqiJb5fFpQvGZ0ojvc2w3dXZitTg6FPz09CobKq4m8,47
90
+ hive_nectar-0.0.11.dist-info/licenses/LICENSE.txt,sha256=WjJRNR4r7FuLEO2BTBLGa05T7bBecGGgH47NgKsSY0E,1158
91
+ hive_nectar-0.0.11.dist-info/RECORD,,
nectar/comment.py CHANGED
@@ -124,6 +124,9 @@ class Comment(BlockchainObject):
124
124
  value = value.split(" ")[0] + " " + self.blockchain.backed_token_symbol
125
125
  comment[p] = Amount(value, blockchain_instance=self.blockchain)
126
126
 
127
+ if "community" not in comment:
128
+ comment["community"] = ""
129
+
127
130
  # turn json_metadata into python dict
128
131
  meta_str = comment.get("json_metadata", "{}")
129
132
  if meta_str == "{}":
@@ -138,7 +141,7 @@ class Comment(BlockchainObject):
138
141
  if isinstance(comment["json_metadata"], dict):
139
142
  if "tags" in comment["json_metadata"]:
140
143
  comment["tags"] = comment["json_metadata"]["tags"]
141
- if "community" in comment["json_metadata"] and not comment["community"]:
144
+ if "community" in comment["json_metadata"]:
142
145
  comment["community"] = comment["json_metadata"]["community"]
143
146
 
144
147
  parse_int = [
nectar/nodelist.py CHANGED
@@ -347,7 +347,9 @@ class NodeList(list):
347
347
 
348
348
  # Prefer the pre-computed weighted_score from the metadata if present; fall back to
349
349
  # the locally calculated score otherwise.
350
- if "weighted_score" in report_node and isinstance(report_node["weighted_score"], (int, float)):
350
+ if "weighted_score" in report_node and isinstance(
351
+ report_node["weighted_score"], (int, float)
352
+ ):
351
353
  new_node["score"] = report_node["weighted_score"]
352
354
  else:
353
355
  sum_score = sum(scores)
nectar/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """THIS FILE IS GENERATED FROM nectar PYPROJECT.TOML."""
2
2
 
3
- version = "0.0.9b"
3
+ version = "0.0.11"
nectarapi/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """THIS FILE IS GENERATED FROM nectar PYPROJECT.TOML."""
2
2
 
3
- version = "0.0.9b"
3
+ version = "0.0.11"
nectarbase/version.py CHANGED
@@ -1,3 +1,3 @@
1
1
  """THIS FILE IS GENERATED FROM nectar PYPROJECT.TOML."""
2
2
 
3
- version = "0.0.9b"
3
+ version = "0.0.11"
@@ -1,3 +1,3 @@
1
1
  """THIS FILE IS GENERATED FROM nectar PYPROJECT.TOML."""
2
2
 
3
- version = "0.0.9b"
3
+ version = "0.0.11"