liblistloader
Library for loading word lists from files. Built for libnamegen
Features
- Easy to use
- Imported as module
- Always tested before release
- Officially supports latest two versions of Python 3
Included word lists
liblistloader.desiquintans_nounlist: The Great Noun List by desiquintans.com
How to Install
Run the command pip install liblistloader. If you want to specify a specific Python version to use for pip, use a command such as pip3 or pip3.8.
Documentation
API
To import a single list, type import liblistloader.[word list]. Then, you can get a list, each item being a word in the word list, by typing liblistloader.[word list].words.
WARNING! These lists are VERY long! For example, desiquintans_nounlist is 6,801 words long! Therefore, liblistloader.desiquintans_nounlist.words returns a list with 6,801 items in it. I would not recommend the following code for your sanity:
import liblistloader.desiquintans_nounlist
for word in liblistloader.desiquintans_nounlist.words:
print(word)
Output (total 6,801 lines):
ATM
CD
SUV
TV
aardvark
abacus
abbey
abbreviation
abdomen
...
Import all noun lists and pick a random word from a few:
import random
import liblistloader
print("desiquintans_nounlist: " + random.choice(liblistloader.desiquintans_nounlist.words))
Output (will vary because a random word is being picked):
desiquintans_nounlist: velocity
License
liblistloader is licensed under the GPLv3 license. For more information, please refer to LICENSE.
Metadata
Release files for liblistloader 1.0.1.post2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| liblistloader-1.0.1.post2.tar.gz | 40.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| liblistloader-1.0.1.post2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 80.1 kB
Release files / liblistloader-1.0.1.post2.tar.gz
| Download URL | liblistloader-1.0.1.post2.tar.gz |
|---|---|
| Size | 40.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1ae960143fbcc38047da6d812d2738623324f6a90306ab19cf270085fcc130fa
|
|
BLAKE2b-256 checksum How to use checksums |
2b48763d74e3e0318e0a1ba06992983106c59b3bbb4923fbb19ca396185c651f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Release files / liblistloader-1.0.1.post2-py3-none-any.whl
| Download URL | liblistloader-1.0.1.post2-py3-none-any.whl |
|---|---|
| Size | 39.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
242ddca30f0e20a92610e79e232f1d396e11ce6bd500183bfe3c5e5349d63c22
|
|
BLAKE2b-256 checksum How to use checksums |
35f486b7dcf603f2d9b74d9d98e3356ac8bc609a32edd3b15baf584893ba3b70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1
|
Security for liblistloader 1.0.1.post2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.