Skip to main content

An API for naming things

Project description

Names

An API for exploring the essence of naming

Getting started

It's easy to start developing locally:

  1. Install uv:
$ curl -LsSf https://astral.sh/uv/install.sh | sh
  1. Clone this repository:
$ git clone git@github.com:eidorb/names.git
$ cd names
  1. Generate some names:
$ uv run -m names "seedy"
gravity
postage
salary
lobster
garden
  1. ๐Ÿ™‡

uv will find, install and update a suitable Python interpreter and Python package dependencies as required. It's pretty fast.

Alternatively, you could activate a shell in the environment:

$ uv sync
$ source .venv/bin/activate

And run commands as usual:

(om-names)$ python -m names --help

 Usage: names.py [OPTIONS] [SEED]

 Generates a random sequence of names, seeded with SEED.
 Name things in your collection using the same SEED. Increase --offset as the
 collection grows. (You can name up to 1633 things.)

โ•ญโ”€ Arguments โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚   seed      [SEED]  Use a fixed seed to ensure names are shuffled in the     โ”‚
โ”‚                     same order. It can be any value, even nothing. Just be   โ”‚
โ”‚                     sure to remember it.                                     โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€ Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --count                     INTEGER             Returns this many names.     โ”‚
โ”‚                                                 [default: 5]                 โ”‚
โ”‚ --offset                    INTEGER             Skip over this many names.   โ”‚
โ”‚                                                 [default: 0]                 โ”‚
โ”‚ --format                    [text|python|json]  [default: text]              โ”‚
โ”‚ --install-completion                            Install completion for the   โ”‚
โ”‚                                                 current shell.               โ”‚
โ”‚ --show-completion                               Show completion for the      โ”‚
โ”‚                                                 current shell, to copy it or โ”‚
โ”‚                                                 customize the installation.  โ”‚
โ”‚ --help                                          Show this message and exit.  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Deactivate when you're done:

(om-names)$ deactivate
$

Quick links

From the command line.

  • Actions

    open "https://github.com/eidorb/${PWD##*/}/actions"
    
  • Actions secrets

    open "https://github.com/eidorb/${PWD##*/}/settings/secrets/actions"
    

Some command line poetry

$ echo "write the most insightful and terse poem you can about the difficulties of " \
     "naming things using these words (be sure to include a valid http url link):\n" \
     "$(uv run -m names)" \
  | uvx llm -m grok-beta
In the realm of naming, a **spirit** soars,
A **toga** of words, a **concert** of thoughts.
A **period** of struggle, a **ranger** explores,
For the perfect name, a battle is fought.

[Explore the essence of naming](https://en.wikipedia.org/wiki/Naming)
graph TD
    START:::hidden --> ?
    END --> ? --> START
    ? --> END:::hidden

    classDef hidden display: none;

In the realm of naming, a spirit soars,
A toga of words, a concert of thoughts.
A period of struggle, a ranger explores,
For the perfect name, a battle is fought.

Explore the essence of naming

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

om_names-0.1.0.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

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

om_names-0.1.0-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file om_names-0.1.0.tar.gz.

File metadata

  • Download URL: om_names-0.1.0.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for om_names-0.1.0.tar.gz
Algorithm Hash digest
SHA256 98a86eb9e5ff8ffde4233c4cb22103eb285b11509c0feaf7fb3c0abc7c7986ac
MD5 12f422ee2be29fcd09d2d346e342497f
BLAKE2b-256 f77301587e770425508bdff9ee68cff0c996037a4b8fda8d44059dd7522d7ef2

See more details on using hashes here.

Provenance

The following attestation bundles were made for om_names-0.1.0.tar.gz:

Publisher: publish.yml on eidorb/names

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file om_names-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: om_names-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for om_names-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7aaf25c19afa02ac69ad9bfad203c043e19f63af3dc802e161d941850e84494
MD5 9c80d4ec20f1550e647357df2ed19147
BLAKE2b-256 97232ab5c7868f7d02df0dc83d12afa15c71f91f2c9be4ab31d498d0b0fe09dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for om_names-0.1.0-py3-none-any.whl:

Publisher: publish.yml on eidorb/names

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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