frdeso / qngng

The Queb name generator: next generation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

qngng

Table of Contents

qngng

qngng is the Queb name generator: next generation.

This is a fork (and then essentially a rewrite) of the more basic qng project which includes more options.

Unfortunately, the qng maintainer is unresponsive and won’t follow up with community contributions, so this fork is necessary.

Features

  • Generate a random Queb name from lists of popular Queb first names and surnames, from an existing UDA directory member name, and/or from other lists:

    $ qngng
    Théodore Banville
    $ qngng --cat=uda-singers
    Daniel Boucher
    $ qngng --cat=lbl
    Stéphane-Albert Boulais
    $ qngng --cat=icip
    René Homier-Roy

    You can mix categories:

    $ qngng --cat=uda-singers --cat=std
    Karl-Hugo Van De Kerckhove

    The available categories are:

    all

    All the categories.

    d31

    District 31 characters.

    dug

    Dans une galaxie près de chez vous characters.

    icip

    ICI Première personalities.

    lbl

    La bête lumineuse characters.

    sn

    Série noire characters.

    std

    Popular first names and surnames.

    uda

    UDA member names.

    uda-actors

    UDA actor member names.

    uda-hosts

    UDA host member names.

    uda-singers

    UDA singer member names.

  • Generate a random male or female name:

    $ qngng --female
    Karen Cusson
    $ qngng --male --cat=uda-hosts
    Claude Poirier
  • For the std (default) category, generate a double-barreled surname, a middle name, or a middle initial:

    $ qngng --double-surname
    Josiane Fiset-Bellerose
    $ qngng --middle-name --female
    Geneviève Margot Chartier
    $ qngng --middle-initial
    Coralie D. Trépanier
  • Print the generated name with various formats:

    $ qngng --snake-case
    laura_viau
    $ qngng --kebab-case --cat=uda
    michel-mpambara
    $ qngng --camel-case --female --double-surname
    clemenceBriseboisGroulx
    $ qngng --cap-camel-case --male --cat=sn
    MarcArcand

See qngng --help for the complete list of options.

Install qngng

To install qngng on the system:

  • Use pip3:

    $ sudo pip3 install --upgrade qngng

To install qngng in your home directory:

  • Use pip3:

    $ pip3 install --user --upgrade qngng

    The commands are installed in ~/.local/bin.

Name sources

The data sources of qngng are:

d31 category

IMDB’s District 31.

dug category

FANDOM’s Dans une galaxie près de chez vous wiki.

icip category

List of ICI Première shows.

lbl category

IMDB’s La bête lumineuse.

sn category

Série noire on Qui Joue Qui?.

std category

L’Institut de la statistique for surnames and PrénomsQuébec.ca for first names (who in turn get their data from Retraite Québec’s Banque de prénoms).

uda* categories

April 2019 UDA directory.

About

The Queb name generator: next generation

License:MIT License


Languages

Language:Python 100.0%