Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python313-bitarray | Distribution: openSUSE:Factory:zSystems |
Version: 3.0.0 | Vendor: openSUSE |
Release: 1.2 | Build date: Mon Oct 28 12:36:18 2024 |
Group: Unspecified | Build host: reproducible |
Size: 1458154 | Source RPM: python-bitarray-3.0.0-1.2.src.rpm |
Packager: https://bugs.opensuse.org | |
Url: https://github.com/ilanschnell/bitarray | |
Summary: Efficient Arrays of Booleans |
This module provides an object type which efficiently represents an array of booleans. Bitarrays are sequence types and behave very much like usual lists. Eight bits are represented by one byte in a contiguous block of memory. The user can select between two representations; little-endian and big-endian. All of the functionality is implemented in C. Methods for accessing the machine representation are provided. This can be useful when bit level access to binary files is required, such as portable bitmap image files (.pbm). Also, when dealing with compressed data which uses variable bit length encoding, you may find this module useful.
Python-2.0
* Mon Oct 28 2024 Dirk Müller <[email protected]> - update to 3.0.0: * see Bitarray 3 transition * remove Python 2.7 support * .decode() now returns iterator (equivalent to past .iterdecode()) * .search() now returns iterator (equivalent to past .itersearch()) * remove .iterdecode() and .itersearch() * remove util.rindex(), use .index(..., right=1) instead, deprecated since 2.9 * remove util.make_endian(), use bitarray(..., endian=...) instead, deprecated since 2.9 * remove hackish support for bitarray() handling unpickling, see detailed explaination in #207 - closes #206 * add official Python 3.13 support * update cibuildwheel to 2.21.3 * minor simplifications * fix some typos * Mon Sep 30 2024 Guang Yee <[email protected]> - Enable sle15_python_module_pythons. * Mon Jan 08 2024 Dirk Müller <[email protected]> - update to 2.9.2: * optimize initialization from strings by not constantly resizing buffer * optimize util.hex2ba() and util.base2ba() by avoiding unnecessary copies * optimize util.base2ba() and util.ba2base() for n=16 (hexadecimal) * Wed Dec 27 2023 Dirk Müller <[email protected]> - update to 2.9.1: * avoid buffer being unnecessarily initialized with 0s in several functions of the ``bitarray.util`` module * fix ``.count()`` type hint in pyi-file * improve testing * deprecate support for Python 2 - Python 2.7 support will be removed in bitarray version 3.0 * ``bitarray(n)`` for integer initializer ``n`` will always return a bitarray of length ``n`` with all items initialized to ``0`` * allow sub-bitarray in ``.count()``, `#212 * add ``util.ones()`` ``.find()`` and ``.index()``: add keyword argument ``right`` for rightmost index * ``.itersearch()``: add start and stop argument, and keyword * argument ``right`` * deprecate ``util.rindex()`` (will be removed in 3.0 release), * use ``.index(..., right=True)`` instead * deprecate ``util.make_endian()`` (will be removed in 3.0 release), * use ``bitarray(..., endian=...)`` instead * Mon Dec 11 2023 Dirk Müller <[email protected]> - update to 2.8.5: * speedup unaligned copies by always using word shifts (in combination with builtin byte swap 64 when available) when bit-endianness and machine byte-order are opposite * add ``HAVE_BUILTIN_BSWAP64`` to header * avoid misaligned pointers when casting to ``(uint64_t *)`` * add tests * Tue Dec 05 2023 Dirk Müller <[email protected]> - update to 2.8.4: * simplify ``copy_n()`` (remove special cases) * add `word shift example C program * and simplify ``shift_r8()`` * improve documentation and testing * Tue Nov 14 2023 Dirk Müller <[email protected]> - update to 2.8.3: * ensure readonly attribute is set correctly when creating new objects * optimize sparse bitarray compression for raw block type * improve hash functions in Bloom filter example * Thu Oct 05 2023 Dirk Müller <[email protected]> - update to 2.8.2: * improve error messages for masked assignment * simplify test collection * added ``pytest.ini`` to allow running pytest with no additional arguments * ``util.sc_encode()``: avoid writing empty blocks at end of compressed stream, ie. skip encoding when total population count is reached * Wed Aug 09 2023 Dirk Müller <[email protected]> - update to 2.8.1: * use reconstructor function for pickling * simplify implementation of ``.reverse()`` * allow `integer sequence indexing <indexing.rst>`__ by list of indices, * add `masked indexing <indexing.rst>`__ by bitarray masks, * improve ``.bytereverse()`` docstring, see issue * Sun Jun 25 2023 Dirk Müller <[email protected]> - update to 2.7.6: * remove caching hash value * Sun Jun 11 2023 Dirk Müller <[email protected]> - update to 2.7.5: * fix for pypy3.9-v7.3.11 * register ``bitarray`` as ``abc.MutableSequence`` * improve documentation regarding type when indexing single * bitarray items * Mon Mar 06 2023 Dirk Müller <[email protected]> - update to 2.7.3: * allow running ``python setup.py test`` * add official Python 3.12 support * simplify count functionality in util module * retire ``bitcount_lookup[256]`` table * improve ``util.count_n()`` error messages * avoid ``util`` module tests from being run more than once in each call to ``bitarray.test()`` when called multiple times in the same Python process * improve testing * Wed Feb 15 2023 Dirk Müller <[email protected]> - update to 2.7.2: * speedup all count functionality by using ``__builtin_popcountll`` when available * add ``popcount64()`` to ``bitarray.h`` - we assume now that ``uint64_t`` is always available * improve testing * Fri Feb 10 2023 Dirk Müller <[email protected]> - update to 2.7.1: * optimize ``util.sc_encode()`` * Fri Feb 10 2023 Dirk Müller <[email protected]> - update to 2.7.0: * add util.sc_encode() and util.sc_decode() for compression of sparse bitarrays * add util.any_and() * add util.intervals() * move functionality of the following utility functions entirely to C: hex2ba(), base2ba(), deserialize(), vl_decode(), zeros() * improve error checking for unpickling * add distance metrics * Mon Jan 02 2023 Dirk Müller <[email protected]> - update to 2.6.2: * optimize `richcompare()` for opposite endianness * improve some docstrings add tests * add documentation on shift operators, #181 * fix typo in iterable initializer description, #179 * optimize `richcompare()` * Fri Sep 23 2022 Yogalakshmi Arunachalam <[email protected]> - Update to 2.6.0: * add data descriptions: `.nbytes`, `.padbits`, `.readonly` * allow optional `endian` argument to be `None` when creating bitarrays * fix type annotation for `canonical_decode()`, #178 * frozenbitarray's padbits are now guaranteed to be zero * add tests - Update to 2.5.1: * optimize `.reverse()`, see #177 * allow negative (byte) indices in `.bytereverse()` - Update to 2.5.0: * add calculating of canonical Huffman codes `util.canonical_huffman()` and decoding thereof `util.canonical_decode()`, see #173 * allow creating "Huffman codes" from frequency maps with a single symbol in `util.huffman_code()` and `util.canonical_huffman()`, see #172 * allow bytes-like argument in `.frombytes()` and `.pack()` - previously, the arguments were limited to the `bytes` object, see #174 * allow bytes-like arguments in `util.deserialize()` * add official [pyodide](https://pyodide.org/) support * add [DEFLATE decompression](../examples/puff/) example * optimize `.bytereverse()` * optimize `delslice()` for cases like `del a[1:17:2]` when `a` is large * fix `examples/huffman/compress.py` to handle files with 0 or 1 characters, see also #172 * add `skipIF` decorator for skipping tests * add tests - Update to 2.4.1: * improve `resize()`, see #167 * optimize `copy_n()` by avoiding loops, #171 * `.bytereverse()` no longer sets unused pad bits to zero * Sun Mar 27 2022 Dirk Müller <[email protected]> - update to 2.4.0: * enable building wheels for multiple platforms and Python versions using pypa/cibuildwheel, see #165 and #170 (thanks Brian Thorne, @hardbyte) * use setuptools instead of distutils in `setup.py`, #168 * add missing type hinting for `.count()` step argument * Thu Aug 19 2021 John Paul Adrian Glaubitz <[email protected]> - Update to 2.3.0 * add optional `buffer` argument to `bitarray()` to import the buffer of another object, #141, #146, see also: [buffer protocol](buffer.rst) * update `.buffer_info()` to include: a read-only flag, an imported buffer flag, and the number of buffer exports * add optional start and stop arguments to `util.rindex()` * add [memory-mapped file](../examples/mmapped-file.py) example * ignore underscore (`_`) in string input, e.g. `bitarray('1100_0111')` * add missing type hinting for new `.bytereverse()` arguments * fix `.extend()` type annotations, #145 * avoid `.reverse()` using temporary memory * make `.unpack()`, `util.serialize()`, `util.vl_encode()` and `.__reduce__()` more memory efficient * add and improve tests - from version 2.2.5 * speedup `find_bit()` and `find_last()` using uint64 checking, this means a speedup for `.find()`, `.index()`, `.search()` and `util.rindex()` * add optional start and stop arguments to `.bytereverse()` * add example to illustrate how [unaligned copying](../examples/copy_n.py) works internally * add documentation * add tests - from version 2.2.4 * use shift operations to speedup all unaligned copy operations, #142 * expose functionality to Python level only in debug mode for testing * add and improve tests - from version 2.2.3 * speedup `repeat()`, #136 * speedup shift operations, #139 * optimize slice assignment with negative step, e.g.: `a[::-1] = 1` * add tests - from version 2.2.2 * speedup slice assignment, see #132 and #135 * speedup bitwise operations, #133 * optimize `getbit()` and `setbit()` in `bitarray.h` * fix TypeError messages when bitarray or int (0, 1) are expected (bool is a subclass of int) * add and improve tests - from version 2.2.1 * improve documentation * speedup `vl_encode()` * `bitarray.h`: make `getbit()` always an (inline) function * add assertions in C code - from version 2.2.0 * add `bitarray.util.vl_encode()` and `bitarray.util.vl_decode()` which uses a [variable length bitarray format](variable_length.rst), #131 - from version 2.1.3 * Fix building with MSVC / Bullseye, #129 * Sat Jul 17 2021 Martin Hauke <[email protected]> - Update to 2.2.2 * support type hinting for all Python 3 versions (that bitarray supports, 3.5 and higher currently). * add explicit endianness to two tests. * Sat Jun 12 2021 Martin Hauke <[email protected]> - Update to 2.1.1 * add type hinting (see PEP 484, 561) using stub (`.pyi`) files - Update to 2.1.0 * add `.find()` method, see #122 * `.find()`, `.index()`, `.search()` and `.itersearch()` now all except both (sub-) bitarray as well as bool items to be searched for * improve encode/decode error messages * add [lexicographical permutations example](../examples/lexico.py) - Update to 2.0.1 * update documentation * improve some error messages - Update to 2.0.0 * require more specific objects, int (0 or 1) or bool * items are always returned as int 0 or 1 * remove `.length()` method (deprecated since 1.5.1 - use `len()`) * in `.unpack()` the `one` argument now defaults to 0x01 (was 0xff) * `.tolist()` now always returns a list of integers (0 or 1) * fix frozenbitarray hash function, see #121 * fix frozenbitarray being mutable by `<<=` and `>>=` * support sequence protocol in `.extend()` (and bitarray creation) * improve OverflowError messages from `util.int2ba()` * add [hexadecimal example](../examples/hexadecimal.py) * Sat Apr 10 2021 Martin Hauke <[email protected]> - Update to 1.9.2 * update pythoncapi_compat: Fix support with PyPy 3.7 - Update to 1.9.0 * add shift operations (``<<``, ``>>``, ``<<=``, ``>>=``) * add ``bitarray.util.ba2base()`` and ``bitarray.util.base2ba()``, - Update to 1.8.2 * fix crash caused by unsupported types in binary operations, * speedup initializing or extending a bitarray from another with different bit endianness. * add formatting options to ``bitarray.util.pprint()`` * add and improve tests (all 291 tests run in less than half a second on a modern machine) - Update to 1.8.1 * moved implementation of and ``hex2ba()`` and ``ba2hex()`` to C-level * add ``bitarray.util.parity()`` - Update to 1.8.0 * add ``bitarray.util.serialize()`` and ``bitarray.util.deserialize()`` * allow whitespace (ignore space and ``\n\r\t\v``) in input strings; e.g. ``bitarray('01 11')`` or ``a += '10 00'`` * add ``bitarray.util.pprint()`` * When initializing a bitarray from another with different bit endianness, e.g. ``a = bitarray('110', 'little')`` and ``b = bitarray(a, 'big')``, the buffer used to be simply copied, with consequence that ``a == b`` would result in ``False``. This is fixed now, that is ``a == b`` will always evaluate to ``True``. * add test for loading existing pickle file (created using bitarray 1.5.0) - Update to 1.7.1 * Raise TypeError when incorrect index is used during assignment, e.g. ``a[1.5] = 1`` * raise TypeError (not IndexError) when assigning slice to incorrect type, e.g. ``a[1:4] = 1.2`` * improve some docstrings and tests - Update to 1.7.0 * add ``bitarray.util.urandom()`` * raise TypeError when trying to extend bitarrays from bytes on Python 3, ie. ``bitarray(b'011')`` and ``.extend(b'110')``. (Deprecated since 1.4.1) - Update to 1.6.2 * use ``Py_SET_TYPE()`` and ``Py_SET_SIZE()`` for Python 3.10 * add official Python 3.10 support * fix slice assignment to same object, e.g. ``a[2::] = a`` or ``a[::-1] = a``, * add bitarray.h,
/usr/lib64/python3.13/site-packages/bitarray /usr/lib64/python3.13/site-packages/bitarray-3.0.0-py3.13.egg-info /usr/lib64/python3.13/site-packages/bitarray-3.0.0-py3.13.egg-info/PKG-INFO /usr/lib64/python3.13/site-packages/bitarray-3.0.0-py3.13.egg-info/SOURCES.txt /usr/lib64/python3.13/site-packages/bitarray-3.0.0-py3.13.egg-info/dependency_links.txt /usr/lib64/python3.13/site-packages/bitarray-3.0.0-py3.13.egg-info/not-zip-safe /usr/lib64/python3.13/site-packages/bitarray-3.0.0-py3.13.egg-info/top_level.txt /usr/lib64/python3.13/site-packages/bitarray/__init__.py /usr/lib64/python3.13/site-packages/bitarray/__init__.pyi /usr/lib64/python3.13/site-packages/bitarray/__pycache__ /usr/lib64/python3.13/site-packages/bitarray/__pycache__/__init__.cpython-313.opt-1.pyc /usr/lib64/python3.13/site-packages/bitarray/__pycache__/__init__.cpython-313.pyc /usr/lib64/python3.13/site-packages/bitarray/__pycache__/test_bitarray.cpython-313.opt-1.pyc /usr/lib64/python3.13/site-packages/bitarray/__pycache__/test_bitarray.cpython-313.pyc /usr/lib64/python3.13/site-packages/bitarray/__pycache__/test_util.cpython-313.opt-1.pyc /usr/lib64/python3.13/site-packages/bitarray/__pycache__/test_util.cpython-313.pyc /usr/lib64/python3.13/site-packages/bitarray/__pycache__/util.cpython-313.opt-1.pyc /usr/lib64/python3.13/site-packages/bitarray/__pycache__/util.cpython-313.pyc /usr/lib64/python3.13/site-packages/bitarray/_bitarray.cpython-313-s390x-linux-gnu.so /usr/lib64/python3.13/site-packages/bitarray/_util.cpython-313-s390x-linux-gnu.so /usr/lib64/python3.13/site-packages/bitarray/bitarray.h /usr/lib64/python3.13/site-packages/bitarray/py.typed /usr/lib64/python3.13/site-packages/bitarray/pythoncapi_compat.h /usr/lib64/python3.13/site-packages/bitarray/test_281.pickle /usr/lib64/python3.13/site-packages/bitarray/test_bitarray.py /usr/lib64/python3.13/site-packages/bitarray/test_util.py /usr/lib64/python3.13/site-packages/bitarray/util.py /usr/lib64/python3.13/site-packages/bitarray/util.pyi /usr/share/doc/packages/python313-bitarray /usr/share/doc/packages/python313-bitarray/CHANGE_LOG /usr/share/doc/packages/python313-bitarray/README.rst /usr/share/doc/packages/python313-bitarray/examples /usr/share/doc/packages/python313-bitarray/examples/README /usr/share/doc/packages/python313-bitarray/examples/bloom.py /usr/share/doc/packages/python313-bitarray/examples/copy_n.py /usr/share/doc/packages/python313-bitarray/examples/distance.py /usr/share/doc/packages/python313-bitarray/examples/extend_json.py /usr/share/doc/packages/python313-bitarray/examples/gene.py /usr/share/doc/packages/python313-bitarray/examples/growth /usr/share/doc/packages/python313-bitarray/examples/growth/Makefile /usr/share/doc/packages/python313-bitarray/examples/growth/README.md /usr/share/doc/packages/python313-bitarray/examples/growth/growth.py /usr/share/doc/packages/python313-bitarray/examples/growth/resize.c /usr/share/doc/packages/python313-bitarray/examples/growth/test.py /usr/share/doc/packages/python313-bitarray/examples/hexadecimal.py /usr/share/doc/packages/python313-bitarray/examples/huffman /usr/share/doc/packages/python313-bitarray/examples/huffman/README /usr/share/doc/packages/python313-bitarray/examples/huffman/canonical.py /usr/share/doc/packages/python313-bitarray/examples/huffman/compress.py /usr/share/doc/packages/python313-bitarray/examples/huffman/compress2.py /usr/share/doc/packages/python313-bitarray/examples/huffman/decodetree.py /usr/share/doc/packages/python313-bitarray/examples/huffman/decoding.py /usr/share/doc/packages/python313-bitarray/examples/huffman/efficiency.py /usr/share/doc/packages/python313-bitarray/examples/huffman/huffman.py /usr/share/doc/packages/python313-bitarray/examples/lexico.py /usr/share/doc/packages/python313-bitarray/examples/mandel.py /usr/share/doc/packages/python313-bitarray/examples/mmapped-file.py /usr/share/doc/packages/python313-bitarray/examples/ndarray.py /usr/share/doc/packages/python313-bitarray/examples/pbm.py /usr/share/doc/packages/python313-bitarray/examples/puff /usr/share/doc/packages/python313-bitarray/examples/puff/.gitignore /usr/share/doc/packages/python313-bitarray/examples/puff/Makefile /usr/share/doc/packages/python313-bitarray/examples/puff/README.txt /usr/share/doc/packages/python313-bitarray/examples/puff/_puff.c /usr/share/doc/packages/python313-bitarray/examples/puff/gunzip.py /usr/share/doc/packages/python313-bitarray/examples/puff/puff.py /usr/share/doc/packages/python313-bitarray/examples/puff/setup.py /usr/share/doc/packages/python313-bitarray/examples/puff/test_puff.py /usr/share/doc/packages/python313-bitarray/examples/shift_r8.c /usr/share/doc/packages/python313-bitarray/examples/sieve.py /usr/share/doc/packages/python313-bitarray/examples/smallints.py /usr/share/doc/packages/python313-bitarray/examples/sparse /usr/share/doc/packages/python313-bitarray/examples/sparse/Makefile /usr/share/doc/packages/python313-bitarray/examples/sparse/README.txt /usr/share/doc/packages/python313-bitarray/examples/sparse/common.py /usr/share/doc/packages/python313-bitarray/examples/sparse/compress.py /usr/share/doc/packages/python313-bitarray/examples/sparse/flips.py /usr/share/doc/packages/python313-bitarray/examples/sparse/ones.py /usr/share/doc/packages/python313-bitarray/examples/sparse/tests.py /usr/share/doc/packages/python313-bitarray/examples/utf-8.py /usr/share/licenses/python313-bitarray /usr/share/licenses/python313-bitarray/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Dec 4 00:10:59 2024