{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/18"}],"enrichment":{"capability":"intbitset provides a fast, memory-efficient set implementation for storing sorted unsigned integers using bit vectors, implemented as a Python C extension with set operations significantly faster than the standard library set for dense integer collections.","skillfed_tags":["data-structures","performance-critical","c-extension"],"use_cases":["Filtering and intersecting large integer collections in data processing pipelines where speed is critical.","Storing and querying membership in dense integer ranges (e.g., document IDs, user IDs) in search or database systems.","Performing fast set algebra (union, difference) on integer sequences in scientific or statistical computations.","Building inverted indexes or bit-level data structures where integer set operations are the core operation."],"what_it_does":"intbitset is a C-based Python extension that implements a set class for storing sorted unsigned integers using bit vectors. It emulates the Python built-in set interface\u2014supporting union, intersection, difference, and standard set operations\u2014while delivering faster performance and lower memory usage for dense integer collections. The library supports pickling, iteration, slicing, and fast min/max access since integers are always stored sorted.\n\nYou would use intbitset when you need to perform repeated set operations on large collections of integers and performance or memory efficiency matters. It trades the flexibility of storing arbitrary Python objects (which the standard set does) for speed and compactness when your data is integers. The package has no runtime dependencies and is actively maintained; wheels are available for modern Python versions and common platforms, though building from source requires a C compiler.","worth_installing":"Yes, if you work with dense integer sets and need fast set operations. The package is actively maintained, has no dependencies, and offers pre-built wheels for common platforms. The copyleft license (LGPL-3.0-or-later) requires derivative works to use the same license, so review compliance before use in proprietary code. No known vulnerabilities."},"id":"intbitset","links":{"html":"https://skillfed.io/packages/intbitset","md":"https://skillfed.io/packages/intbitset.md","pypi":"https://pypi.org/project/intbitset/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-04-28","license_spdx":null,"license_treatment":"copyleft","name":"intbitset","python_support":"unspecified","summary":"C-based extension implementing fast integer bit sets."},"popularity":{"monthly_downloads":136067,"position":11407,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"4.1.2"}
