fardinsabid/aleam ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python package called Aleam that gives true random numbers for AI and machine learning, with a C++ core under the hood.
I want it to be easy to install and use like import aleam as al, then rng = al.Aleam() and methods like random(), random_uint64(), randint(), choice(), shuffle(), sample(), random_bytes(), and a few common distributions like uniform and Gaussian. It should feel stateless and non recursive, and use secure entropy plus a cryptographic hash so each call is independent.
Please make the package work cleanly on CPU, and include whatever is needed for GPU support if the project already expects that. Add simple examples, tests, and clear README docs so someone can try it right away. If you need to check current docs or best practices for packaging, look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit