Skip to main content

Lightweight text analysis toolkit for extracting keywords, insights, and readability metrics

Project description

hekaos-text-insights

Lightweight, zero-dependency Python package for extracting keywords, insights, and readability metrics from text.

Installation

pip install hekaos-text-insights

Quick Start

from hekaos_text_insights import analyze_text

text = """
I am a Python developer with 5 years of experience in backend development.
I have built RESTful APIs using Django and Flask. I led a team of 3 engineers
to deliver a microservices architecture that improved system performance by 40%.
"""

result = analyze_text(text)
print(result)

Output:

{
  "keywords": ["python", "backend", "experience", "apis", "django", "flask", "led", "team", "engineers"],
  "insights": [
    "Mentions technical skills",
    "Shows leadership experience",
    "Highlights achievements"
  ],
  "readability_score": 45
}

Features

  • Keywords Extraction: Identifies top terms using frequency analysis
  • Insights Generation: Detects patterns related to skills, achievements, leadership, etc.
  • Readability Score: Calculates Flesch Reading Ease (0-100 scale)

API Reference

analyze_text(text: str) -> dict

Analyzes input text and returns structured data.

Parameters:

  • text (str): Raw text to analyze

Returns:

  • dict with keys:
    • keywords (list): Top keywords
    • insights (list): Auto-generated insights
    • readability_score (int): Flesch Reading Ease score

Raises:

  • TypeError: If input is not a string

Readability Score Guide

  • 90-100: Very easy to read
  • 60-70: Standard/conversational
  • 30-50: Difficult
  • 0-30: Very difficult

Requirements

  • Python 3.8+
  • No external dependencies

License

MIT License - see LICENSE file for details.

Contributing

Issues and pull requests welcome at GitHub.

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

hekaos_text_insights-0.1.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hekaos_text_insights-0.1.0-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

File details

Details for the file hekaos_text_insights-0.1.0.tar.gz.

File metadata

  • Download URL: hekaos_text_insights-0.1.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for hekaos_text_insights-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ccad5a023d1db061b80d401107d4972be1ffef24b8a35bb1e66e18da29315b54
MD5 bc8ece6a6ba0a43e3a3babe048ffa7b1
BLAKE2b-256 08854afaf5c4efe0329c16fc926f135c529a4a003471aa625c508c1af195d72b

See more details on using hashes here.

File details

Details for the file hekaos_text_insights-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for hekaos_text_insights-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f596c9d9a9a9f966b9efef962e5458bb02e641ca83dd4d7b2606abec66f59cc
MD5 482ddb9b2a384f5e8bacf352bd606b54
BLAKE2b-256 c3b9da75b237531bfd5c8b3250a86d5b06b2b5448acc8c9f3efa3d81f0d09330

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page