This is a python implementation of the did:self method
You can install from sources by invoking form the didself directory
python3 -m pip install -e .
This will install jwcrypto
package.
You can find example code in example.py
Refer to the Package documentation