/usr/lib/python3/dist-packages/nanomsg/version.py is in python3-nanomsg 1.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1
__version__ = '1.0'