The PreludeDB Library provides an abstraction layer upon the type and format of the database used to store Prelude (IDMEF) events. Prelude is a hybrid Intrusion Detection framework implementing an open communication layer for use by any security application. The library allows developers to use the Prelude IDMEF database easily and efficiently without worrying about SQL, and independently of the type/format of the database used.