Skip to main content

A memory-efficient packed representation for 2D bit arrays (This is a renamed version of the Bit2DArray module)

Project description

Version 2.1 is a renamed version of the Bit2DArray module (Version 2.0).

Version 2.1 is Python 3.x compliant. It should work with both Python 2.x and Python 3.x.

This module utilizes the facilities of the BitVector class (Version 3.0 or higher) to create a memory efficient representation for 2D bit arrays.

The class supports the following operators/methods:

  • __str__
  • __getitem__
  • __setitem__
  • __getslice__
  • __eq__
  • __ne__
  • __and__
  • __or__
  • __xor__
  • __invert__
  • deep_copy
  • size
  • read_bit_array_from_char_file
  • read_bit_array_from_binary_file
  • write_bit_array_to_char_file
  • write_bit_array_to_packed_binary_file
  • shift
  • dilate
  • erode

Project details


Release history Release notifications | RSS feed

This version

2.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for BitArray2D, version 2.1
Filename, size File type Python version Upload date Hashes
Filename, size BitArray2D-2.1.tar.bz2 (79.1 kB) File type Source Python version None Upload date Hashes View
Filename, size BitArray2D-2.1.tar.gz (213.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page