Archives

PyBz2

Python stdlib module — bz2. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.compress()Neutral
#
Signature
compress(data, compresslevel)

Compress a block of data.

.decompress()Neutral
#
Signature
decompress(data)

Decompress a block of data.

.open()Neutral
#
Signature
open(filename, mode, compresslevel, encoding, errors, newline)

Open a bzip2-compressed file in binary or text mode.

.BZ2Compressor()Neutral
#
Signature
BZ2Compressor(...)

Create a compressor object for compressing data incrementally.

.BZ2Decompressor()Neutral
#
Signature
BZ2Decompressor(...)

Create a decompressor object for decompressing data incrementally.

.BZ2File()Neutral
#
Signature
BZ2File(...)

A file object providing transparent bzip2 (de)compression.

Fully-Qualified Names

FQNField
bz2fqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import bz2