dissect.sql

Submodules

Package Contents

Classes

exception dissect.sql.Error

Bases: Exception

Base class for exceptions for this module. It is used to recognize errors specific to this module

exception dissect.sql.InvalidDatabase

Bases: Error

Base class for exceptions for this module. It is used to recognize errors specific to this module

exception dissect.sql.InvalidPageNumber

Bases: Error

Base class for exceptions for this module. It is used to recognize errors specific to this module

exception dissect.sql.InvalidPageType

Bases: Error

Base class for exceptions for this module. It is used to recognize errors specific to this module

exception dissect.sql.InvalidSQL

Bases: Error

Base class for exceptions for this module. It is used to recognize errors specific to this module

exception dissect.sql.NoCellData

Bases: Error

Base class for exceptions for this module. It is used to recognize errors specific to this module

exception dissect.sql.NoWriteAheadLog

Bases: Error

Base class for exceptions for this module. It is used to recognize errors specific to this module

class dissect.sql.WAL(fh: BinaryIO)
fh
header
checksum_endian = '<'
frame
frames() collections.abc.Iterator[WALFrame]
checkpoints() list[WALCheckpoint]
class dissect.sql.SQLite3(fh: BinaryIO, wal_fh: BinaryIO | None = None)
fh
wal = None
header
encoding
page_size
usable_page_size
page
open_wal(fh: BinaryIO) None
table(name: str) Table | None
tables() collections.abc.Iterator[Table]
index(name: str) Index | None
indices() collections.abc.Iterator[Index]
raw_page(num: int) bytes
pages() collections.abc.Iterator[Page]
cells() collections.abc.Iterator[Cell]