CLI price search for electronic circuit components
Digiprice provides instant price quotes from Digi-Key, the world's largest catalog of electronic components.
When designing mass-produced electronics, it pays to be price conscious. Every penny you shave off materials costs could equate to thousands of dollars saved annually.
Digiprice is fast and effortless. The intention is for engineers to leverage its convenience to more proactively compare prices and design with cost mindfulness.
This tool relies on the exemplary Octopart API. If you've automated the use of this tool and are performing many searches, please register your own API key with Octopart. Set this in Digiprice with the --apikey flag.
- Clone this repository (or download it)
$ git clone https://github.com/raykamp/digiprice
- Install in /usr/local/bin
$ sudo cp ./digiprice/digiprice.py /usr/local/bin/digiprice
- Make digiprice an executable
$ sudo chmod +x /usr/local/bin/digiprice
$ digiprice NE555
NE555PSR $0.07750 @ 100k
$ digiprice NE555PWR --strict
NE555PWR $0.07750 @ 100k
$ digiprice NE555DR NSR0530HT1G CC2640R2FRGZT --strict
NE555DR $0.08680 @ 12k
NSR0530HT1G $0.01536 @ 150k
CC2640R2FRGZT $4.18660 @ 100
$ digiprice --help