Text Statistics Counter is a Python application built with PyQt6 that provides real-time statistics for your text. It counts words, characters, and estimates pages while you type. The application also features a customizable "words per page" setting and the ability to save your text to a file.
- Real-time word count
- Real-time character count
- Dynamic page count estimation
- Customizable "words per page" setting
- Text saving functionality
- Python 3.6 or higher
- PyQt6
- Clone this repository or download the
text_stats_counter.py
file. - Install PyQt6 if you haven't already:
pip install PyQt6
- Run the script:
python text_stats_counter.py
- The application window will appear with a text input area.
- Start typing or paste your text into the input area.
- Observe the real-time updates of word count, character count, and page count.
- Adjust the "Words per page" value if needed to change the page count calculation.
- To save your text, click the "Save File" button and choose a location in the file dialog.
You can adjust the "Words per page" setting to match your specific formatting requirements. This will immediately update the page count estimation.
- Click the "Save File" button.
- Choose a location and filename in the dialog that appears.
- By default, files are saved as .txt, but you can choose other file types if needed.
Contributions to improve Text Statistics Counter are welcome. Please feel free to fork the repository and submit pull requests.
If you have any questions or suggestions, please open an issue in the GitHub repository.
Enjoy using Text Statistics Counter for your writing projects!