Usage Mode: Command-Line Interface
The CLI tool allows you to perform fast downloads of tender indexes and details directly to disk. The main entry command is pyproc.
Common Subcommands
| Command | Shorthand | Description |
|---|---|---|
pyproc spse <host> |
pyproc <host> |
Download tender lists from an LPSE host (e.g. kemenkeu) and save as CSV. |
pyproc daftarlpse |
- | Export the complete list of available LPSE units gathered from Gist metadata. |
pyproc masterklpd |
- | Query Ministry/Institution/Regional Appointed Agency (K/L/PD) codes. |
pyproc satudata |
- | Access fallback/curated government API endpoints from LKPP ISB Satu Data. |
Argument Details (for pyproc spse / LPSE commands)
| Argument | Default | Description |
|---|---|---|
-k, --keyword |
"" |
Filter tenders by a specific keyword. |
-t, --tahun-anggaran |
Current Year | Budget year (comma-separated or range e.g. 2024,2025). |
--jenis-paket |
tender |
Type of packet: tender, non_tender, pencatatan_non_tender, swakelola, darurat. |
-o, --output-format |
csv |
Output format: csv or json. |
-r, --resume |
False |
Resume downloads that previously failed. |
Multi-Host Download
You can comma-separate hosts to download concurrently: pyproc spse jakarta,kemenkeu,sumbarprov