Skip to content

Latest commit

 

History

History
54 lines (42 loc) · 1.87 KB

README.md

File metadata and controls

54 lines (42 loc) · 1.87 KB

Text Statistics Counter

Description

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.

Features

  • Real-time word count
  • Real-time character count
  • Dynamic page count estimation
  • Customizable "words per page" setting
  • Text saving functionality

Installation

Prerequisites

  • Python 3.6 or higher
  • PyQt6

Steps

  1. Clone this repository or download the text_stats_counter.py file.
  2. Install PyQt6 if you haven't already:
    pip install PyQt6
    

Usage

  1. Run the script:
    python text_stats_counter.py
    
  2. The application window will appear with a text input area.
  3. Start typing or paste your text into the input area.
  4. Observe the real-time updates of word count, character count, and page count.
  5. Adjust the "Words per page" value if needed to change the page count calculation.
  6. To save your text, click the "Save File" button and choose a location in the file dialog.

Customization

You can adjust the "Words per page" setting to match your specific formatting requirements. This will immediately update the page count estimation.

Saving Files

  • 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.

Contributing

Contributions to improve Text Statistics Counter are welcome. Please feel free to fork the repository and submit pull requests.

License

MIT License

Contact

If you have any questions or suggestions, please open an issue in the GitHub repository.

Enjoy using Text Statistics Counter for your writing projects!