Get a predictable coolname from any Python object
Project description
get-a-coolname
Get a predictable coolname from any Python object.
Installation
pip install get-a-coolname
Usage
from get_a_coolname import get_a_coolname
# Deterministic: same seed always gives the same name
get_a_coolname((42, "pythons", float))
# => 'solemn_pants_resize_lightly'
# Random: no seed, different name each time
get_a_coolname()
# => 'jovial_tigers_hug_silently'
# camelCase output
get_a_coolname(seed="hello", camel=True)
# => 'pinkWhalesSkateBeautifully'
# Pick which components to include
get_a_coolname(seed="x", noun=False, adverb=False)
# => 'stunning_spell'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
get_a_coolname-1.0.0.tar.gz
(4.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file get_a_coolname-1.0.0.tar.gz.
File metadata
- Download URL: get_a_coolname-1.0.0.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b42f7ac32a5485d5978c70b7bb09ce74f247625976e0c496038dd7749c5488c3
|
|
| MD5 |
ef7db15b7f6167399a4953f3da5ea735
|
|
| BLAKE2b-256 |
16284e319d2230adaf6216e11e3280f6023b3a0c93119ea8a9c896da2cfb2682
|
File details
Details for the file get_a_coolname-1.0.0-py3-none-any.whl.
File metadata
- Download URL: get_a_coolname-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87606f50f75a7ccb1340944b8177e7ce3e4aba7e1c2f6f27d97ef25eb8262481
|
|
| MD5 |
3b8a0ca2e531a547ce1a3756382fe203
|
|
| BLAKE2b-256 |
361e14f2a660e5c27682231082611c7392eaeb28bb410e09fa587e226dbc5a0c
|