PlinderSystem#

class plinder.core.PlinderSystem(*, system_id: str, prune: bool = True)[source]#

Bases: object

Core class for interacting with a single system and its assets. Relies on the entry data to populate the system, system zips to obtain structure files, and the linked_structures archive for linked structures.

get_linked_structure(link_kind: str, link_id: str) str#

Get the path to the requested linked structure

Parameters:
link_kindstr

kind of linked structure (‘apo’ or ‘pred’)

link_idstr

id of linked structure

Returns:
str

path to linked structure