KDJ calculation methodologie

I am having trouble to obtain exact numbers for KDJ values. What is the mathematical methodology when the variables are 9,3,3? Which python library would be better to calculate it?

There are some libraries talking about KDJ indicator. There is no indicators from API directly, but the source data, like open price, close price can be fetched from our ticker endpoints.