Name-a-toon
A Python library that exists to make generation of toon names slightly easier!
Installing
To install the latest version of name_a_toon, open your favorite command terminal and use the following command:
pip install name_a_toon
If for whatever reason you are unable to install name_a_toon through pip, you can also install it through the latest source distribution released on GitHub. Download the .whl file and open your favorite command terminal. Navigate to wherever the file was downloaded and run the following command:
pip install [file]
Usage
The primary (and really, only) use for name_a_toon is the naming of Toons using the the phase_3/etc/NameMasterEnglish.txt file. Any similarly formatted file will work just as well.
To access this file, extract phase_3 from the command line using Panda3d:
multify -xf phase_3.mf
After doing this, drag and drop phase_3/etc/NameMasterEnglish.txt into the directory with your Python files. For the rest of this guide, this file will be referred to as names.txt. Your directory should look similar to this:
| names.txt
| nametest.py
You can now open your Python file and program! Here's an example program that generates a random toon name:
import name_a_toon
namelist = name_a_toon.NameList.from_file("names.txt")
print(name_a_toon.Name.random(namelist).to_string())
License
Code in name_a_toon is licensed under the MIT License.
Metadata
Release files for name-a-toon 0.0.1
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 | |
|---|---|---|---|---|
| name_a_toon-0.0.1.tar.gz | 14.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| name_a_toon-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / name_a_toon-0.0.1.tar.gz
| Download URL | name_a_toon-0.0.1.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
976b0949c1992ce9304ea47e86b4e77cad39192bd625d28a6e4ed4e8a0a3cff1
|
|
BLAKE2b-256 checksum How to use checksums |
efab02c38ac2e5cf8ad5a4c23e353b2dd4f4b7c274a420b5ac3a0926404c7b40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Release files / name_a_toon-0.0.1-py3-none-any.whl
| Download URL | name_a_toon-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
62624835676cc0e2325338aa1f9b180f7ba9d8843b77b595f9981f431361b832
|
|
BLAKE2b-256 checksum How to use checksums |
c6f426f8a3bdfeda8286bc4f84940edc37131a7ef6d24a3b4cd6d4c2a276599d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.0
|
Security for name-a-toon 0.0.1
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.