word_identifiers
This is a bijection between non-negative integers and lists of words, in English. This is useful to quickly make urls or tokens.
Usage
>>> from word_identifiers import words_to_id, id_to_words
>>> id_to_words(76985270495720357)
['head', 'dance', 'bully', 'race', 'gate', 'color']
>>> words_to_id(['head', 'dance', 'bully', 'race', 'gate', 'color'])
76985270495720357
Wordlist
The wordlist used is this public domain wordlist, compiled by Michael Wehar.
Release files for word-identifiers 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| word-identifiers-1.0.0.tar.gz | 6.5 kB | Details |
Release files / word-identifiers-1.0.0.tar.gz
| Download URL | word-identifiers-1.0.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3195c3f16634664c8c0b1bbd324b41c489f0e8cb9f1fcb051799288f66215ac6
|
|
BLAKE2b-256 checksum How to use checksums |
48892377656e4a35741c5c71bebba08b4ef31e91ca5940f169d54202b11927b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.9
|