Skip to main content

Mnemonics for ID, eg. Versioning.

Project description

Mnemonic Version Names

I have always wondered if it was easier to remember (and distinguish between) numbers like 48 and 32 in contrast with names like holmes and geneva. This program is a little experiment to generate an easy plugin to situations where a random hex or a numeric iterator is a natural decision for lack of a better choice. For example,

from vernemic import names
for name in names(count) :
  pass
  
# or
for i, name in enumerate(names(count, sorted)) :
  pass

# instead of 
for i in range(count) :
  pass

Sorted with cycle

The version names start with a, b ... and start back again from the top. Its not as if each character is repeated; but whatever is available is cycled. For example,

['amandi', 'burdett', 'clothilde', 'encratis',
 'georglana', 'inglis', 'jaquiss', 'kondon', 'lunn',
 'maure', 'ponzo', 'sally', 'erland', 'gladys',
 'justin', 'lyns', 'sussi', 'gunzburg', 'gyasi']

Design Choices

Corpus

The names corpus is taken from the Moby II project

Folder Structure

By default ROOT=~/.moby

ROOT
+-  moby.tar.Z
\-  Moby
    +-  [...]
    \-  mwords
        +-  [...]
        +-  21986na.mes

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

vernemic-1.0.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

vernemic-1.0.1-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

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