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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7ea46ce87db83b884a6d2d9eb7636a7d754cc033d5732448cb2c550afd8bb907
|
|
| MD5 |
50ead13337723371bae38bd6e04ec4d3
|
|
| BLAKE2b-256 |
af9d8023acefad2a2952b06fe6f897da1aa8017ff43503c8c95d1947443864c2
|
File details
Details for the file fedcontracts_cli-0.1.1-py3-none-any.whl.
File metadata
- Download URL: fedcontracts_cli-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2526bf638f6250b348690bbf76e6830536cac3798db1d2eecb67f2887ee6deee
|
|
| MD5 |
666fbfbd9c3ba6d909be897ae1b71b52
|
|
| BLAKE2b-256 |
70f99280c8d1c2a29ac5076aba825a5f2ce8d375b606126647d8deae5cb3d434
|