A tool for generating human-readable, multilingual fantasy character names based on input string hashes.
Project description
Myth Hash
Myth Hash is aPython package designed to create human-readable hashes that are not only functional but also cognitively engaging. A key feature of this tool is its multilingual support, enabling the generation of hashes in multiple languages. The concept behind these human-readable hashes is to enhance communication and recognition by creating hashes that form vivid, memorable mental images. The goal is to make the hash as human-compatible as possible, ensuring it effectively serves its purpose in an intuitive and user-friendly manner.
Features
- Character Name Generation: Generates a unique fantasy name based on an input string.
- Supported Languages: Currently supports English (
en) and German (de). - CLI Support: Easily generate names via the command line.
- Library Usage: Integrate
Myth Hashinto your Python projects. - Customizable Data: Modify the included JSON files to customize the generated names.
Installation
You can install Myth Hash using pip:
pip install myth-hash
Usage
Command Line Interface (CLI)
After installing the package, you can use the myth-hash command to generate fantasy names.
Basic Example:
myth-hash "The moon whispered secrets, but only the cats understood."
Example Output:
exotic-thoughtful-Griffin
Using as a Library
You can also use Myth Hash within your Python code:
Example:
import myth_hash
# Generate a character name using the hash_name function
name_parts = myth_hash.hash_name("The moon whispered secrets, but only the cats understood.", "en")
print(name_parts) # Output: ('exotic', 'thoughtful', 'Griffin')
# Access individual parts of the name
physical_attr, personality_attr, mystical_creature = name_parts
print(f"Physical Attribute: {physical_attr}")
print(f"Personality Trait: {personality_attr}")
print(f"Mystical Creature: {mystical_creature}")
Contributing
Contributions are welcome! Please fork the repository, create a new branch for your feature or bug fix, and submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
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 myth-hash-0.1.0.tar.gz.
File metadata
- Download URL: myth-hash-0.1.0.tar.gz
- Upload date:
- Size: 23.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
de85966afbe0f978c79a4efc0c62a17546b6a5a129653d349761c994423639ef
|
|
| MD5 |
5c318dabcbc353b8d899364144405f53
|
|
| BLAKE2b-256 |
62a1761d466d8fa16596afb50901c51d85675005c78cab5cb049d55fafcde081
|
File details
Details for the file myth_hash-0.1.0-py3-none-any.whl.
File metadata
- Download URL: myth_hash-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
67c6f5751d9aeaf53c46814b61eaa91b5e32d1c958b8246e269ff25924d96c34
|
|
| MD5 |
0671013ca2cdb052419e6e5aad661faa
|
|
| BLAKE2b-256 |
2c5da976afe51f3fbca0cc2ad0d26a561a7d8654895fe6d234c32308c7ec320b
|