A python module that unscrambles characters into words
Project description
Word Unscrambler
This Python module, word_unscrambler, is a versatile and user-friendly tool designed to find all word combinations from a set of letters. This module provides a reliable way to find these combinations, handling various scenarios, including input validation and error handling.
Table of Contents
Installation
To use the word_unscrambler module, you can simply install it using pip from the command line. Make sure to install word_unscrambler to the right python version (3.x), otherwise it will not work. There is no need to install other modules, as the required modules will be install when you install it using pip.
pip install word_unscrambler
Usage
You can use the unscramble function provided by the word_unscramble module to discover which words can be made from any combination of characters. Here's a basic example:
import word_unscrambler as w
result = w.unscramble('enam')
print(result) # Output: ['name', 'amen', 'mean', 'mane']
Documentation
The word_unscrambler module includes detailed documentation in the form of docstrings. These docstrings provide information about the module's purpose, function arguments, return values, and usage examples. You can access this documentation using Python's built-in help() function or by viewing the docstrings directly in your code editor.
import word_unscrambler as w
help(w.unscramble)
Features
-
Input Validation: The module ensures that input is all in the same case.
-
Error Handling: If an invalid input is provided, the function will not break and will still return None.
-
Interactive Mode: When run as a script, the module enters an interactive mode, allowing users to unscramble any word of their choice.
-
Documentation: The module includes docstrings that provide information about its purpose, usage, and examples, making it easy for users to understand and use.
Contributing
Contributions to this project are welcome! If you'd like to improve the module, fix a bug, or add a new feature, please follow these steps:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and test them thoroughly.
- Commit your changes and push them to your fork.
- Open a pull request against the original repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.
This `README.md` file provides an overview of your project, including installation instructions, usage examples, documentation access, features, contribution guidelines, and licensing information. You can further customize it to match the specifics of your project if needed.
Project details
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 word_unscrambler-0.1.0.tar.gz.
File metadata
- Download URL: word_unscrambler-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
891f4cf866e565550810b5850536262230c4a238a074ba240c887a90632df814
|
|
| MD5 |
aa017debd36e3681963fceec616c905e
|
|
| BLAKE2b-256 |
5b4b8ecac03015d225562f52c375f99375487fe0dfedab868e2ab9639ea1a3d3
|
File details
Details for the file word_unscrambler-0.1.0-py3-none-any.whl.
File metadata
- Download URL: word_unscrambler-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d309f12ab72862d74ab47f0360347f0622e013efb466acd1621139284ded319
|
|
| MD5 |
95d62aed826d0b4f80b83a01f5ce6d87
|
|
| BLAKE2b-256 |
09f4642b9c59283a500d0814a37a15efd563a20af7d8a19c89482ba3d5d44d05
|