Create plugin for Sentry: how to?

Hello Sentry community,
I was wondering whether is it possible to

create and use an own plugin

for Sentry.

I would like to create an open source plugin for analyzing the history of a project, by loading a file containing the collection of logs/errors/exceptions coming from that software.

Can you give me some heads up?
Best regards,