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.
cli.py, nfts.py, and tokenobject.py.None checks for nft.get_id() in CLI to prevent runtime errors.ruff and ty.requests to httpx for better performance.find_all pagination to use last_id based recursion.httpx logs by default.Special thanks to . His personal
hiveenginepy inspired the last_id pagination logic, which handles tokens with more than 10k items.
Test it via pip or uv:
pip install -U git+https://github.com/thecrazygm/[email protected]
# or
uv add "nectarengine @ git+https://github.com/thecrazygm/[email protected]"
As always,
Michael Garcia a.k.a. TheCrazyGM