Manager#

class pyncbitk.objmgr.ObjectManager#

The global object manager.

classmethod __new__(*args, **kwargs)#
__init__(*args, **kwargs)#
__reduce__()#

Helper for pickle.

scope()#

Create a new scope.

class pyncbitk.objmgr.Scope#

A handler for managing objects within a given scope.

This class works as a context manager to support adding data to the object manager for a given scope.

classmethod __new__(*args, **kwargs)#
__contains__(key, /)#

Return bool(key in self).

__getitem__(key, /)#

Return self[key].

__init__(*args, **kwargs)#
__reduce__()#

Helper for pickle.

close()#

Close the scope and release the associated data.