Skip to main content

Tax Authorities

A small desktop GUI for searching the full text of U.S. Tax Court opinions, IRS revenue rulings (also covering Notices, Announcements, and Revenue Procedures), and IRS private letter rulings / written determinations — no coding required.

Features

  • Search across all three datasets at once, or toggle any combination off with checkboxes
  • Plain-text search supports multiple terms (AND logic), "quoted phrases" for exact word sequences, and a -term prefix to exclude documents containing that term
  • Full regex pattern search as an alternative to plain text
  • Matching is case-insensitive
  • Choose how many characters of surrounding context to show before/after each match
  • Results 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-authorities
tax-auth

The first command installs uv, a fast Python package/tool manager. Already have Python set up your own way? pip install tax-authorities works too, as long as tax-auth ends up on your PATH.

The first time tax-auth runs, it automatically downloads all three datasets from Hugging Face. That download only happens once — new documents are added to the datasets periodically, but tax-auth won't pick them up on its own. Run tax-authorities download-data any time to pull the latest versions of all three.

Usage

Fill in exactly one of the two search fields, then press Enter or click Search:

  • Search Term(s) — one or more words to match, without regex syntax:
    • Every term must be present in a document 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 documents containing it.
  • Regex Pattern — a standard Python regular expression, matched against each document's text.

Use the checkboxes to choose which of the three datasets to search: Tax Court Opinions, Revenue Rulings, and Private Letter Rulings. 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 if you want to find it again later.

Data

Three datasets, each hosted on Hugging Face:

These documents were originally published by the Tax Court and the IRS as PDFs, then converted to text and compiled into parquet files.

License

MIT

Metadata

Release files for tax-authorities 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tax-authorities 0.1.1
File Size Uploaded
tax_authorities-0.1.1.tar.gz 62.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tax-authorities 0.1.1
File Interpreter ABI Platform
tax_authorities-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 70.5 kB

Release files / tax_authorities-0.1.1.tar.gz

Download URL tax_authorities-0.1.1.tar.gz
Size 62.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f9085573a1a7d3dd7044eccccba1f4205da5d5b48388f15821efbe92edefeb69
BLAKE2b-256 checksum
How to use checksums
4e9e33f4135917136462e7dbe7172b8c532146b821d29ecc12adee7a6a20e1a6
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_authorities-0.1.1-py3-none-any.whl

Download URL tax_authorities-0.1.1-py3-none-any.whl
Size 8.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad5d212e2659c07e55f520c407e4b2d4305ad0fc56e9a594584dc35275fe64e0
BLAKE2b-256 checksum
How to use checksums
c1582439191cd3f6554c87a73146ddf6fe258e509ba8889bf3adc8be29f7b715
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 history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page