Skip to main content

Search US federal contracts from your terminal — powered by USASpending.gov data, updated nightly

Project description

fedcontracts-cli

Search US federal contracts from your terminal.

Install

pip install fedcontracts-cli

Setup

Get a free API key at RapidAPI (50 requests/day free).

fedcontracts config --api-key YOUR_RAPIDAPI_KEY

Usage

fedcontracts search                                    # keyword search
fedcontracts search --naics 541511 --min-amount 1000000
fedcontracts search --date-from 2026-03-01 --date-to 2026-03-28
fedcontracts search --agency 097 --export dod.csv
fedcontracts by-date 2026-03-24                        # all contracts on a date
fedcontracts get AWARD_ID                              # single contract detail
fedcontracts status                                    # API health check

Data source

US federal contract awards via USASpending.gov. Updated nightly. Powered by the GovSpend API on govspendapi.com.

Project details


Download files

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

Source Distribution

fedcontracts_cli-0.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

fedcontracts_cli-0.1.1-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fedcontracts_cli-0.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fedcontracts_cli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7ea46ce87db83b884a6d2d9eb7636a7d754cc033d5732448cb2c550afd8bb907
MD5 50ead13337723371bae38bd6e04ec4d3
BLAKE2b-256 af9d8023acefad2a2952b06fe6f897da1aa8017ff43503c8c95d1947443864c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fedcontracts_cli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2526bf638f6250b348690bbf76e6830536cac3798db1d2eecb67f2887ee6deee
MD5 666fbfbd9c3ba6d909be897ae1b71b52
BLAKE2b-256 70f99280c8d1c2a29ac5076aba825a5f2ce8d375b606126647d8deae5cb3d434

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page