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:
- Install uv:
$ curl -LsSf https://astral.sh/uv/install.sh | sh
- Clone this repository:
$ git clone git@github.com:eidorb/names.git
$ cd names
- Generate some names:
$ uv run -m names "seedy"
gravity
postage
salary
lobster
garden
- ๐
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98a86eb9e5ff8ffde4233c4cb22103eb285b11509c0feaf7fb3c0abc7c7986ac
|
|
| MD5 |
12f422ee2be29fcd09d2d346e342497f
|
|
| BLAKE2b-256 |
f77301587e770425508bdff9ee68cff0c996037a4b8fda8d44059dd7522d7ef2
|
Provenance
The following attestation bundles were made for om_names-0.1.0.tar.gz:
Publisher:
publish.yml on eidorb/names
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
om_names-0.1.0.tar.gz -
Subject digest:
98a86eb9e5ff8ffde4233c4cb22103eb285b11509c0feaf7fb3c0abc7c7986ac - Sigstore transparency entry: 153597468
- Sigstore integration time:
-
Permalink:
eidorb/names@16213804ab34d9c22220614ba0786f774a1df689 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/eidorb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@16213804ab34d9c22220614ba0786f774a1df689 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e7aaf25c19afa02ac69ad9bfad203c043e19f63af3dc802e161d941850e84494
|
|
| MD5 |
9c80d4ec20f1550e647357df2ed19147
|
|
| BLAKE2b-256 |
97232ab5c7868f7d02df0dc83d12afa15c71f91f2c9be4ab31d498d0b0fe09dc
|
Provenance
The following attestation bundles were made for om_names-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on eidorb/names
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
om_names-0.1.0-py3-none-any.whl -
Subject digest:
e7aaf25c19afa02ac69ad9bfad203c043e19f63af3dc802e161d941850e84494 - Sigstore transparency entry: 153597470
- Sigstore integration time:
-
Permalink:
eidorb/names@16213804ab34d9c22220614ba0786f774a1df689 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/eidorb
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@16213804ab34d9c22220614ba0786f774a1df689 -
Trigger Event:
release
-
Statement type: