docsumm-ai
One-line, opinionated document summarizer for PDFs, Word, or text — optimized for context retention, not token count.
Why docsumm-ai?
Summarizing long documents shouldn’t mean losing meaning.
Most tools today truncate context just to fit into token limits — resulting in shallow, inaccurate summaries.
docsumm-ai was built to fix that.
We designed it for researchers, analysts, and AI developers who care about both fidelity and efficiency.
It automatically adapts to document structure, ensuring retention of key insights from text, Word, or PDFs — in a single line.
What Makes It Different
✅ One-line summarize() — clean summaries with context retention
✅ Handles PDFs, DOCX, TXT — no format left behind
✅ Context-aware chunking — semantic segmentation, not blind splitting
✅ Adaptive compression — keeps the right level of detail per section
✅ CLI + Python API — works both in scripts and terminal
✅ Transparent JSON + Markdown output — reproducible and human-readable
Installation
pip install docsumm-ai
## Quickstart
1. Summarize a text file
from docsumm_ai import summarize
summary = summarize("annual_report.txt", mode="concise")
print(summary)
2. Summarize a PDF (CLI)
docsumm summarize my_report.pdf --mode detailed --out summary.md
## Output Example
Input:
“The study explores the correlation between urban growth and environmental impact across 32 global cities…”
Output:
“Analyzes 32 cities showing urban expansion drives higher emissions; highlights need for adaptive policies.”
---
## License
MIT License © 2025 Rohit Rajdev
Open for community collaboration and research integration.
🌐 Links
🔗 GitHub: https://github.com/RohitRajdev/docsumm-ai
✉️ Contact: rohitrajdev.com
🧠 Related project: dataprep-ai
Metadata
Release files for docsumm-ai 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| docsumm_ai-0.1.0.tar.gz | 6.5 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| docsumm_ai-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / docsumm_ai-0.1.0.tar.gz
| Download URL | docsumm_ai-0.1.0.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6c05439695b95057bfd77df176c2398be234d9ef396b7d2b805154e07557104
|
|
BLAKE2b-256 checksum How to use checksums |
8c07083b5528828e941f8a382d26860c329fb838f1f6a921485813f54cb82fcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2025.
Transparency logRelease files / docsumm_ai-0.1.0-py3-none-any.whl
| Download URL | docsumm_ai-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5469de08b76e652ec9b5ee26e05f8589bfd4379e0ef5d738ae39c59ff0feeaaa
|
|
BLAKE2b-256 checksum How to use checksums |
ba281401f16c35a1d9a7cce7341a123a0e30eab7956b52f76e543c50cef32497
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2025.
Transparency logSecurity for docsumm-ai 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for docsumm_ai-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.