$npx skillfedfor your agent

intbitset

C-based extension implementing fast integer bit sets.

With conditionsPyPI Python ModulesReleased Apr 2026136.1K downloads / moLGPL-3.0-or-laterPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — intbitset-4.1.2-cp310-cp310-macosx_10_9_universal2.whl · intbitset-4.1.2-cp310-cp310-macosx_11_0_arm64.whl · intbitset-4.1.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
v4.1.2 · released 2026-04-28

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Building from source requires a C compiler; pre-built wheels are available for most common platforms and Python versions.
  • Wheels are pre-built for common platforms and Python versions, reducing installation friction.
  • The package is actively maintained with a recent release and no runtime dependencies, though building from source requires a C compiler.

License · maintenance · safety

LGPL-3.0-or-later (copyleft) — intbitset is licensed under LGPL-3.0-or-later (copyleft). Derivative works and modifications must be distributed under the same or compatible license; proprietary closed-source applications using this library must comply with copyleft obligations or obtain a commercial license.

last release 2026-04-28 (108 days) · last repo commit 2026-04-28 · 22 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 136,067 downloads/mo, #11,407 on PyPI

Verify before relying

pip install intbitset

from intbitset import intbitset
x = intbitset([1, 2, 3])
y = intbitset([3, 4, 5])
result = x & y  # intersection
print(result)  # intbitset([3])
  • Whether the performance advantage applies to your specific use case (dense vs. sparse sets, set size, operation patterns).
  • Exact memory overhead compared to standard set for your typical integer ranges and densities.
  • Support for Python versions beyond 3.10–3.12.
Same gist for agents: .md · .json

What it is and 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—supporting union, intersection, difference, and standard set operations—while 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.

You 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.

Use it for

  • 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.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

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.

Install

intbitset on PyPI

Before you install

Wheels are pre-built for common platforms and Python versions, reducing installation friction. The package is actively maintained with a recent release and no runtime dependencies, though building from source requires a C compiler.

Building from source requires a C compiler; pre-built wheels are available for most common platforms and Python versions.

License in practice

intbitset is licensed under LGPL-3.0-or-later (copyleft). Derivative works and modifications must be distributed under the same or compatible license; proprietary closed-source applications using this library must comply with copyleft obligations or obtain a commercial license.

Quickstart

pip install intbitset

from intbitset import intbitset
x = intbitset([1, 2, 3])
y = intbitset([3, 4, 5])
result = x & y  # intersection
print(result)  # intbitset([3])

Verify before relying

  • Whether the performance advantage applies to your specific use case (dense vs. sparse sets, set size, operation patterns).
  • Exact memory overhead compared to standard set for your typical integer ranges and densities.
  • Support for Python versions beyond 3.10–3.12.

Package facts

LicenseLGPL-3.0-or-later copyleft
Python supportNot specified
Install frictionMedium. Platform-specific wheel
Runtime dependenciesNone
MaintenanceActively maintained 108 days since the last release
Last repo commit
First released
Downloads136,067 / month, #11,407 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Environment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)Operating System :: OS IndependentProgramming Language :: CProgramming Language :: CythonProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules

Evidence: intbitset-4.1.2-cp310-cp310-macosx_10_9_universal2.whl; intbitset-4.1.2-cp310-cp310-macosx_11_0_arm64.whl; intbitset-4.1.2-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; intbitset-4.1.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; intbitset-4.1.2-cp310-cp310-musllinux_1_2_aarch64.whl; intbitset-4.1.2-cp310-cp310-musllinux_1_2_x86_64.whl; intbitset-4.1.2-cp310-cp310-win_amd64.whl; intbitset-4.1.2-cp311-cp311-macosx_10_9_universal2.whl; intbitset-4.1.2-cp311-cp311-macosx_11_0_arm64.whl; intbitset-4.1.2-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; intbitset-4.1.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; intbitset-4.1.2-cp311-cp311-musllinux_1_2_aarch64.whl; intbitset-4.1.2-cp311-cp311-musllinux_1_2_x86_64.whl; intbitset-4.1.2-cp311-cp311-win_amd64.whl; intbitset-4.1.2-cp312-cp312-macosx_10_13_universal2.whl; intbitset-4.1.2-cp312-cp312-macosx_11_0_arm64.whl; intbitset-4.1.2-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; intbitset-4.1.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; intbitset-4.1.2-cp312-cp312-musllinux_1_2_aarch64.whl; intbitset-4.1.2-cp312-cp312-musllinux_1_2_x86_64.whl

Tags

Capabilities
fast integer set operationsbit vector set implementationdense integer storageoptimized set data structurememory-efficient integer setsbitset library pythonhigh-performance set operations
Topics
data-structuresperformance-criticalc-extension

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “fast integer set operations”

  • intbitsetintbitset provides a fast, memory-efficient set implementation for…
  • pyroaringProvides an efficient, ordered set data structure for integers backed…
  • preshedPreshed provides high-performance Cython hash tables for mapping…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also fixedint · cpuset-py3 · pyroaring · HLL · bitarray · bitarray-hardbyte · marisa-trie · multiset · cint · python-flint