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:

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hostnamegen-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file hostnamegen-1.0.0.tar.gz.

File metadata

  • Download URL: hostnamegen-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for hostnamegen-1.0.0.tar.gz
Algorithm Hash digest
SHA256 77229ea7645d900bae3dc663410a6d0cfead7005c791300d6dfaa9a976562770
MD5 7935517c991c41ed6e8907119d011270
BLAKE2b-256 6579f77ce398d6c8e7c41268f498908120c518bf85bc35330d2f4e614e25a466

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 file

0.9.0

3 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page