I am looking for a way to generate random bytes sampled from specified underlying distribution. e.g. bytes generated from a normal distribution with given mean and variance, bytes generated from poisson distribution with specified lambda and so on.
I've used numpy.random.bytes(...)
as far the documentation mentions, it generates random bytes which I presume are sampled from uniform distribution. However, I want a numpy based snippet to generate specified number of bytes from possibly any of the specified distributions listed numpy sampling distributions