DigiKeyFetch
Tiny tool for scraping essential data needed for generating BOM
Install / Use
/learn @SasaKaranovic/DigiKeyFetchREADME
DigiKey Fetch Tool

Check it out on SasaKaranovic.com/projects/digikey-fetch-tool/
If task is manual and you repeat it often, it should be automated! While working on new designs, you often find yourself in a position when you need to create new schematic symbols and/or provide information for their BoM entries. For that you would usually copy-paste information from a supplier website into your eCAD software. This is one of those tasks that should be automated. I've created a DigiKey fetch tool. As the name suggest, this script will prompt you for DigiKey URL and then it will fetch information about the part. But the most useful feature is keyboard shortcuts that work anywhere. You can use shortcuts like CTRL+1, CTRL+2... etc. and the script will Copy&Paste fetched information.
How does it work?
You run python script, enter DigiKey URL of the part you want to get data from.
Script will open the URL, parse data and fetch information such as Manufacturer, Manufacturer Part Number, DigiKey number and Description.
Shortly you should see fetched information that you can use with assigned shortcuts (CTRL+1, CTRL+2 etc). Now your can either copy&paste this data into clipboard or have the script emulate keystrokes so it will automatically populate fields for you. Hopefully this speeds up your workflow! :)
It's simple, and it works. I like it and it saves me a ton o time and I hope it does the same for you. That's why I'm sharing it as open-source project and you are free to use or modify the code as you please.
Running the script and optional flags
You can run the script by running Fetch.py. The script should run and ask you to provide first URL.
Once you are done you can use CTRL+0 shortcut to fetch data from another URL. This way you do not have to restart the script.
This script has an option to copy the data into your clipboard and also emulate keystrokes (type in the data for you).
You can disable keystroke emulation by running the script with -k, or disable copying to clipboard by running the script with -c
You can also provide the URL to fetch the data from by running the script with -u URL flag and URL you want the script to start with.
Python Requirements
Script is written for Python 3 but should easily be ported to any other Python version.
Using Pip, you can install all dependencies using pip install -r requirements.txt
Suggestions and room for improvement
If task is manual and you repeat it often, it should be automated! This is a quick and dirty script that I needed and ended up creating to fit my workflow. Feel free to use it or modify as you see fit.
This script is not running a "production grade" code. With that said, code could use some optimization as well as some additional features.
I would love to hear how you use it, what do you like and what features would you like to see added next.
Support the project
Find out more cool projects
Find more cool projects on my website.
Also feel free to follow me on social media: SasaKaranovic.com - YouTube - Facebook - Twitter - LinkedIn
Related Skills
node-connect
344.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
99.2kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
99.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
344.4kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
