Generate ULID using Python

ulid-py package

  1. Install ulid-py package from the command line:
pip install ulid-py
  1. Generate ULID:
import ulid

ulid_str = ulid.new().str
print(ulid_str)

Leave a Comment

Cancel reply

Your email address will not be published.