Examples not working

I have errors when trying examples:

https://git.duniter.org/clients/python/duniterpy/blob/dev/examples/create_public_key.py AttributeError: type object 'SigningKey' has no attribute 'from_credentials'

python3 create_and_publish_identity.py 
Traceback (most recent call last):
  File "create_and_publish_identity.py", line 5, in <module>
    from duniterpy.api.client import Client
ImportError: No module named 'duniterpy.api.client'

Could it be possible to update them according to current duniterpy ?

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information