Skip to main content

Generate code names using lists and tables from Wikipedia articles.

Project description

wikicodename

Generate code names using lists and tables from Wikipedia articles.

Installation

Use pip to install the application.

pip install wikicodename

Warning! On Windows you may need to set the PYTHONUTF8 environmental variable to 1 for the application to work properly.

Usage

Use wikicodename command to generate a list of code names for the default profile.

$ wikicodename
sugar-plum-winnipeg
bud-green-betim
livid-malolos
onyx-ituiutaba
alizarin-belem
pink-flamingo-tokai
tuscan-brown-glasgow
warm-black-getafe
hot-magenta-managua
field-drab-qingdao

Use --list-profiles flag to list all available profiles.

$ wikicodename --list-profiles
adjective
adjective-dinosaur
adjective-dinosaur-short
city
coctail
coffee
color
color-city
color-city-short
dinosaur
gwiazdozbior
main
women-scientist
women-scientist-transformed

Use --profile or -p flag to set a profile.

$ wikicodename --profile adjective-dinosaur
windy-yandangornis
wet-jiangjunosaurus
soft-muttaburrasaurus
starry-pleurocoelus
cool-gresslyosaurus
flat-lucianovenator
late-libycosaurus
long-arstanosaurus
busy-gigantosaurus
salty-dollodon

Use --count or -c flag to set a length of the generated list.

$ wikicodename --count 5
cultured-el-progreso
coral-baidyabati
yellow-green-olmaliq
indian-red-new-haven
infrared-madina

Use --sort or -s flag to sort the generated list.

$ wikicodename --sort
antique-ruby-lynn
black-shadows-toyota
cg-blue-tiaong
desert-sand-gorgan
fire-opal-bac-lieu
magic-mint-kyoto
middle-green-madurai
navy-blue-tsuchiura
purple-laayoune
sand-santa-clara

Use --help or -h flag for more information.

Defining a profile

You can define your own profile by creating a YAML file in the configuration directory.

The default configuration directory path is:

  • ~/.config/wikicodename for Linux,

  • ~/Library/Application Support/wikicodename for Mac OS X,

  • %localappdata%\wikicodename for Windows.

While you are there, please refer to main.yaml, city.yaml and gwiazdozbior.yaml files. They are well documented and will help you create your own profile.

You may also visit the "List of lists of lists" article for inspiration.

License

Please refer to the LICENSE file.

Project details


Download files

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

Source Distribution

wikicodename-1.0.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wikicodename-1.0.0-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wikicodename-1.0.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for wikicodename-1.0.0.tar.gz
Algorithm Hash digest
SHA256 fec6235c97901e5cacc636201bd00e6809653949673258be748e2a28fad1c3a9
MD5 9a76cd41a5fe57cf213ffad0459d8825
BLAKE2b-256 edeae55d22189e1a9a39868d7509dc9800df68dc5fa761c4291e96ece518bbec

See more details on using hashes here.

File details

Details for the file wikicodename-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: wikicodename-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.0.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for wikicodename-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cbf52c9ef00b56ff17231ad71a2baf2f084c8317ea9ef2e9207ee7321281058
MD5 32d0af2c114fb0424278fd2c5642f404
BLAKE2b-256 3766b06cd00d98b8a035ad00f65438bc8d7db4fd10f63c08401e64d83869cf20

See more details on using hashes here.

Supported by

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