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.0.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.0-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tax_authorities-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 3d5efd48298237c8becea2cd5aa6e1547dbbbc1a8f0943d00f77bba21f4f3e1b
MD5 3cea2488aa464542d95af3b9d112d366
BLAKE2b-256 e9d340726f0fb383e04b994e4f036dc60c7806d045b89706523dae45151ed290

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tax_authorities-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14f405c7b4b565bf1ac3dfddfb13a1b3f5d338801e8e9957519163dcee308078
MD5 771357946b0d0e501f6feb8b412c6522
BLAKE2b-256 2c2f828ba4234305ae923623a09edfcef311d61a7bdf56fe60cb7012482607cb

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.1

2 files

This release

0.1.0 This release

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