awtax
Turn any tax PDF — returns, W-2, 1099, statements, even scans — into structured data you can check.
Your own tax data gets locked inside one vendor's encrypted format, and a filed return or a mailed W-2 is a PDF nobody's code can read — half of them are scans with no text layer at all. Getting your own numbers back out means re-typing them or re-buying the app that sealed them.
awtax reads the document. It does not give tax advice — it hands you every figure, the page
it came from, and whether the arithmetic checks out.
git clone https://github.com/Aitherium/awtax && cd awtax && pip install -e .
awtax path/to/return.pdf # -> structured JSON on stdout
Not on PyPI yet, so
pip install awtaxdoes not work — that name resolves to nothing today. Install from the clone until a release exists.
What you get
- Provider-neutral schema — every figure carries its
page, itssource(text/vision/ocr), and aconfidence. A tax number with no provenance is a number nobody can check. - Arithmetic self-checks —
taxable = AGI − deduction,refund = payments − tax. A figure that fails the identity it is defined by is flagged, not trusted. The CLI exits3when anything needs review — silence is not a pass. - Scans handled — a page with no text layer routes to
awvision(a vision model reads the form fields structurally, far better than raw OCR), with a localtesseractfallback for fully-offline use. If neither is available you get an explicitneeds_review— never a silent zero. (That silent-zero-on-a-scan failure is exactly what this fixes.)
Scan backends (optional)
| backend | how | when |
|---|---|---|
| awvision (preferred) | pip install -e '.[vision]' from the clone, pass --endpoint |
a vision model extracts fields as JSON |
| tesseract (offline fallback) | install the tesseract system binary |
no network / no vision endpoint |
| neither | — | pages return needs_review with a reason |
Where awtax stops, and the premium packs begin
awtax is the open-source extraction core. Preparation, deduction discovery, worksheets, ledgers
and CPA-ready output are the premium TaxDesk agent / skill / tool packs that compose on top via
awpack / awskills. awtax reads; the packs advise.
Status
0.1.0 — reads native-text 1040 pages and scanned W-2s, self-validates, degrades gracefully.
Known next work: 1040-vs-1040-X disambiguation on multi-form packets, richer 1099 coverage,
and native-text W-2 parsing. MIT licensed.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file awtax-0.1.0.tar.gz.
File metadata
- Download URL: awtax-0.1.0.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32eca60b1141150f60b25d04ddac954ea4e7b2c3d1fe217f49a6db53e99355ca
|
|
| MD5 |
fe9adfea6c09ca11ef97d774196cc21f
|
|
| BLAKE2b-256 |
2120e70e40bcee4bfb46145f6f03556c19ec30721464bc520b34ac285b4df88d
|
File details
Details for the file awtax-0.1.0-py3-none-any.whl.
File metadata
- Download URL: awtax-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ad28ff6f0b59e84364411f75391a05cabce47667f7277aa63783a24ca437a0f
|
|
| MD5 |
791e9d5994a7f0d92f5273def902b1b3
|
|
| BLAKE2b-256 |
415fb6ca016c9d431b0dde4e03f2af4f2ce43c20bcddeb8409d18e929a405c51
|