Metadata-Version: 2.4
Name: pepa-workers
Version: 0.9.0
Summary: Standalone tools that augment academic work: read and condense literature, map a field, find gaps, and outline an argument.
License-Expression: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: Pillow>=10.0.0
Requires-Dist: PyYAML>=6.0
Requires-Dist: anthropic
Requires-Dist: flask
Requires-Dist: hdbscan; python_version < "3.15"
Requires-Dist: markdown
Requires-Dist: markupsafe
Requires-Dist: numpy
Requires-Dist: openai
Requires-Dist: pdfplumber>=0.11
Requires-Dist: pillow
Requires-Dist: pypdfium2
Requires-Dist: pypdfium2>=5.0
Requires-Dist: pytesseract>=0.3.10
Requires-Dist: python-docx
Requires-Dist: pyyaml
Requires-Dist: rank-bm25
Requires-Dist: scikit-learn
Requires-Dist: spacy
Requires-Dist: umap-learn
Dynamic: license-file

# pepa-workers <img src="https://raw.githubusercontent.com/mashud37/pepa-workers/master/docs/logo.png" align="right" height="120" alt="" />

An ensemble of standalone tools that augment academic work where it helps: reading and condensing
literature, searching what has been read, mapping a field and finding its gaps, and outlining an
argument. Each worker is its own app with its own commands, so a researcher takes only the parts
they need; the judgement and the writing stay with them, and the workers add capacity for reading
and ideation.
Everything runs on one machine for one person; only language-model and embedding calls leave it.

## Layout

```
workers/
  pepa-prep/     PDFs (born-digital or scanned) to clean markdown, fully local
  pepa-sum/      each paper to a brief, a paragraph rundown, and verified quotes
  pepa-read/     SQLite/BM25 full-text index over prep and sum output, local web UI, literature lists
  pepa-review/   embedding index over the sum corpus; literature notes, gap checks and field maps
  pepa-plan/     an idea to a paragraph-by-paragraph outline, and feedback on a text's argument
  pepa-console/  the console that drives all of the above
workers.yaml     which apps the package ships and what each leaves out
bundle/          exports each app's committed files and writes the packaging files around them
cli/             the family's own commands: build, gate, smoke test, user trial, documentation pages
docs/            the logo, and the documentation site
manage.py        entrypoint: no arguments opens the menu
NEWS.md          what changed in each version
```

Each app keeps its own `manage.py`, requirements and README.

## Getting started

1. Install Python 3.10 or newer from [python.org](https://www.python.org/downloads/). On Windows,
   tick **Add python.exe to PATH** on the installer's first screen.
2. Open PowerShell (a terminal on macOS or Linux) and run:

```powershell
pip install pepa-workers
pepa-console
```

The console opens in the browser at `http://127.0.0.1:5190`. Its pages take the API keys and the
folders each worker reads and writes. Closing the PowerShell window stops it; `pepa-console`
starts it again, and `pip install --upgrade pepa-workers` updates every worker.

Every command also runs as `python -m pepa_workers` followed by its name, such as
`python -m pepa_workers console`. `pepa-console --cli` lists every worker in the terminal and opens
the one you choose.
