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.
Metadata
Release files for awtax 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 | |
|---|---|---|---|---|
| awtax-0.1.0.tar.gz | 16.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| awtax-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 30.9 kB
Release files / awtax-0.1.0.tar.gz
| Download URL | awtax-0.1.0.tar.gz |
|---|---|
| Size | 16.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
32eca60b1141150f60b25d04ddac954ea4e7b2c3d1fe217f49a6db53e99355ca
|
|
BLAKE2b-256 checksum How to use checksums |
2120e70e40bcee4bfb46145f6f03556c19ec30721464bc520b34ac285b4df88d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / awtax-0.1.0-py3-none-any.whl
| Download URL | awtax-0.1.0-py3-none-any.whl |
|---|---|
| Size | 14.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2ad28ff6f0b59e84364411f75391a05cabce47667f7277aa63783a24ca437a0f
|
|
BLAKE2b-256 checksum How to use checksums |
415fb6ca016c9d431b0dde4e03f2af4f2ce43c20bcddeb8409d18e929a405c51
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for awtax 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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.