The nanopub library provides a high-level, user-friendly python interface for searching, publishing and retracting nanopublications.
https://github.com/fair-workflows/nanopub
latest