dasbasti / lcsc2kicad Goto Github PK
View Code? Open in Web Editor NEWGenerate KiCAD Part Libraries based on LCSC PCBA database
Generate KiCAD Part Libraries based on LCSC PCBA database
I seem to have run into a UnicodeEncodeError while trying to run this. Any ideas?
load: DCM template
load: templates\Aluminum Electrolytic Capacitors - SMD.lib
load: templates\Beads.lib
load: templates\Chip Resistor - Surface Mount.lib
load: templates\EEPROM.lib
load: templates\Ferrite Beads.lib
load: templates\HF Inductors.lib
load: templates\Inductors SMD.lib
load: templates\Light Emitting Diodes LED.lib
load: templates\Multilayer Ceramic Capacitors MLCC - SMDSMT.lib
load: templates\Schottky Barrier Diodes SBD.lib
load: templates\Switching Diode.lib
load: templates\Tantalum Capacitors.lib
load: templates\TVS.lib
load: templates\Zener Diodes.lib
fetch file from JLCPCB
parsing data. This might take a while!
Library: Resistors
Group: Resistor Networks & Arrays
Group: Chip Resistor - Surface Mount
Group: Low Resistors & Current Sense Resistors - Surface Mount
Group: Varistors
Group: NTC Thermistors
Group: Metal Alloy Resistors
Group: High Precision & Low TCR SMD Resistors
Group: Variable Resistors
Group: High Voltage Resistor
Group: LED Strip Resistors
Group: Potentiometers & Variable Resistors
Group: Precision Potentiometer
Group: Wirewound Resistors
Traceback (most recent call last):
File ".\generate.py", line 82, in <module>
l.write(lib_str)
File "C:\Users\Archie\AppData\Local\Programs\Python\Python38-32\lib\encodings\cp1252.py", line 19, in encode
return codecs.charmap_encode(input,self.errors,encoding_table)[0]
UnicodeEncodeError: 'charmap' codec can't encode character '\u03a9' in position 3082810: character maps to <undefined>
It seems that the https://jlcpcb.com/componentSearch/uploadComponentInfo URL doesn't work anymore?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.