haikunator
Heroku like random name generator.
There is an djective and a noun list and it generates random name joining them by user provided delimiter.
Install
Just install using pip:
$ pip install pyhaikunator
Usage
from haikunator import Haikunator
Haikunator.haikunate() # <-- 'icy-dream-4198'
# drop random token at the end
Haikunator.haikunate(0) # <-- 'quiet-tree'
# supply a delimiter
Haikunator.haikunate(delimiter='~') # <-- 'shy-feather-4125'
# drop random token and supply delimiter at the same time
Haikunator.haikunate(0, ' ') # <-- 'wandering glitter'
# provide a larger range for random token at the end
Haikunator.haikunate(100000, '🐮') # <-- spring🐮pine🐮71030
Tests
Just run module:
$ python haikunator.py
License
MIT
Metadata
Release files for pyhaikunator 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyhaikunator-0.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for pyhaikunator-0.0.4-py2.py3-none-any.whl |
Release files / pyhaikunator-0.0.4-py2.py3-none-any.whl
| Download URL | pyhaikunator-0.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
8810016647e5e51757265e4eae19752c892622cb9ee5a1c11e9e921cd1529227
|
|
BLAKE2b-256 checksum How to use checksums |
f70e3c82db3c9404fcf9e9bb5f6921de8b2677b03f14fa880a2bc00892782d97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyhaikunator 0.0.4
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.