Hey everyone,
Following the hive-nectar update, I am also releasing a nectarengine v0.2.0 branch.

I modernized the codebase to use httpx instead of requests and ran strict type checks (ty is brutal) until I cleared every error. Like hive-nectar, this is a work in progress. I will merge it to main in about a week unless I get some issues that need fixed.
Recent Changes
0.2.1
- Fixed type hinting errors in
cli.py,nfts.py, andtokenobject.py. - Added defensive
Nonechecks fornft.get_id()in CLI to prevent runtime errors. - Cleaned up unused variables and imports identified by
ruffandty.
0.2.0
- Migrated network layer from
requeststohttpxfor better performance. - Enhanced
find_allpagination to uselast_idbased recursion. - Silenced noisy
httpxlogs by default.
Shoutout
Special thanks to @themarkymark. His personal hiveenginepy inspired the last_id pagination logic, which handles tokens with more than 10k items.
Installation
Test it via pip or uv:
pip install -U git+https://github.com/thecrazygm/nectarengine@v0.2.0
# or
uv add "nectarengine @ git+https://github.com/thecrazygm/[email protected]"
As always,
Michael Garcia a.k.a. TheCrazyGM
This is great work! Keep up the positive energy my friend!
!PIMP
!PAKX
!PIZZA
View or trade
PAKXtokens.Use !PAKX command if you hold enough balance to call for a @pakx vote on worthy posts! More details available on PAKX Blog.
$PIZZA slices delivered:
@ecoinstant(1/20) tipped @thecrazygm
Please vote for pizza.witness!
Excellent! So this is the complete rewrite of NectarEngine, to go along with the Hive-Nectar rewrite? 😁🙏💚✨🤙
More like a complete audit, a lot of them both stayed the same, but I did go through every single line and fix issues.
Ah, OK, I see the difference, and your thoroughness is much appreciated. 😁🙏💚✨🤙