├── .github └── workflows │ └── build_wheels.yml ├── .gitignore ├── CHANGE_LOG ├── LICENSE ├── Makefile ├── README.rst ├── bitarray ├── __init__.py ├── __init__.pyi ├── _bitarray.c ├── _util.c ├── bitarray.h ├── py.typed ├── pythoncapi_compat.h ├── test_281.pickle ├── test_bitarray.py ├── test_util.py ├── util.py └── util.pyi ├── contributing.md ├── devel ├── README ├── architecture.txt ├── copy_n.py ├── random │ ├── binomial.py │ ├── plot.py │ ├── sample.py │ └── test_sample.py ├── resize │ ├── .gitignore │ ├── Makefile │ ├── README.md │ ├── resize.c │ ├── resize.py │ └── test_resize.py ├── sc │ ├── compress.py │ └── sc_stat.py ├── set_range_opt.py ├── shift_r8.c ├── test_debug.py ├── test_random.py ├── test_sum_indices.py └── tricks.py ├── doc ├── bitarray3.rst ├── buffer.rst ├── canonical.rst ├── changelog.rst ├── endianness.rst ├── indexing.rst ├── random_p.rst ├── reference.rst ├── represent.rst ├── sparse_compression.rst └── variable_length.rst ├── examples ├── README ├── bloom.py ├── distance.py ├── double.py ├── dubner.rst ├── dyn_sieve.py ├── extend_json.py ├── gene.py ├── hamming.py ├── hexadecimal.py ├── huffman │ ├── README │ ├── canonical.py │ ├── compress.py │ ├── compress2.py │ ├── decodetree.py │ ├── decoding.py │ ├── efficiency.py │ └── huffman.py ├── lexico.py ├── lfsr.py ├── mandel.py ├── masked.py ├── mmapped-file.py ├── ndarray.py ├── pbm.py ├── puff │ ├── .gitignore │ ├── Makefile │ ├── README.txt │ ├── _puff.c │ ├── gunzip.py │ ├── puff.py │ ├── setup.py │ └── test_puff.py ├── sieve.py ├── smallints.py ├── sparse │ ├── Makefile │ ├── README.txt │ ├── common.py │ ├── flips.py │ ├── ones.py │ └── tests.py └── utf-8.py ├── pyproject.toml ├── pytest.ini ├── setup.py └── update_doc.py /.github/workflows/build_wheels.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/.github/workflows/build_wheels.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGE_LOG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/CHANGE_LOG -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/README.rst -------------------------------------------------------------------------------- /bitarray/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/bitarray/__init__.py -------------------------------------------------------------------------------- /bitarray/__init__.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/bitarray/__init__.pyi -------------------------------------------------------------------------------- /bitarray/_bitarray.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/bitarray/_bitarray.c -------------------------------------------------------------------------------- /bitarray/_util.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/bitarray/_util.c -------------------------------------------------------------------------------- /bitarray/bitarray.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/bitarray/bitarray.h -------------------------------------------------------------------------------- /bitarray/py.typed: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bitarray/pythoncapi_compat.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/bitarray/pythoncapi_compat.h -------------------------------------------------------------------------------- /bitarray/test_281.pickle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/bitarray/test_281.pickle -------------------------------------------------------------------------------- /bitarray/test_bitarray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/bitarray/test_bitarray.py -------------------------------------------------------------------------------- /bitarray/test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/bitarray/test_util.py -------------------------------------------------------------------------------- /bitarray/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/bitarray/util.py -------------------------------------------------------------------------------- /bitarray/util.pyi: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/bitarray/util.pyi -------------------------------------------------------------------------------- /contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/contributing.md -------------------------------------------------------------------------------- /devel/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/README -------------------------------------------------------------------------------- /devel/architecture.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/architecture.txt -------------------------------------------------------------------------------- /devel/copy_n.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/copy_n.py -------------------------------------------------------------------------------- /devel/random/binomial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/random/binomial.py -------------------------------------------------------------------------------- /devel/random/plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/random/plot.py -------------------------------------------------------------------------------- /devel/random/sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/random/sample.py -------------------------------------------------------------------------------- /devel/random/test_sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/random/test_sample.py -------------------------------------------------------------------------------- /devel/resize/.gitignore: -------------------------------------------------------------------------------- 1 | resize 2 | pattern-* 3 | -------------------------------------------------------------------------------- /devel/resize/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/resize/Makefile -------------------------------------------------------------------------------- /devel/resize/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/resize/README.md -------------------------------------------------------------------------------- /devel/resize/resize.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/resize/resize.c -------------------------------------------------------------------------------- /devel/resize/resize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/resize/resize.py -------------------------------------------------------------------------------- /devel/resize/test_resize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/resize/test_resize.py -------------------------------------------------------------------------------- /devel/sc/compress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/sc/compress.py -------------------------------------------------------------------------------- /devel/sc/sc_stat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/sc/sc_stat.py -------------------------------------------------------------------------------- /devel/set_range_opt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/set_range_opt.py -------------------------------------------------------------------------------- /devel/shift_r8.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/shift_r8.c -------------------------------------------------------------------------------- /devel/test_debug.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/test_debug.py -------------------------------------------------------------------------------- /devel/test_random.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/test_random.py -------------------------------------------------------------------------------- /devel/test_sum_indices.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/test_sum_indices.py -------------------------------------------------------------------------------- /devel/tricks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/devel/tricks.py -------------------------------------------------------------------------------- /doc/bitarray3.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/doc/bitarray3.rst -------------------------------------------------------------------------------- /doc/buffer.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/doc/buffer.rst -------------------------------------------------------------------------------- /doc/canonical.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/doc/canonical.rst -------------------------------------------------------------------------------- /doc/changelog.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/doc/changelog.rst -------------------------------------------------------------------------------- /doc/endianness.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/doc/endianness.rst -------------------------------------------------------------------------------- /doc/indexing.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/doc/indexing.rst -------------------------------------------------------------------------------- /doc/random_p.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/doc/random_p.rst -------------------------------------------------------------------------------- /doc/reference.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/doc/reference.rst -------------------------------------------------------------------------------- /doc/represent.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/doc/represent.rst -------------------------------------------------------------------------------- /doc/sparse_compression.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/doc/sparse_compression.rst -------------------------------------------------------------------------------- /doc/variable_length.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/doc/variable_length.rst -------------------------------------------------------------------------------- /examples/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/README -------------------------------------------------------------------------------- /examples/bloom.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/bloom.py -------------------------------------------------------------------------------- /examples/distance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/distance.py -------------------------------------------------------------------------------- /examples/double.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/double.py -------------------------------------------------------------------------------- /examples/dubner.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/dubner.rst -------------------------------------------------------------------------------- /examples/dyn_sieve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/dyn_sieve.py -------------------------------------------------------------------------------- /examples/extend_json.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/extend_json.py -------------------------------------------------------------------------------- /examples/gene.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/gene.py -------------------------------------------------------------------------------- /examples/hamming.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/hamming.py -------------------------------------------------------------------------------- /examples/hexadecimal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/hexadecimal.py -------------------------------------------------------------------------------- /examples/huffman/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/huffman/README -------------------------------------------------------------------------------- /examples/huffman/canonical.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/huffman/canonical.py -------------------------------------------------------------------------------- /examples/huffman/compress.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/huffman/compress.py -------------------------------------------------------------------------------- /examples/huffman/compress2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/huffman/compress2.py -------------------------------------------------------------------------------- /examples/huffman/decodetree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/huffman/decodetree.py -------------------------------------------------------------------------------- /examples/huffman/decoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/huffman/decoding.py -------------------------------------------------------------------------------- /examples/huffman/efficiency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/huffman/efficiency.py -------------------------------------------------------------------------------- /examples/huffman/huffman.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/huffman/huffman.py -------------------------------------------------------------------------------- /examples/lexico.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/lexico.py -------------------------------------------------------------------------------- /examples/lfsr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/lfsr.py -------------------------------------------------------------------------------- /examples/mandel.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/mandel.py -------------------------------------------------------------------------------- /examples/masked.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/masked.py -------------------------------------------------------------------------------- /examples/mmapped-file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/mmapped-file.py -------------------------------------------------------------------------------- /examples/ndarray.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/ndarray.py -------------------------------------------------------------------------------- /examples/pbm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/pbm.py -------------------------------------------------------------------------------- /examples/puff/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | *.so 3 | *.gz 4 | -------------------------------------------------------------------------------- /examples/puff/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/puff/Makefile -------------------------------------------------------------------------------- /examples/puff/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/puff/README.txt -------------------------------------------------------------------------------- /examples/puff/_puff.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/puff/_puff.c -------------------------------------------------------------------------------- /examples/puff/gunzip.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/puff/gunzip.py -------------------------------------------------------------------------------- /examples/puff/puff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/puff/puff.py -------------------------------------------------------------------------------- /examples/puff/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/puff/setup.py -------------------------------------------------------------------------------- /examples/puff/test_puff.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/puff/test_puff.py -------------------------------------------------------------------------------- /examples/sieve.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/sieve.py -------------------------------------------------------------------------------- /examples/smallints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/smallints.py -------------------------------------------------------------------------------- /examples/sparse/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/sparse/Makefile -------------------------------------------------------------------------------- /examples/sparse/README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/sparse/README.txt -------------------------------------------------------------------------------- /examples/sparse/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/sparse/common.py -------------------------------------------------------------------------------- /examples/sparse/flips.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/sparse/flips.py -------------------------------------------------------------------------------- /examples/sparse/ones.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/sparse/ones.py -------------------------------------------------------------------------------- /examples/sparse/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/sparse/tests.py -------------------------------------------------------------------------------- /examples/utf-8.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/examples/utf-8.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/pyproject.toml -------------------------------------------------------------------------------- /pytest.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/pytest.ini -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/setup.py -------------------------------------------------------------------------------- /update_doc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ilanschnell/bitarray/HEAD/update_doc.py --------------------------------------------------------------------------------