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.

Source Distributions

BitArray2D-2.1.tar.gz (213.8 kB view details)

Uploaded Source

BitArray2D-2.1.tar.bz2 (79.1 kB view details)

Uploaded Source

File details

Details for the file BitArray2D-2.1.tar.gz.

File metadata

  • Download URL: BitArray2D-2.1.tar.gz
  • Upload date:
  • Size: 213.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for BitArray2D-2.1.tar.gz
Algorithm Hash digest
SHA256 d0875cb8384a76925981fec18b88bf66927b2dcddea104e954a7874351eb8877
MD5 24cac608e52df170a5163988b95d9fa3
BLAKE2b-256 51d02ceb88519bd4982ad4160b751b60b37d440c4db146cc91d4ddc0d5460d8f

See more details on using hashes here.

File details

Details for the file BitArray2D-2.1.tar.bz2.

File metadata

  • Download URL: BitArray2D-2.1.tar.bz2
  • Upload date:
  • Size: 79.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for BitArray2D-2.1.tar.bz2
Algorithm Hash digest
SHA256 ebdeb712fa8e41fffd00f3facc5adb64c79691928cd5404507f0838c47884e49
MD5 df7855890d9e60cc99bb01a5627f785d
BLAKE2b-256 529e998ae92608ddc3d56ad44516330321d9efb5c9d84d9d4f1a53f72f31aa2f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page