Kicost is amazing tool, but for me it didn't work!


KiCost would require proper internationalization to use Euros instead of USD. I don’t have the expertise or interest to do that. I suppose you could also hack the web scrapers for each distributor to do that.

The web scraper for RS was written by someone else. I suppose the problem is that it can’t find the quantity pricing info on some of the RS web pages. The page formatting is not particularly uniform, so that’s not surprising.


Great time saver tool! Worked as soon I installed WinPython and also wxPython in Windows7.
I noticed it does not get results from Farnell when I use a manufacturer part number found @ Farnell … I get results from the rest of the distributors for the same part however. Anyone noticed that? Or it is me doing something wrong?


Hi @iahim67. Did you install by pip or easy_install using the pypi repository? (
I propose you to install by the last code version on GitHub pip install -U git+ (or replace manually the files), we have been fixed a lot of issues related with user experience and web distributors.
Soon this version will be automatically on pip.

If still not working, please open a issue in


Hi @hildogjr, I installed by easy_install but I will try as you suggested and see how it works - thanks.
Do I need to unistall the KiCost version installed by easy_install first? Or just pip install -U git+


No, the -U in pip install -U means upgrade. I never used easy_install. I think pip use easy_install internally and allow more (for example here, install from GitHub).


Let me know if worked. On Windows I already installed from Git, but on Python3, not in Py2.


I need to install git first … and learn how to use it :smiley:
Is it possible to change the files by hand? Which files do I need to replace in this case?


Yes, download the files here and replace the kicost folder on your Python directory (is exactly this that the command does).


I just did as you told me: replaced the kicost folder - nothing else.
There was a change as I noticed I had to install pycountry for kicost to work.
After installing pycountry I ran kicost but still no results from Farnell.
I expect kicost to find ERA6ARB102V at Farnell (ERA6ARB102V - SMD Chip Resistor, 1 kohm, ERA6A Series, 100 V, Metal Film, 0805) under the 1717624 ordering code.
Of course KiCost does find this resistor at Digikey, Mouser … etc. but I’m curious why Farnel does not work, as I have tried other resistors as well (or capacitors).


pycountry is used now (beta feature) to adjust the country of each site (only on Digikey for now). In the future the KiCost will get price in your currency, if possible.

Please, create a issue on relating this.


OK @hildogjr, I would like to test Farnell with few more parts, then I will create an issue providing details and examples. Thank you so far!