skillfed

bitmap

.

bitmap v0.0.7 74.4K downloads/30d#14,842 on PyPI41
License unclear Abandoned released

What it is and what it does

BitMap is a Python class for storing and manipulating arrays of bits in a compact format. It provides basic bit operations—set, reset, flip, test—and bulk queries like count, any, all, and nonzero to find set bits. The class can also convert to and from string representations of bits.

The package depends only on future for Python 2/3 compatibility. It is abandoned as of 2019, with no recent maintenance or updates. The license is unclear, and compatibility with Python versions beyond 3.7 is unverified. Use only if you need a simple, self-contained bit array for legacy code or if you are willing to fork and maintain it yourself.

Use it for:

  • Implementing membership tests or bloom filters where you need a compact representation of which items have been seen.
  • Storing boolean flags or feature flags in a space-efficient manner for large numbers of items.
  • Educational purposes to understand bit-level operations and compact data structures.
  • Legacy Python 2.7 or 3.7 projects that already depend on this package.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

BitMap provides a compact bit array class for storing and manipulating individual bits, with operations to set, reset, flip, test, and query bits.

No. The package is abandoned with no maintenance since 2019, license is unclear, and compatibility beyond Python 3.7 is unverified. For new projects, consider maintained alternatives. Only consider it for legacy codebases already locked to Python 2.7 or 3.7 where you control the environment.

Install

bitmap on PyPI

pip

pip install bitmap

uv

uv add bitmap

poetry

poetry add bitmap

Installing bitmap

Before you install

Installation is straightforward with low friction, but the package is abandoned—last release was 2019-11-23 and last commit 2022-05-14. No active maintenance means no fixes for compatibility issues.

License in practice

License is unclear; no SPDX identifier or raw license text is provided. Before using in production or distribution, verify the actual license terms from the repository.

Quickstart

pip install bitmap

from bitmap import BitMap
bm = BitMap(32)
bm.set(1)
print(bm.tostring())

Package classifiers list Python 2.7 and 3.7 support; compatibility with later versions is unverified due to abandonment.

Verify before relying

  • Whether the package actually works on Python versions beyond 3.7, given its abandonment and last release in 2019.
  • The actual license under which bitmap is distributed, since license_treatment is unclear.
  • Performance characteristics and memory efficiency compared to alternatives.

Package facts

License not declared (unclear)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 1 — future
Maintenance abandoned — 2,456 days since the last release
Last repo commit
First released
Downloads 74,411/month — #14,842 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: bitmap-0.0.7-py2-none-any.whl; bitmap-0.0.7-py3-none-any.whl

Programming Language :: Python :: 2.7Programming Language :: Python :: 3.7

Tags

bit array data structurecompact bitmap implementationbitwise operations pythonbit manipulation libraryefficient bit storagebitmap class python
data-structuresbit-manipulationabandoned

More Software Development packages