Meet Adele Mundy, Badass Space Librarian
Even fantasy librarians can be awesome.
For conspiring against the government of Cinnabar, her family was massacred; she is the sole survivor. She's a scholar, a librarian turned Signals Officer who has joined Daniel Leary, a lieutenant in the Republic of Cinnabar Navy (RCN) to battle against treacherous politicians, the Alliance, rebels, and all manner of galactic grief and peril. She is a master of information technology and spy craft. She likes weapons and knows how to use them.
Don't mess with Adele Mundy, sharpshooting librarian in space. More on this title, "Some Golden Harbor" by David Drake at BookTryst.