Is there any Library or api that can be done with a code with python and add changes in kibana Dashboard and how can we done changes through the code ?
It sounds like you are asking for the saved objects API: Saved objects APIs | Kibana Guide [7.16] | Elastic