Skip to content

py-hamt Version 2

Compare
Choose a tag to compare
@abidsikder abidsikder released this 12 Dec 16:23
· 75 commits to main since this release
aff9aaf

This release refactors and rewrites pretty much the entire library, with a focus on consolidating usage from ipldstore as well as rigorous testing. The version number was bumped due to the incompatible API changes.

Here's an overview of major changes

  • py-hamt now functions as a general MutableMapping, allowing for familiar usage patterns like python dicts.
  • documentation is now automatically generated and uploaded to our github pages, and is thorough.
  • py-hamt provides the ability to store data on IPFS in a HAMT out of the box with its IPFSStore

Internally

  • The data structure now only uses one type of Node, greatly simplifying implementation and reducing the overall amount of code
  • uv is used for project management
  • ruff is used for code formatting and linting
  • we now use fuzz testing and 100% code coverage, which allows for higher confidence from users