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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tax_authorities-0.1.1.tar.gz (62.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tax_authorities-0.1.1-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file tax_authorities-0.1.1.tar.gz.

File metadata

  • Download URL: tax_authorities-0.1.1.tar.gz
  • Upload date:
  • Size: 62.3 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for tax_authorities-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f9085573a1a7d3dd7044eccccba1f4205da5d5b48388f15821efbe92edefeb69
MD5 17d8503898c8e00a499df7d77bb07879
BLAKE2b-256 4e9e33f4135917136462e7dbe7172b8c532146b821d29ecc12adee7a6a20e1a6

See more details on using hashes here.

File details

Details for the file tax_authorities-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tax_authorities-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.2 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for tax_authorities-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad5d212e2659c07e55f520c407e4b2d4305ad0fc56e9a594584dc35275fe64e0
MD5 5478d982ec9fcef6d5c4a0ea2769bcba
BLAKE2b-256 c1582439191cd3f6554c87a73146ddf6fe258e509ba8889bf3adc8be29f7b715

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 files

0.1.0

2 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