Tax Court Opinion Search
A small desktop GUI for searching the full text of U.S. Tax Court opinions (1995 to present, updated monthly) — no coding required.
Features
- Search across all opinions with plain text or a full regex pattern
- Plain-text search supports multiple terms (AND logic),
"quoted phrases"for exact word sequences, and a-termprefix to exclude opinions containing that term - Matching is case-insensitive
- Choose how many characters of surrounding context to show before/after each match
- Results — including date, opinion type, docket number, judge, and taxpayer name for plain-text searches — are written to a text file that opens automatically when the search finishes
Installation
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
uv tool install tax-court-opinion-search
tc-search
The first command installs uv, a fast Python package/tool manager. Already have Python set up your own way? pip install tax-court-opinion-search works too, as long as tc-search ends up on your PATH.
The first time tc-search runs, it automatically downloads the opinion dataset (~180MB) from Hugging Face. That download only happens once — new opinions are added to the dataset monthly, but tc-search won't pick them up on its own. Run tax-court-opinion-search download-data any time to pull the latest version.
Usage
Fill in exactly one of the two search fields, then press Enter or click Search:
- Regex Pattern — a standard Python regular expression, matched against each opinion's text.
- Search Term(s) — one or more words to match, without regex syntax:
- Every term must be present in an opinion for it to match (AND logic).
- Wrap multiple words in quotes (e.g.
"innocent spouse") to require that exact sequence. - Prefix a term with
-(e.g.-partnership) to exclude opinions containing it.
Use the Number of characters before/after fields to control how much surrounding context is shown around each match (300 characters on each side by default).
When the search finishes, the results file opens automatically. It's also saved under your user data folder (e.g. %LOCALAPPDATA%\tax_court_opinion_search\tax_court_opinion_search\output\results.txt on Windows) if you want to find it again later.
Data
The dataset lives on Hugging Face and contains the text of 14,789 Tax Court opinions, with new opinions added monthly. The Tax Court publishes opinions as PDFs; these were converted to text and compiled into a single parquet file, with one row per opinion including its date, opinion type, number of pages, docket number, judge, taxpayer's name, and full text.
Older opinions were converted using OCR, and text for opinions from 2009–2012 in particular is less accurate than other years.
License
Metadata
Release files for tax-court-opinion-search 0.1.9
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 | Actions |
|---|---|---|---|---|
| tax_court_opinion_search-0.1.9.tar.gz | 57.1 kB | Without provenance | Details for tax_court_opinion_search-0.1.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tax_court_opinion_search-0.1.9-py3-none-any.whl | Python 3 | none | any | Details for tax_court_opinion_search-0.1.9-py3-none-any.whl |
Total release size: 64.4 kB
Release files / tax_court_opinion_search-0.1.9.tar.gz
| Download URL | tax_court_opinion_search-0.1.9.tar.gz |
|---|---|
| Size | 57.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3365308a874b07df010f7e1d25a165078b99cae3b831d52caf60156dd91421a2
|
|
BLAKE2b-256 checksum How to use checksums |
a6b6d20fca159bfd0d33843473e3dc7ef2c00e44d47d5ce0b0f319817c595719
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / tax_court_opinion_search-0.1.9-py3-none-any.whl
| Download URL | tax_court_opinion_search-0.1.9-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6aa699a1c00089b84aefbf09f5062be72b87a0c1c2eefef7dc8cc09aa4b67f18
|
|
BLAKE2b-256 checksum How to use checksums |
b092b44a32a7cb7ed48dd7373df34053b29c560f49f9819a6693cbb10571642f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.25 {"installer":{"name":"uv","version":"0.11.25","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for tax-court-opinion-search 0.1.9
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.