Skip to main content

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

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)

Table of built distributions (wheels) for pyhaikunator 0.0.4
File Interpreter ABI Platform
pyhaikunator-0.0.4-py2.py3-none-any.whl Python 3, Python 2 none any Details

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

Release history Release notifications | RSS feed

This release

0.0.4 This release

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page