Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
ruslanmv
/
matrix-builder
like
0
Running
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
matrix-builder
/
services
/
api
/
app
/
utils
/
slugs.py
ruslanmv
Deploy: metrics + docs (Batch 12)
22b729d
25 days ago
Raw
Download with hf CLI
Copy download link
History
Blame
Contribute
Delete
142 Bytes
import
re
def
slugify
(
value:
str
) ->
str
:
slug = re.sub(
r"[^a-z0-9]+"
,
"-"
, value.lower()).strip(
"-"
)
return
slug
or
"matrix-bundle"