swapview-0.1.0 is not a library.
swapview is a simple program to view processes' swap usage on Linux.
This is the version for daily use. For implementations in different programming languages, see swapview-rosetta.
Tips: you can continuously monitor swap usage in a terminal with