In programming literature and on internet in general I noticed frequent use of term "wrapping".
For example "to wrap library in classes" or to "wrap database". Is that official in programming or just a slang? And what is the best way to describe it?
"Wrap" is a standard English word meaning "Cover or enclose". Typically programmers use it to mean enclosing the functionality of something with something else. It's a fairly widely accepted term. There is no "official programming terms" guideline, so that's about as close as it gets.