Textplay

Latest version: v1.1.5

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.4

What's New:
1. **Revamped TextPlay CLI**: The CLI now features a full suite of tools with intuitive keyboard navigation.
2. **Enhanced File & Folder Operations**: Manage your files and directories with newly added functions.
3. **Improved Backend**: New backend functions to boost performance and expand capabilities.
4. **New logo**: New Logo has been Created for the Project

CLI Highlights:
The new TextPlay CLI brings all the previously module-only features directly to your fingertips. Key enhancements include:
- **🔍 Google Search**: Execute web searches right from your terminal.
- **📡 Morse Code Encoder/Decoder**: Seamlessly encode and decode Morse code (CLI-to-CLI only).
- **🗂️ File & Folder Management**: Effortlessly perform operations on files and folders.
- **🔐 Password Generator**: Generate secure passwords with custom length settings.
- **🎨 Terminal Colors**: Explore and customize terminal color schemes.

For a deeper dive into these features, access the "Text Play Tools" option in the CLI or check out the [README.md](https://github.com/rakeshkanna-rk/textPlay).

0.1.3

textPlay has relaunched with new text features to make your project visually beautiful.

Features

- **Google Search 🔍:** This tool will search Google for a query and display the results. you can specify the number of results to display.

python
from textPlay import google_search

search_query = "Python programming"
top_results = google_search(search_query, num_results=3)
print(top_results)

- **Morse Code Encoder/Decoder 📣:** This tool will encode and decode a message using the morse code. It will automatically detect if the input is morse code or text.

python
from textPlay import morse

morse = Morse()

encoded_text = morse.coder("Hello, World!")
print("Encoded Text:", encoded_text)

decoded_text = morse.decoder(encoded_text)
print("Decoded Text:", decoded_text)


- **Box 📦:** This tool will print a box with a message and a title with specified length.

python
from textPlay import box

title = "Title"
content = ["word 1", "word 2"]
width_percentage = 99 Adjust as needed
box_with_title = create_box(title, content, width_percentage)
print(box_with_title)


- **Colors**: This tool will print text in different colors and styles.

python
from textPlay import colors

print(f"{RED}This is red text{RESET}")
print(f"{BG_GREEN}This has a green background{RESET}")
print(f"{BOLD}This is bold text{RESET}")


- **Options**: This tool will display a menu with options and handle user input for navigation and selection. Main function to display a menu with options and handle user input for navigation and selection.

python
from textPlay import options

options(option=[('Option A', lambda: print("Option A selected")),
('Option B', lambda: print("Option B selected")),
('Option C', lambda: print("Option C selected")),
('Option D', lambda: print("Option D selected"))],
index=">",
head="Select an option:")


• • • [View All](https://github.com/rakeshkanna-rk/textPlay/blob/main/README.md)

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.