Spaces:
Sleeping
Sleeping
Download authentication/utils/generate_password.py from FerdinandPyCode/lambda_hf_v2: direct link, hf CLI and curl.
- Browser
- Download file 161 Bytes
-
https://huggingface.co/spaces/FerdinandPyCode/lambda_hf_v2/resolve/5a9cf99da77b79d41c18da90e0f6b8bd65948584/authentication/utils/generate_password.py
- Command line
-
hf download hf://spaces/FerdinandPyCode/lambda_hf_v2@5a9cf99da77b79d41c18da90e0f6b8bd65948584/authentication/utils/generate_password.py
-
curl -L -o generate_password.py https://huggingface.co/spaces/FerdinandPyCode/lambda_hf_v2/resolve/5a9cf99da77b79d41c18da90e0f6b8bd65948584/authentication/utils/generate_password.py
161 Bytes
| import random | |
| import string | |
| def random_pass_generator(length=4): | |
| password = ''.join(random.choice(string.digits) for i in range(length)) | |
| return password |