Given the values of sampled units and selection probabilities the desraj function in the package computes the estimated value of the total as well as estimated variance.
conda install r::r-fpest