Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
minhpng
/
test_python
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
1bc4c4f
test_python
/
libs
/
generate_api_key.py
minhpng
add app file
da7c758
6 months ago
raw
Copy download link
history
blame
Safe
116 Bytes
import
secrets
def
generate_api_key
():
print
([secrets.token_urlsafe(
40
)
for
_
in
range
(
3
)])
generate_api_key()