Returns unique id from random chars. Default is 64 chars 0-9a-zA-Z aka base62.
pip install uqid from uqid import uqid, digits print(uqid()) # e7ljCIs4grYZ9tOv6bpX3TQIA7FyA23umzGjDcIjHff2XwF2ziAw56B7S3EdOuCA print(uqid(4, digits)) # 4982
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.