Skip to main content

us-restricted-parties (Python loader)

Loads the US Restricted Parties feed: five US government lists that are not in the trade.gov Consolidated Screening List (DoD 1260H with every named subsidiary, Section 889, the FCC Covered List, the DHS UFLPA Entity List, interim BIOSECURE), rebuilt every day from the official sources, plus the derived affiliates (companies those parties own 50 percent or more, with proof paths). One standard-library module, Python 3.9+, typed, no dependencies.

pip install "us-restricted-parties @ https://github.com/Mattbusel/us-restricted-parties/releases/download/v0.7.0/us_restricted_parties-0.7.0-py3-none-any.whl"

(pip install us-restricted-parties once the package is on PyPI. Or copy src/us_restricted_parties/__init__.py into your project as us_restricted_parties.py.)

from us_restricted_parties import latest_release, load, names, verdicts

tag = latest_release()                                    # "data-2026-11-18": keep it with your results
for rec in load("us_dhs_uflpa", release=tag, verify=True, cache_dir=".urp-cache"):
    print(rec["RECORD_ID"], names(rec), rec["SOURCE_URL"])
for rec in load("affiliates.covered", release=tag, verify=True, cache_dir=".urp-cache"):
    print(rec["NAME_ORG"], verdicts(rec))                 # {"ofac-50": "definitely", ...}
  • release pins a data release (data-YYYY-MM-DD[-HHMM]); releases are never deleted, so the bytes never change.
  • verify=True checks each file against the SHA-256 in the same release's manifest.json.
  • cache_dir keeps a release's files on disk, so a service reads GitHub once per release, not once per start.
  • us-restricted-parties --format csv or --format ftm converts to CSV or FollowTheMoney.

Code MIT; data CC BY 4.0 ("US Restricted Parties feed by Tensorust LLC"). Results are evidence for a compliance review, not a legal determination. Docs: integration, lists and fields, maintenance.

Check that a screening tool actually has every US restricted list, current and with names (exit 1 when not):

us-restricted-parties coverage path/to/screening-tool

See docs/coverage.md and the GitHub Action Mattbusel/us-restricted-parties@v0.7.0.

Metadata

Release files for us-restricted-parties 0.7.0

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

Source distribution (sdist)

Source distribution for us-restricted-parties 0.7.0
File Size Uploaded Provenance Actions
us_restricted_parties-0.7.0.tar.gz 35.4 kB With provenance Details for us_restricted_parties-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for us-restricted-parties 0.7.0
File Interpreter ABI Platform Actions
us_restricted_parties-0.7.0-py3-none-any.whl Python 3 none any Details for us_restricted_parties-0.7.0-py3-none-any.whl

Total release size: 61.4 kB

Release files / us_restricted_parties-0.7.0.tar.gz

Download URL us_restricted_parties-0.7.0.tar.gz
Size 35.4 kB
Tags Source
SHA-256 checksum
How to use checksums
37e6651efc24ba6dba181f1c109818df3ff37622e3e8cc9d68eb7b7af57fcf64
BLAKE2b-256 checksum
How to use checksums
ae52f567ac48dbd14f1fb4b4aed8b5a0d25263c55aa0171537b576c739cc0ace
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / us_restricted_parties-0.7.0-py3-none-any.whl

Download URL us_restricted_parties-0.7.0-py3-none-any.whl
Size 25.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a6caaf7d286d0fd25391cd4681786b0bae24483dd24fa9f4b48d655333f5e963
BLAKE2b-256 checksum
How to use checksums
be828de04c8f639cc15714d240b2c1933fa3574e8ab67c5a1b96e7b98ffddda4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for us-restricted-parties 0.7.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for us_restricted_parties-0.7.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files Full provenance

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