cuteuid
Generate cute UIDs, i.e. unique(ish) identifiers that are similar in appearance to UUIDs.
Usage
from cuteuid import generate_cuteuid
generate_cuteuid() # 1337 UID
# 3xampl3a-boy1-goa1-5ucc33dd3p7h
# d1v151on-5ho3-1w31-d1571ngu15ha
# 7ak351h3-k33p-175a-5ympa7h371c1
generate_cuteuid(hex_only=True) # 1337 UID (hex only)
# 10adca9a-4057-5a13-901171ca1136
# 0ff1c1a1-50f7-f33d-43517a73b3d1
# ad01053a-9057-7311-c411d400da50
generate_cuteuid(emoji=True) # EmojiUID
# ⛹♂️🧜♂️⬜️3️⃣📏🧹🤴🗾➖🇵🇰📔💹🌳➖🇮🇴🐅🛂🇹🇱➖🇧🇱🗾🕣💿👱♀️💞❗️👷🇸🇪🤤🏄♂️🍲
# 🏅🧫🏋♂️🇹🇱👫🇦🇱🇹🇩🇪🇺➖😚🤽♂️👂💮➖👩🔬😨👭🇦🇩➖🦏🔷🇵🇦🎁😓🥗🥵🤾♀️🧗♀️😽🛵🗺
# 👅🏧🙅♂️🚇📘🚕👭⛹️♀️➖🤽♀️🕵️♂️🏌♀️🦘➖🏄♂️👨💻🈴🎗➖💕💂♂️🏳️🧐😥🇬🇳💀🤕🔻🙆🍟🇵🇼
generate_cuteuid( # EmojiUID (flags only)
emoji=True,
flags_only=True
)
# 🇱🇧🇼🇸🇮🇹🇲🇳🇬🇹🇦🇲🇬🇶🇬🇾➖🇸🇧🇲🇺🇧🇬🇸🇱➖🇮🇸🏁🇪🇺🇱🇻➖🇿🇲🏴🇸🇸🇵🇲🇬🇶🇧🇬🇳🇮🇲🇰🇿🇼🇸🇭🇬🇶🇮🇴
# 🇱🇮🇮🇸🇼🇫🇹🇩🇵🇫🚩🇧🇫🇬🇶➖🇨🇰🇲🇪🇫🇯🇿🇦➖🇬🇱🇹🇬🇶🇦🇳🇨➖🇿🇼🇲🇬🇸🇮🇬🇭🇺🇬🇧🇦🏴🇹🇹🇻🇺🇳🇴🇧🇶🇹🇻
# 🇲🇦🇬🇶🇧🇱🏴🇹🇻🇱🇷🇻🇳🇲🇾➖🇪🇬🇸🇦🇧🇫🇨🇺➖🇨🇻🇻🇨🇺🇿🇫🇷➖🇹🇩🇲🇷🇸🇰🏴☠️🇷🇸🎌🇰🇪🇹🇲🇨🇲🇨🇴🇬🇸🏁
generate_cuteuid( # EmojiUID (smileys only)
emoji=True,
smileys_only=True
)
# 😇😠😲😢😚😐😝😌➖🙁🤮😣🙁➖🥰😑🤡🤥➖🙁😞😐🤢🤢🤬😂😒🤢😚😰😍
# 😥🤫😨🤢😔😧😩😶➖😰😙🥴😄➖😑😨😲🥴➖😰😲🥳😭🙁😟😚😀😶🤠🤥😄
# 😬🤢🤓🤠🤢😥😪😑➖🥴🙄😠😢➖🙃😆😊🤥➖🤯😒😢🥶😨😌😧🙁😮😣🤭😔
Preprocess
To rerun 1337 preprocesing, update preprocess.py to point WORDLIST_URL to a URL containing a valid JSON list of words and (from the cuteuid directory) run:
python3 src/preprocess.py
Disclaimer
This project is intended for entertainment purposes only - it is not recommended for use in your production or intended as a replacement to existing UUID generation mechanisms. It might be a fun thing to include in your non-mission critical personal project(s), provided you're the right kind of weird.
License
The MIT License (MIT)
Copyright (c) 2019 Alex Redmon
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Metadata
Release files for cuteuid-alexredmon 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cuteuid-alexredmon-0.0.10.tar.gz | 29.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cuteuid_alexredmon-0.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 59.3 kB
Release files / cuteuid-alexredmon-0.0.10.tar.gz
| Download URL | cuteuid-alexredmon-0.0.10.tar.gz |
|---|---|
| Size | 29.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
200d204039f5f0ec8e484bc5bf3e4586f8c48aa1a1b5440277937697c4827cab
|
|
BLAKE2b-256 checksum How to use checksums |
f46e40c1e7339a89bf2d95164e510b4eac3ac6be2fdf174e37bde063c086e9b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
|
Release files / cuteuid_alexredmon-0.0.10-py3-none-any.whl
| Download URL | cuteuid_alexredmon-0.0.10-py3-none-any.whl |
|---|---|
| Size | 29.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aed36f7360120d464b311273bd5c169dbefddf4a93f1eacd6912fcbe6db5b370
|
|
BLAKE2b-256 checksum How to use checksums |
998724186aa16926dedcc9e8dea561b454900d2596508441bb9dceb12a97e580
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/42.0.2 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.5
|
Security for cuteuid-alexredmon 0.0.10
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.