Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /Chainlit_chainlit /backend /chainlit /secret.py
| import secrets | |
| import string | |
| # Using punctuation, without chars that can break in the cli (quotes, backslash, backtick...) | |
| chars = string.ascii_letters + string.digits + "$%*,-./:=>?@^_~" | |
| def random_secret(length: int = 64): | |
| return "".join(secrets.choice(chars) for i in range(length)) | |
Xet Storage Details
- Size:
- 293 Bytes
- Xet hash:
- 6404f47b679c9217eace4da60595c0be46ed9dd48188b26b828bb5d37e47328f
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.