{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/8"}],"enrichment":{"capability":"Builds minimal perfect hash functions for 64-bit hashes using BBHash, with optional value-table storage for hash-to-value lookups.","skillfed_tags":["bioinformatics","hash-function","cython"],"use_cases":["Map k-mer hashes to De Bruijn graph node identifiers in genome assembly workflows.","Store and retrieve compact metadata associated with large collections of 64-bit hashes without full hash table overhead.","Build minimal perfect hash functions for read deduplication or abundance tracking in sequencing pipelines.","Query pre-built MPHF structures loaded from disk to avoid reconstruction overhead in repeated analyses.","Associate arbitrary values with hashes in memory-constrained bioinformatics environments where space efficiency matters."],"what_it_does":"pybbhash is a Cython wrapper around the BBHash C++ library for constructing minimal perfect hash functions optimized for 64-bit hash values. It provides two main interfaces: PyMPHF for building and querying a minimal perfect hash function, and BBHashTable for associating arbitrary values with hashes and retrieving them later. The package is designed primarily for bioinformatics workflows involving k-mer hashing, where you need to map large collections of hash values to compact integer identifiers or associated metadata.\n\nThe core use case is storing and querying relationships between hashes generated by tools like khmer or sourmash\u2014for example, mapping k-mer hashes to De Bruijn graph node IDs. BBHashTable extends the basic MPHF by supporting lookups on hashes that were not part of the original construction, returning None for missing keys. Both modules support save/load to disk for persistence.","worth_installing":"Yes, with conditions. Install if you need minimal perfect hash functions for 64-bit hashes in a bioinformatics or k-mer-heavy workflow and can tolerate Cython compilation. The package is actively maintained and has no known vulnerabilities, but verify the unclear license status before use in proprietary contexts. High install friction and Python >=3.11 requirement may limit adoption in legacy environments."},"id":"bbhash","links":{"html":"https://skillfed.io/packages/bbhash","md":"https://skillfed.io/packages/bbhash.md","pypi":"https://pypi.org/project/bbhash/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-10-26","license_spdx":null,"license_treatment":"unclear","name":"bbhash","python_support":"supports_current","summary":"A Python wrapper for the BBHash Minimal Perfect Hash Function"},"popularity":{"monthly_downloads":87699,"position":13775,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.0"}
