{"id":37072623,"url":"https://github.com/chigwell/text2structured-summary","last_synced_at":"2026-01-14T08:31:44.367Z","repository":{"id":329794323,"uuid":"1120689427","full_name":"chigwell/text2structured-summary","owner":"chigwell","description":"text2structured-summary generates structured summaries from unstructured text using an LLM.","archived":false,"fork":false,"pushed_at":"2025-12-21T18:35:04.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-23T07:35:58.889Z","etag":null,"topics":["automated-summarization","content-structuring","educational-content-integration","information-organization","knowledge-extraction","llm-response-variability-handling","llm-summarization","pattern-adherence","retries-and-diagnostics","structured-output-generation","text-analysis","unstructured-text-processing"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/text2structured-summary/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chigwell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-12-21T18:34:42.000Z","updated_at":"2025-12-21T18:35:19.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/chigwell/text2structured-summary","commit_stats":null,"previous_names":["chigwell/text2structured-summary"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/chigwell/text2structured-summary","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Ftext2structured-summary","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Ftext2structured-summary/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Ftext2structured-summary/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Ftext2structured-summary/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chigwell","download_url":"https://codeload.github.com/chigwell/text2structured-summary/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chigwell%2Ftext2structured-summary/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28414179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T08:31:27.429Z","status":"ssl_error","status_checked_at":"2026-01-14T08:31:19.098Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automated-summarization","content-structuring","educational-content-integration","information-organization","knowledge-extraction","llm-response-variability-handling","llm-summarization","pattern-adherence","retries-and-diagnostics","structured-output-generation","text-analysis","unstructured-text-processing"],"created_at":"2026-01-14T08:31:43.685Z","updated_at":"2026-01-14T08:31:44.353Z","avatar_url":"https://github.com/chigwell.png","language":"Python","readme":"# text2structured_summary\n[![PyPI version](https://badge.fury.io/py/text2structured-summary.svg)](https://badge.fury.io/py/text2structured-summary)\n[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT)\n[![Downloads](https://static.pepy.tech/badge/text2structured-summary)](https://pepy.tech/project/text2structured-summary)\n[![LinkedIn](https://img.shields.io/badge/LinkedIn-blue)](https://www.linkedin.com/in/eugene-evstafev-716669181/)\n\n\nGenerate structured summaries from unstructured text using an LLM.\n\n## Installation\n\n```bash\npip install text2structured_summary\n```\n\n## Usage\n\n```python\nfrom text2structured_summary import text2structured_summary\n\n# Basic usage with default LLM7\nresponse = text2structured_summary(\n    user_input=\"Your unstructured text here...\"\n)\n\n# With custom LLM (e.g., OpenAI)\nfrom langchain_openai import ChatOpenAI\nfrom text2structured_summary import text2structured_summary\n\nllm = ChatOpenAI()\nresponse = text2structured_summary(\n    user_input=\"Your unstructured text...\",\n    llm=llm\n)\n\n# With custom API key (LLM7)\nresponse = text2structured_summary(\n    user_input=\"Your unstructured text...\",\n    api_key=\"your_llm7_api_key\"\n)\n```\n\n## Parameters\n\n- `user_input` (str): The unstructured text to be summarized\n- `api_key` (Optional[str]): LLM7 API key (defaults to environment variable `LLM7_API_KEY`)\n- `llm` (Optional[BaseChatModel]): Custom LangChain LLM instance (defaults to ChatLLM7)\n\n## Features\n\n- Uses LLM7 by default (free tier sufficient for most use cases)\n- Supports custom LLMs via LangChain interface\n- Returns structured summaries matching predefined pattern\n- Automatic API key fallback from environment variables\n\n## Getting Started\n\n1. Install the package\n2. Call `text2structured_summary()` with your text\n3. Get structured output matching the package's pattern\n\n## Notes\n\n- For LLM7, register at [https://token.llm7.io/](https://token.llm7.io/) for your API key\n- The default pattern ensures structured output format\n- Custom LLMs must implement LangChain's BaseChatModel interface\n\n## Issues\n\nReport issues at: [https://github.com/chigwell/text2structured-summary/issues](https://github.com/chigwell/text2structured-summary/issues)\n\n## Author\n\nEugene Evstafev (hi@euegne.plus)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchigwell%2Ftext2structured-summary","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchigwell%2Ftext2structured-summary","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchigwell%2Ftext2structured-summary/lists"}