Generate CUID using Python

cuid package

  1. Install cuid package from the command line:
pip install cuid
  1. Generate CUID:
import cuid

cuidStr = cuid.cuid()
print(cuidStr)

Leave a Comment

Cancel reply

Your email address will not be published.