create account

Hive-Nectar v0.0.11: A Small But Necessary Patch by thecrazygm

View this thread on: hive.blogpeakd.comecency.com
· @thecrazygm · (edited)
$16.44
Hive-Nectar v0.0.11: A Small But Necessary Patch
Hey everyone,

Short post today for a small but important update to `hive-nectar`. This one isn't a fancy new feature, but rather a necessary patch that came directly from community feedback.

A user who was migrating their projects from `beem` to `hive-nectar` pointed out that their scripts were failing to load a few posts. After digging into it, we realized that some older communities, particularly **waivio**, are still setting their community tag via the post's `json_metadata` instead of using the built-in `community` field that is standard now.

The `Comment()` function was causing a key error because the `community` field was not present, but the community tag was in the `json_metadata` of the post.

To ensure backward compatibility and support for these older communities, I've pushed an emergency patch. The function will now check for the community in the `json_metadata` if the primary `community` field is not present.

`hive-nectar` now sits at version **v0.0.11** with this simple fix. It's not a spectacular change, but it was a needed one to ensure the library works as expected across the entire Hive ecosystem, old and new.


![Version v0.0.11 is up and live!](https://files.peakd.com/file/peakd-hive/thecrazygm/23tGTYwmLJdoUqcEYHx4WcuGXzQvdrajUxJuNDxpMYKoRyjapbBDAkJb9PT9RaiLd4oBc.png)


You can get the latest version from GitHub or PyPI.

- **GitHub:** [https://github.com/TheCrazyGM/hive-nectar](https://github.com/TheCrazyGM/hive-nectar)
- **PyPI:** `pip install hive-nectar --upgrade`

As always, a huge thank you to the community members who provide feedback and help find these edge cases!

Michael Garcia a.k.a. TheCrazyGM
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 242 others
properties (23)
authorthecrazygm
permlinkhive-nectar-v0011-a-small-but-necessary-patch
categoryhive-186392
json_metadata{"app":"peakd/2025.7.3","format":"markdown","image":["https://files.peakd.com/file/peakd-hive/thecrazygm/23tGTYwmLJdoUqcEYHx4WcuGXzQvdrajUxJuNDxpMYKoRyjapbBDAkJb9PT9RaiLd4oBc.png"],"tags":["dev","nectar","python","archon","tribes","pimp","proofofbrain"],"users":[]}
created2025-07-29 09:22:24
last_update2025-07-29 09:23:27
depth0
children10
last_payout2025-08-05 09:22:24
cashout_time1969-12-31 23:59:59
total_payout_value7.570 HBD
curator_payout_value8.874 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,658
author_reputation113,888,388,330,414
root_title"Hive-Nectar v0.0.11: A Small But Necessary Patch"
beneficiaries
0.
accountthecrazygm.bank
weight1,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,504,060
net_rshares60,693,498,441,194
author_curate_reward""
vote details (306)
@ecoinstant ·
$0.02
Keep up the great work its almost time to start a promotional tour!

!PAKX
!PIMP
!PIZZA
👍  ,
properties (23)
authorecoinstant
permlinkre-thecrazygm-t06q3d
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.7.3","image":[],"users":[]}
created2025-07-29 23:47:39
last_update2025-07-29 23:47:39
depth1
children1
last_payout2025-08-05 23:47:39
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length87
author_reputation873,934,869,310,157
root_title"Hive-Nectar v0.0.11: A Small But Necessary Patch"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,526,166
net_rshares89,761,484,876
author_curate_reward""
vote details (2)
@pakx ·
$0.02
<center><table><tr></tr><tr><td><center><img src='https://files.peakd.com/file/peakd-hive/pakx/PakX-logo-transparent.png'><p><sup><a href='https://hive-engine.com/?p=market&t=PAKX'>View or trade </a> <code>PAKX</code> tokens.</sup></p></center></td><td><center>@ecoinstant, PAKX has voted the post by @thecrazygm. (1/2 calls)</p><br><br><p>Use !PAKX command if you hold enough balance to call for a @pakx vote on worthy posts! More details available on <a href='/@pakx'>PAKX Blog</a>.</p></center></td></tr></table></center>
👍  
properties (23)
authorpakx
permlinkre-ecoinstant-1753832912
categoryhive-186392
json_metadata"{"tags": ["pakx", "hivepakistan"], "app": "HiveDiscoMod"}"
created2025-07-29 23:48:30
last_update2025-07-29 23:48:30
depth2
children0
last_payout2025-08-05 23:48:30
cashout_time1969-12-31 23:59:59
total_payout_value0.010 HBD
curator_payout_value0.010 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length524
author_reputation136,640,206,193
root_title"Hive-Nectar v0.0.11: A Small But Necessary Patch"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,526,174
net_rshares72,270,886,207
author_curate_reward""
vote details (1)
@enginewitty ·
$0.15
properties (23)
authorenginewitty
permlinkre-thecrazygm-t06ing
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.7.3","image":[],"users":[]}
created2025-07-29 21:06:54
last_update2025-07-29 21:06:54
depth1
children0
last_payout2025-08-05 21:06:54
cashout_time1969-12-31 23:59:59
total_payout_value0.076 HBD
curator_payout_value0.076 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length28
author_reputation700,525,958,535,082
root_title"Hive-Nectar v0.0.11: A Small But Necessary Patch"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,522,458
net_rshares526,439,448,495
author_curate_reward""
vote details (10)
@hive-lu ·
$0.03
#### Hello thecrazygm!
**It's nice to let you know that your article won 🥈 place.**
Your post is among the best articles voted 7 days ago by the @hive-lu | King Lucoin Curator by **keithtaylor**
 
You and your curator receive **0.0070 Lu** (Lucoin) investment token and a **6.93%** share of the reward from [Daily Report 740](/lucoin/@hive-lu/daily-report-day-740). Additionally, you can also receive a unique **LUSILVER** token for taking 2nd place. All you need to do is reblog [this](/lucoin/@hive-lu/daily-report-day-740) report of the day with your winnings.
 
<center>[![2.png](https://files.peakd.com/file/peakd-hive/now.calendars/23uEwt7Djmb4N3dE96ecCUemJez6vLU3fmoTrdjEJn1ws4d8iPw2QrrsB22nyhbb178sx.png)](/@hive-lu)</center>
 
---
<center><sub>Invest in the **Lu token** (Lucoin) and get paid. With 50 Lu in your wallet, you also become the curator of the @hive-lu which follows your upvote.
Buy Lu on the [Hive-Engine](https://hive-engine.com/trade/LU) exchange | World of Lu created by @szejq </sub></center>
<center><sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP` _or to resume write a word_ `START`</sub> </center>
👍  
properties (23)
authorhive-lu
permlinklucoin-prize-xblnwi
categoryhive-186392
json_metadata""
created2025-08-06 02:30:15
last_update2025-08-06 02:30:15
depth1
children0
last_payout1969-12-31 23:59:59
cashout_time2025-08-13 02:30:15
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.025 HBD
promoted0.000 HBD
body_length1,190
author_reputation33,249,735,296,152
root_title"Hive-Nectar v0.0.11: A Small But Necessary Patch"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,725,264
net_rshares86,906,975,261
author_curate_reward""
vote details (1)
@hivebuzz ·
Congratulations @thecrazygm! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

<table><tr><td><img src="https://images.hive.blog/60x70/https://hivebuzz.me/@thecrazygm/posts.png?202507290936"></td><td>You published more than 450 posts.<br>Your next target is to reach 500 posts.</td></tr>
</table>

<sub>_You can view your badges on [your board](https://hivebuzz.me/@thecrazygm) and compare yourself to others in the [Ranking](https://hivebuzz.me/ranking)_</sub>
<sub>_If you no longer want to receive notifications, reply to this comment with the word_ `STOP`</sub>



**Check out our last posts:**
<table><tr><td><a href="/hive-122221/@hivebuzz/pud-202508"><img src="https://images.hive.blog/64x128/https://i.imgur.com/805FIIt.jpg"></a></td><td><a href="/hive-122221/@hivebuzz/pud-202508">Hive Power Up Day - August 1st 2025</a></td></tr></table>
👍  
👎  
properties (23)
authorhivebuzz
permlinknotify-1753782542
categoryhive-186392
json_metadata{"image":["https://hivebuzz.me/notify.t6.png"]}
created2025-07-29 09:49:03
last_update2025-07-29 09:49:03
depth1
children0
last_payout2025-08-05 09:49:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length907
author_reputation369,391,094,549,575
root_title"Hive-Nectar v0.0.11: A Small But Necessary Patch"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,504,577
net_rshares-2,584,172,677
author_curate_reward""
vote details (2)
@pizzabot ·
$0.02
<center>PIZZA!


$PIZZA slices delivered:
@ecoinstant<sub>(1/20)</sub> tipped @thecrazygm 


<sub>Come get [MOON](https://moon.hive.pizza)ed!</sub></center>
👍  
properties (23)
authorpizzabot
permlinkre-hive-nectar-v0011-a-small-but-necessary-patch-20250729t234802z
categoryhive-186392
json_metadata"{"app": "pizzabot"}"
created2025-07-29 23:48:00
last_update2025-07-29 23:48:00
depth1
children0
last_payout2025-08-05 23:48:00
cashout_time1969-12-31 23:59:59
total_payout_value0.010 HBD
curator_payout_value0.011 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length156
author_reputation7,690,736,117,405
root_title"Hive-Nectar v0.0.11: A Small But Necessary Patch"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,526,169
net_rshares78,348,592,346
author_curate_reward""
vote details (1)
@themarkymark ·
$0.13
properties (23)
authorthemarkymark
permlinkre-thecrazygm-t068i1
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.7.3","image":[],"users":[]}
created2025-07-29 17:27:36
last_update2025-07-29 17:27:36
depth1
children0
last_payout2025-08-05 17:27:36
cashout_time1969-12-31 23:59:59
total_payout_value0.066 HBD
curator_payout_value0.066 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length6
author_reputation1,781,396,036,465,663
root_title"Hive-Nectar v0.0.11: A Small But Necessary Patch"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,519,338
net_rshares453,757,131,173
author_curate_reward""
vote details (21)
@tydynrain ·
$0.02
I had no idea that there was a difference between older and newer communities. That's so curious and interesting. Can the older communities be updated in some way, or is it just a thing that can't be changed, and must be accepted as is? Congratulations on the fix, by the way! 😁 🙏 💚 ✨ 🤙 
👍  
properties (23)
authortydynrain
permlinkre-thecrazygm-2025729t201230523z
categoryhive-186392
json_metadata{"links":[],"type":"comment","tags":["hive-186392","dev","nectar","python","archon","tribes","pimp","proofofbrain"],"app":"ecency/3.3.3-mobile","format":"markdown+html"}
created2025-07-30 06:12:33
last_update2025-07-30 06:12:33
depth1
children2
last_payout2025-08-06 06:12:33
cashout_time1969-12-31 23:59:59
total_payout_value0.010 HBD
curator_payout_value0.010 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length287
author_reputation208,412,688,612,955
root_title"Hive-Nectar v0.0.11: A Small But Necessary Patch"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,529,911
net_rshares73,764,409,671
author_curate_reward""
vote details (1)
@thecrazygm ·
$0.02
They could, they would just need to change the frontend. Right now they just append `{"community": "old_community"}` the `json_metadata` field of the post. Whereas the newer communities, e.g. all the ones with `hive-XXXXXX` in the name, set the community by using that community as the `parent_author` **but** leaving `parent_permlink` blank (or else it's a comment). Which to be honest doesn't seem as intuitive, but makes sense as the newer communities are accounts that have membership fields and roles etc.
👍  ,
properties (23)
authorthecrazygm
permlinkre-tydynrain-t07e48
categoryhive-186392
json_metadata{"tags":["hive-186392"],"app":"peakd/2025.7.3","image":[],"users":[]}
created2025-07-30 08:26:33
last_update2025-07-30 08:26:33
depth2
children1
last_payout2025-08-06 08:26:33
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length510
author_reputation113,888,388,330,414
root_title"Hive-Nectar v0.0.11: A Small But Necessary Patch"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,531,259
net_rshares89,416,044,595
author_curate_reward""
vote details (2)
@tydynrain ·
$0.02
Oh, OK, I'm glad that they can be updated. That's fascinating, and it helps me understand new aspects of Hive, so thank you for that explanation. 😁 🙏 💚 ✨ 🤙 
👍  ,
properties (23)
authortydynrain
permlinkre-thecrazygm-2025730t205334279z
categoryhive-186392
json_metadata{"links":[],"type":"comment","tags":["hive-186392"],"app":"ecency/3.3.3-mobile","format":"markdown+html"}
created2025-07-31 06:53:36
last_update2025-07-31 06:53:36
depth3
children0
last_payout2025-08-07 06:53:36
cashout_time1969-12-31 23:59:59
total_payout_value0.012 HBD
curator_payout_value0.012 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length156
author_reputation208,412,688,612,955
root_title"Hive-Nectar v0.0.11: A Small But Necessary Patch"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id144,562,930
net_rshares88,909,017,048
author_curate_reward""
vote details (2)