pdbfile module

class pdbstore.io.pdbfile.PDB(file_path: str | Path)

Bases: object

A Program Database (PDB) representation. This class provides access to :

  • PDB file’s GUID through guid data member as a string.

  • PDB file’s age through age` data member as an integer.

property age: int | None

Retrieve PDB file’s age.

Returns:

A string containing the PDB file’s age.

property guid: str

Retrieve PDB file’s GUID

Returns:

A string containing the PDB file’s GUID.

class pdbstore.io.pdbfile.RootStream(fps: IO[Any], page_size: int, stream_size: int)

Bases: object

A Root stream representation. This class provides access to api to properly extract all required information from PDB stream

parse_age() int | None

Extract PDB age from DBI stream.

Returns:

The PDB file’s age as an integer

parse_guid() str

Extract GUID from PDB stream (stream 1)

Returns:

The parsed GUID as a string