Skip to main content

hostnamegen

About

This little tool generates random host names that make sense. It is a complementary library for namechanger.

Installation

Easiest way is by pulling from PyPI:

pip3 install hostnamegen

Usage

Random host name with defaults

$ hostnamegen
HOLZAPFEL-W3WS1Q

Ten random names using Japanese locale and selected classes

$ hostnamegen -lja_JP -n10 -d";" -cFirstNameDesktop,CompanyDesktop
GONG-ZE-DIAN-QI-YOU-XIAN-HUI-SHE-Y88FW4;HE-TONG-HUI-SHE-JIN-TENG-YIN-XING-1SW7YY;Liang-jie;Zhi-shu;Ying-shu;Yi;ZHONG-DAO-YIN-SHUA-ZHU-SHI-HUI-SHE-641IAN;YOU-XIAN-HUI-SHE-TIAN-BIAN-KUANG-YE-3AAQ5Q;QI-TENG-GASUZHU-SHI-HUI-SHE-1SH0DN;Yang-yi

List available classes

$ hostnamegen -cl
CompanyDesktop, FirstNameDesktop, WindowsDefault

List available locale

$ hostnamegen -ll
ar_EG, bg_BG, bs_BA, cs_CZ, de_DE, el_GR, en_US, es_ES, et_EE, fa_IR, fi_FI, fr_FR, hi_IN, hr_HR, hu_HU, it_IT, ja_JP, ko_KR, lt_LT, lv_LV, nl_NL, pl_PL, pt_BR, ro_RO, ru_RU, sl_SI, sv_SE, tr_TR, uk_UA, zh_CN

Legal

Contact

In case you feel the need to get in touch:

Metadata

Release files for hostnamegen 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hostnamegen 1.0.0
File Size Uploaded
hostnamegen-1.0.0.tar.gz 3.7 kB Details

Release files / hostnamegen-1.0.0.tar.gz

Download URL hostnamegen-1.0.0.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
77229ea7645d900bae3dc663410a6d0cfead7005c791300d6dfaa9a976562770
BLAKE2b-256 checksum
How to use checksums
6579f77ce398d6c8e7c41268f498908120c518bf85bc35330d2f4e614e25a466
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.7

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

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