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.1.tar.gz (12.5 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.1-py3-none-any.whl (17.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wikicodename-1.0.1.tar.gz
  • Upload date:
  • Size: 12.5 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.1.tar.gz
Algorithm Hash digest
SHA256 e3253d51d1f38382602e2e29dc80484315fe923523541af504eddbf34d6b025e
MD5 799a41531e9aafd6d74c3a762c4fd63d
BLAKE2b-256 4e6ab90538b79446de0e961194b623b519ad51c8b2b4305990fe6672e602c3e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wikicodename-1.0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 702a2fc1e424ab74ea9cf1c9fe3d6a43912b07804ca813115753cfd715d41d94
MD5 d2c2c07d6003abd9b724fcc1031213e0
BLAKE2b-256 8631561dc6515e4e99190fb3f2f34b96c01cc245e2f873879c0a136c1016cd66

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