The package description shown in Synaptic Package Manager tells about nettle:
Nettle is a cryptographic library that is designed to fit easily in more or less any context: In crypto toolkits for object-oriented languages (C++, Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space.
but I was not able to find a Python wrapper for it on Internet. How do I control it from Python?
Thanks to Vandan Revanur for the comment and the link to github python-nettle where you can download the .zip archive with the module.
The installation of the module can be done as described in README.md file and requires running of two python scripts. Below an excerpt from an IDLE session showing what the modules comes with:
It seems that there is no documentation coming with the module, but it is easy to find out how to work with it. Below an example of creating of MD5:
Update 2023-02-21: the nettle URL does in between list the available Python wrapper module.