Metadata-Version: 2.4
Name: textstatscomp
Version: 0.1.1
Summary: A simple text statistics analyzer for Python
Author-email: Parthiv Godrihal <parthivgod@gmail.com>
License: MIT
Keywords: text,statistics,nlp,analysis,word-count
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Text Processing :: Linguistic
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# TextStats

A lightweight Python package for text statistics and analysis.

# installation 
pip install textstatscomp

## Quick Start

from textstats import TextStats

text = "Your text here. This is a sample sentence."

Create analyzer
stats = TextStats(text)

Get statistics
print(f"Words: {stats.word_count()}")
print(f"Sentences: {stats.sentence_count()}")
print(f"Lexical Diversity: {stats.lexical_diversity()}")

Print full report
stats.print_report()
## Features

- Word, character, sentence, and paragraph counts
- Vocabulary analysis and lexical diversity
- Word frequency distribution
- Reading time estimation
- No external dependencies

## License

MIT License

